List Customers API
This API is used to list customer IDs and managers.
Inputs
The following values are expected in the JSON body:
Name | Type | Required | Description |
---|---|---|---|
command | String | Must be "client/listCustomers/1" |
Outputs
The JSON output will always contain the original command and a result. If the result > 0, an error has occurred (refer to Error Codes) and a message field will describe the error. If result = 0, the following is included in the response field:
Name | Type | Description |
---|---|---|
customerIds | String[] | Array of customer IDs. |
customerManagers | String[] | Array of names of customer managers. |
Example Command
{
command": "client/listCustomers/1"
}
Example Response
"response": {
"customerIds": [
"Acme 1234",
"Zipit"
],
"customerManagers": [
"Joe Blow",
"Michael K"
]
}