Authorization: Bearer ********************{
"staffCodes": [
"string"
],
"customerCodes": [
"string"
],
"statusId": 0,
"dateStart": "string", //format "YYYY-MM-DD"
"dateEnd": "string" //format "YYYY-MM-DD"
}curl --location --request POST 'https://api.gofive.co.th/v1/tasks/enquiry' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"staffCodes": [
"string"
],
"customerCodes": [
"string"
],
"statusId": 0,
"dateStart": "string", //format "YYYY-MM-DD"
"dateEnd": "string" //format "YYYY-MM-DD"
}'{
"data": {
"value": {
"total": 0,
"data": [
{
"taskId": 0,
"subject": "string",
"dateDue": "2025-06-17T09:00:00+0700",
"customerId": 0,
"customerName": "string",
"statusId": 0,
"assignType": 0,
"ownerUserId": "string",
"owner": {
"userId": "string",
"firstname": "string",
"lastname": "string",
"fullname": "string",
"pictureUrl": "string"
},
"note": "string",
"dateCreated": "2025-10-29T10:28:42+0700",
"createdByUserId": "string",
"isActive": true
}
]
},
"statusCode": 200
},
"statusCode": 1000,
"httpStatusCode": 200
}