curl --location -g --request POST 'https://api.veniocrm.com/dev/v1/Deals/Enquiry' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscription-Key>' \
--header 'Authorization: Bearer <Your access_token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"dealStageIds": [
0
],
"pageLength": 0,
"skip": 0,
"orderBy": "string",
"keyword": "string"
}'
{
"data": {
"value": [
{
"dealsId": 0,
"dealNo": "string",
"dealsName": "string",
"customerId": 0,
"customerName": "string",
"customerCode": "string",
"dealsValue": 0,
"statusId": 0,
"statusName": "string",
"dealStageId": 0,
"dealStageName": "string",
"notes": "string",
"dealQuantity": 0,
"quantity": 0,
"dealMeasure": 0,
"dealMeasureUnit": {
"unitId": 0,
"name": "string",
"companyId": 0,
"isActive": true,
"createdByUserId": "string",
"dateCreated": "2021-09-17T06:57:39.734Z",
"modifiedByUserId": "string",
"dateModified": "2021-09-17T06:57:39.734Z"
},
"measure": 0,
"measureUnit": {
"unitId": 0,
"name": "string",
"companyId": 0,
"isActive": true,
"createdByUserId": "string",
"dateCreated": "2021-09-17T06:57:39.734Z",
"modifiedByUserId": "string",
"dateModified": "2021-09-17T06:57:39.734Z"
},
"probability": 0,
"assignToUserId": "string",
"assignToUser": {},
"dealsDate": "2021-09-17T06:57:39.734Z",
"expectedCloseDate": "2021-09-17T06:57:39.734Z",
"closeDate": "2021-09-17T06:57:39.734Z",
"dateFollowUp": "2021-09-17T06:57:39.734Z",
"followUpNotes": "string",
"dateCreated": "2021-09-17T06:57:39.734Z",
"createByUserId": "string",
"dateModified": "2021-09-17T06:57:39.734Z",
"dealIndex": 0,
"modifiedByUserId": "string",
"modifiedByUser": {},
"pictureUrl": "string",
"recently": "string",
"lastDealsState": {
"stateNameTH": "string",
"stateNameEN": "string"
},
"labelName": "string",
"isEdit": true,
"orderId": 0,
"saleOrderId": 0,
"calTargetDate": "2021-09-17T06:57:39.734Z"
}
],
"formatters": [],
"statusCode": 200
},
"statusCode": 1000,
"httpStatusCode": 200
}