curl --location --request POST 'https://api.veniocrm.com/dev/v1/Customers/Enquiry' \
--header 'Ocp-Apim-Subscription-Key: <Your Subscription-Key>'\
--header 'Authorization: Bearer <Your access_token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customerType": 11100,
"latitude": 0.0,
"longitude": 0.0,
"distanceLimit": 0.0,
"states": 0,
"actionStates": 0,
"ownerTeams": 0,
"displayColumns": [
"string"
],
"topicInterests": [
0
],
"owners": [
"string"
],
"classifications": [
0
],
"groups": [
0
],
"statuses": [
true
],
"probabilities": [
0
],
"pageLength": 0,
"skip": 0,
"orderBy": "string",
"keyword": "string"
}'
{
"data": {
"value": [
{
"customerId": xxxx,
"customerName": string,
"owners": [],
"topicInterests": [
{
"topicId": x,
"topicName": string
}
],
"latestUpdateByUser": string,
"latestUpdateType": string,
"dateLatestUpdated": DateTime,
"activityStats": [
{
"type": string
}
],
"pictureUrl": "Customer/xxxx/Thumbnail?v=xxxxxxxxxxxx",
"uniqueName": string,
"dateAcquired": xxxx,
"leadState": x,
"currentStateId": xxxxx,
"currentStateName": string
}
],
"formatters": [],
"statusCode": 200
},
"statusCode": 1000,
"httpStatusCode": 200
}