{
"CompanyName": "Gofive",
"FromEmployeeRefId": "EMP001",
"ToEmployeeRefId": "EMP002",
"DateSwapFrom": "2025-06-12",
"DateSwapTo": "2025-06-20",
"Description": "Requesting shift swap due to a personal emergency."
}
curl --location --request POST 'https://api.gofive.co.th/empeo/api/v1/employees/swap-shifts' \
--header 'Authorization: ' \
--header 'Ocp-Apim-Subscription-Key: ' \
--header 'Content-Type: application/json' \
--data-raw '{
"CompanyName": "Gofive",
"FromEmployeeRefId": "EMP001",
"ToEmployeeRefId": "EMP002",
"DateSwapFrom": "2025-06-12",
"DateSwapTo": "2025-06-20",
"Description": "Requesting shift swap due to a personal emergency."
}'
{
"status": {
"code": "1000",
"description": "Success!"
},
"data": {
"message": "Saved successfully.",
"result": true
}
}