Authorization: ********************{
"companyName": "string",
"achievementName": "string",
"receiverEmployeeNo": [
"string"
],
"description": "string",
"isOfferToken": true,
"offerTokenName": "string",
"offerTokenAmount": 0,
"isOfferReward": true,
"offerRewardName": "string",
"attachments": [
{
"engageTransactionId": 0,
"attachmentNo": 0,
"attachmentMimeType": "string",
"attachmentFilename": "string",
"attachmentSize": 0,
"attachmentURL": "string",
"attachmentThumbnailURL": "string"
}
]
}curl --location --request POST 'https://api.gofive.co.th/api/v1/achievements/award-document' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"companyName": "string",
"achievementName": "string",
"receiverEmployeeNo": [
"string"
],
"description": "string",
"isOfferToken": true,
"offerTokenName": "string",
"offerTokenAmount": 0,
"isOfferReward": true,
"offerRewardName": "string",
"attachments": [
{
"engageTransactionId": 0,
"attachmentNo": 0,
"attachmentMimeType": "string",
"attachmentFilename": "string",
"attachmentSize": 0,
"attachmentURL": "string",
"attachmentThumbnailURL": "string"
}
]
}'{
"statusCode": 0,
"message": "string",
"error": "string",
"errorList": {
"docNo": "string",
"documentStatus": 0,
"totalReceivers": 0
},
"totals": 0,
"data": {
"docNo": "string",
"documentStatus": 0,
"totalReceivers": 0
}
}