Authorization: Bearer ********************
{
"pageLength": 10,
"dealStageIds": [
1
],
"keyword": "string",
"skip": 3,
"orderBy": "string"
}
curl --location --request POST 'https://api.gofive.co.th/v1/deals/enquiry' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"pageLength": 10,
"dealStageIds": [
1
],
"keyword": "string",
"skip": 3,
"orderBy": "string"
}'
{
"data": {
"value": [
{
"lastDealsState": {
"stateNameTH": "string",
"stateNameEN": "string"
},
"labelName": "string",
"isEdit": true,
"dealsId": 1,
"dealNo": "string",
"dealsName": "string",
"customerId": 1,
"customerName": "string",
"customerCode": "string",
"dealsValue": 456,
"statusId": 1,
"statusName": "string",
"notes": "string",
"dealQuantity": 456,
"quantity": 456,
"dealMeasure": 3,
"dealMeasureUnit": {
"unitId": 3,
"name": "ด้าม",
"companyId": 1,
"isActive": true,
"createdByUserId": "string",
"dateCreated": "2019-12-11T11:09:01+0700",
"modifiedByUserId": "string",
"dateModified": "2019-12-11T11:09:01+0700"
},
"measure": 3,
"measureUnit": {
"unitId": 3,
"name": "ด้าม",
"companyId": 1,
"isActive": true,
"createdByUserId": "string",
"dateCreated": "2019-12-11T11:09:01+0700",
"modifiedByUserId": "string",
"dateModified": "2019-12-11T11:09:01+0700"
},
"probability": 100,
"assignToUserId": "string",
"assignToUser": {
"userId": "string",
"fullname": "string",
"dateCreated": "2018-11-05T10:13:59+0700",
"dateModified": "2023-01-13T10:26:26+0700",
"level": 0
},
"dealsDate": "2023-01-17T13:22:52+0700",
"expectedCloseDate": "2023-01-17T13:22:52+0700",
"dateCreated": "2023-01-17T13:24:16+0700",
"createByUserId": "string",
"dateModified": "2023-01-17T15:18:36+0700",
"modifiedByUserId": "string",
"pictureUrl": "string"
}
],
"statusCode": 200
},
"statusCode": 1000,
"httpStatusCode": 200
}