Authorization: Bearer ********************
{
"customerType": 11100,
"latitude": 0,
"longitude": 0,
"distanceLimit": 0,
"states": 0,
"actionStates": 0,
"ownerTeams": 0,
"displayColumns": [
"string"
],
"topicInterests": [
0
],
"owners": [
"string"
],
"primaryOwner": "string",
"classifications": [
0
],
"groups": [
0
],
"statuses": [
true
],
"probabilities": [
0
],
"pageLength": 0,
"skip": 0,
"orderBy": "string",
"keyword": "string"
}
curl --location --request POST 'https://api.gofive.co.th/v1/customers/enquiry' \
--header 'Ocp-Apim-Subscription-Key: <Your-Subscription-Key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"customerType": 11100,
"latitude": 0,
"longitude": 0,
"distanceLimit": 0,
"states": 0,
"actionStates": 0,
"ownerTeams": 0,
"displayColumns": [
"string"
],
"topicInterests": [
0
],
"owners": [
"string"
],
"primaryOwner": "string",
"classifications": [
0
],
"groups": [
0
],
"statuses": [
true
],
"probabilities": [
0
],
"pageLength": 0,
"skip": 0,
"orderBy": "string",
"keyword": "string"
}'
{
"data": {
"value": [
{
"customerId": 1,
"customerName": "string",
"owners": [
{
"id": "string",
"title": "string",
"teamId": 1,
"pictureUrl": "string"
}
],
"topicInterests": [
{
"topicId": 1,
"topicName": "string"
},
{
"topicId": 2,
"topicName": "string"
},
{
"topicId": 3,
"topicName": "string"
}
],
"latestUpdateByUser": "string",
"latestUpdateType": "string",
"dateLatestUpdated": "2022-11-21T15:51:26+0700",
"activityStats": [
{
"type": "0"
},
{
"type": "0"
}
],
"onGoingStats": [
{
"type": "0"
},
{
"type": "0"
},
{
"type": "0"
},
{
"type": "0"
}
],
"thisYearStats": [
{
"type": "0"
},
{
"type": "0"
}
],
"pictureUrl": "string",
"uniqueName": "string",
"dateAcquired": 1,
"sourceOfLead": "string",
"currentStateId": 1,
"currentStateName": "string"
}
],
"statusCode": 200
},
"statusCode": 1000,
"httpStatusCode": 200
}