MyCustomers
Interface
It allows you:
to list customers from an existing service representative
Prerequisites:
In order to use this Api Method there must be accomplished the following requirements in SocrateCloud:
to have the customer created in SocrateCloud
customer location must be active and set for delivery
Columns that can be used as filters:
Representative_ID
RepresentativeEmail - mandatory
RepresentativeSalesRegionValue
RepresentativeSalesRegion
BPartner_ID
BPartnerValue
BPartner
BPartnerLocation_ID
BPartnerLocationCounty
BPartnerSalesRegionValue
Actions can be done:
list
{
"data": [
{
"Representative_ID": -1,
"RepresentativeEmail": "someemail@somedomain.ro",
"RepresentativeName": "Representative Name",
"RepresentativeSalesRegionValue": null,
"RepresentativeSalesRegion": null,
"BPartner_ID": -1,
"BPartnerValue": "Client Value",
"BPartner": "Client Name",
"BPartnerLocation_ID": -1,
"BPartnerLocationName": null,,
"BPartnerLocationDescription": null,
"BPartnerLocationAddress": null,
"BPartnerLocationCity": "null,,
"BPartnerLocationCounty": null,,
"BPartnerSalesRegionValue": null,,
"BPartnerSalesRegion": null,
}
],
"totalRows": 1
}
List header only:
URL: https://api.socratecloud.com/webapi/rest/my_customers/list/{version}?startRow={0}&endRow={100}&accessToken={access_token}
Method: GET
Available filter parameters:
Representative_ID
RepresentativeEmail - mandatory
RepresentativeSalesRegionValue
RepresentativeSalesRegion
BPartner_ID
BPartnerValue
BPartner
BPartnerLocation_ID
BPartnerLocationCounty
BPartnerSalesRegionValue
Return: JSON object with next format: