Authorization: Bearer ********************
{
"staffCodes": [
"string"
],
"customerCodes": [
"string"
],
"dateStart": "string",//format "YYYY-MM-DD"
"dateEnd": "string"//format "YYYY-MM-DD"
}
curl --location --request POST 'https://api.gofive.co.th/v1/activities/enquiry' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"staffCodes": [
"string"
],
"customerCodes": [
"string"
],
"dateStart": "string",//format "YYYY-MM-DD"
"dateEnd": "string"//format "YYYY-MM-DD"
}'
{
"data": {
"value": {
"data": [
{
"activityId": 0,
"userId": "string",
"groupId": 0,
"planStart": "string",
"planEnd": "string",
"dateStart": "string",
"dateEnd": "string",
"keyActivity": "string",
"staffName": "string",
"statusName": "string",
"statusId": 0,
"dateProfileModified": "string",
"customerId": 0,
"customerName": "string",
"subject": "string",
"createdBy": {
"userId": "string",
"username": "string",
"companyId": 1,
"companyName": "string",
"teamId": 1,
"teamName": "string",
"staffCode": "string",
"title": "string",
"firstname": "string",
"lastname": "string",
"fullname": "string",
"position": "string",
"email": "string",
"phoneNumber": "string",
"orgString": "string",
"orgLevel": 1,
"latitude": 0,
"longitude": 0,
"location": "string",
"locationName": "string",
"isActive": true,
"createdByUserId": "string",
"hasPicture": true,
"dateCreated": "2018-11-05T10:13:59+0700",
"dateModified": "2023-01-19T02:11:57+0700",
"role": "string",
"roleId": "string",
"siteId": 1,
"isAgreementPDPA": true,
"dateAgreementPDPA": "2020-08-26T07:13:22+0700",
"emailSubscription": 1,
"identityUserId": "string",
"uniqueName": "string",
"inAppSubscription": 1,
"userType": 1
},
"staffs": [
{
"userId": "string",
"username": "string",
"companyId": 1,
"companyName": "string",
"teamId": 1,
"teamName": "string",
"staffCode": "string",
"title": "string",
"firstname": "string",
"lastname": "string",
"fullname": "string",
"position": "string",
"email": "string",
"phoneNumber": "string",
"orgString": "string",
"orgLevel": 1,
"latitude": 0,
"longitude": 0,
"location": "string",
"locationName": "string",
"isActive": true,
"createdByUserId": "string",
"hasPicture": true,
"dateCreated": "2018-11-05T10:13:59+0700",
"dateModified": "2023-01-19T02:11:57+0700",
"role": "string",
"roleId": "string",
"siteId": 1,
"isAgreementPDPA": true,
"dateAgreementPDPA": "2020-08-26T07:13:22+0700",
"emailSubscription": 1,
"identityUserId": "string",
"uniqueName": "string",
"inAppSubscription": 1,
"userType": 1
}
]
}
]
},
"statusCode": 200
},
"statusCode": 1000,
"httpStatusCode": 200
}