Authorization: Bearer ********************
{
"contractNo": "string",
"contractServiceId": 37881,
"subject": "string",
"frequency": 260001,
"numberOfTimes": 1,
"agreementNote": null
}
curl --location --request POST 'https://api.gofive.co.th/v1/contract/service-agreement' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"contractNo": "string",
"contractServiceId": 37881,
"subject": "string",
"frequency": 260001,
"numberOfTimes": 1,
"agreementNote": null
}'
{
"status": {
"code": "1000",
"description": "Success"
},
"data": {
"contractServiceId": 37923,
"contractNo": "string",
"frequency": 260001,
"subject": "string",
"numberOfTimes": 1,
"activityServices": [
{
"title": "#1 string",
"dateStart": "2025-06-18T00:00:00+0700",
"dateEnd": "2026-06-17T00:00:00+0700"
},
{
"title": "#2 string",
"dateStart": "2026-06-18T00:00:00+0700",
"dateEnd": "2026-06-18T00:00:00+0700"
}
]
}
}