Retrieves a list of Customers. A filter can be applied (see the request sample).
You can choose fields to be returned in the response by employing the resultFields
or valueFields
filter:
resultFields: returns key-value pairs as objects. This is the more friendly response compared to valueFields but the server fetches all fields from the database in the backend which might result in a slower performance. See the listCustomersResponseExample_resultFields response example.
valueFields: returns just an array of values. Use this option if a better performance is required. See the listCustomersResponseExample_valueFields response example.
Returns customer record details.
object or object | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Any of:
|
{- "endRow": 300,
- "oldValues": null,
- "operationType": "fetch",
- "startRow": 0,
- "textMatchStyle": "exact",
- "data": {
- "_constructor": "AdvancedCriteria",
- "operator": "and",
- "criteria": [
- {
- "fieldName": "attribute2",
- "operator": "iEquals",
- "value": "123456789"
}
]
}
}
{- "response": {
- "node": "string",
- "data": [
- {
- "createDate": "2019-08-24T14:15:22Z",
- "createdBy": 0,
- "customerId": "string",
- "isParent": true,
- "lastUpdateBy": 0,
- "lastUpdateDate": "2019-08-24T14:15:22Z",
- "name": "string",
- "nodeId": 0,
- "parentId": 0,
- "typedId": "string",
- "userGroupEdit": "string",
- "userGroupViewDetails": "string",
- "version": 0,
- "attribute1": "string",
- "attribute2": "string",
- "attribute3": "string",
- "attribute4": "string",
- "attribute5": "string",
- "attribute6": "string",
- "attribute7": "string",
- "attribute8": "string",
- "attribute9": "string",
- "attribute10": "string",
- "attribute11": "string",
- "attribute12": "string",
- "attribute13": "string",
- "attribute14": "string",
- "attribute15": "string",
- "attribute16": "string",
- "attribute17": "string",
- "attribute18": "string",
- "attribute19": "string",
- "attribute20": "string",
- "attribute21": "string",
- "attribute22": "string",
- "attribute23": "string",
- "attribute24": "string",
- "attribute25": "string",
- "attribute26": "string",
- "attribute27": "string",
- "attribute28": "string",
- "attribute29": "string",
- "attribute30": "string"
}
], - "status": 0
}
}