Authorization: Bearer ********************
{
"expenseTypeId": 1001,
"statusIds": [
"string"
],
"staffCodes": [
"string"
],
"searchText": "string",
"dateStart": "2021-09-17T10:42:31.981Z",
"dateEnd": "2021-09-17T10:42:31.981Z"
}
curl --location --request POST 'https://api.gofive.co.th/v1/expenses/enquiry' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"expenseTypeId": 1001,
"statusIds": [
"string"
],
"staffCodes": [
"string"
],
"searchText": "string",
"dateStart": "2021-09-17T10:42:31.981Z",
"dateEnd": "2021-09-17T10:42:31.981Z"
}'
{
"data": {
"value": [
{
"statusId": 0,
"statusName": "string",
"expenses": [
{
"expenseId": 0,
"expenseNo": "string",
"companyId": 0,
"teamId": 0,
"userId": "string",
"staffName": "string",
"orgString": "string",
"orgLevel": 0,
"role": "string",
"companyName": "string",
"teamName": "string",
"statusId": 0,
"statusName": "string",
"expenseTypeIds": "string",
"expenseTypeNames": "string",
"activityId": 0,
"dateActivity": "2021-09-17T10:44:12.359Z",
"keyActivityId": 0,
"keyActivity": "string",
"detailActivities": "string",
"contactNames": "string",
"customerId": 0,
"customerName": "string",
"customerAlias": "string",
"total": 0,
"dateCreated": "2021-09-17T10:44:12.359Z",
"dateTransaction": "2021-09-17T10:44:12.359Z",
"dateProfileModified": "2021-09-17T10:44:12.359Z",
"hasAttachment": true,
"remark": "string",
"dateApproved": "2021-09-17T10:44:12.359Z",
"approvedByUserId": "string",
"approvedByFullname": "string",
"waitingApproveByUserId": "string",
"dateCheckout": "2021-09-17T10:44:12.359Z",
"waitingApproveByRoleId": "string",
"reason": "string",
"subject": "string"
}
]
}
],
"statusCode": 200
},
"statusCode": 1000,
"httpStatusCode": 200
}