Search Contacts
Changed onEndpoint to search Contacts using filtering parameters.
Request
- Base URLhttps://api.soldo.com
- AuthOAuth 2Client credentialsToken URLhttps://api.soldo.com/oauth/authorizeScopescontact_read
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
The status to search Contacts by. Multiple values are allowed. If omitted, Contacts in both CREATED and SUGGESTED status are returned.
The name to search Contacts by. Multiple values are allowed.
[ "John Doe" ]
The type to search Contacts by. Multiple values are allowed.
The ISO 3166-1 alpha-3 code of the country to search Contacts by. Multiple values are allowed.
The ID of the User the Contact is assigned to, to search Contacts by (only Contacts of type EMPLOYEE are assigned to a User). Multiple values are allowed.
[ "XMPL1234-000001" ]
It indicates the specific page to display (the counter starts from zero).
It indicates the number of items per page.
It indicates how the pages are ordered.
It indicates the sorting direction applied to the above parameters. To apply a sorting on multiple parameters, set as many times the props parameter in the request.
[ "creationTime" ]
Response
The returned result is a list of Contacts.
Example response
{
"total": 168,
"pages": 7,
"page_size": 25,
"results_size": 25,
"results": [
{
"id": "7bf79328-a7ae-4222-aa54-091ff7f429a7",
"name": "John Doe",
"user_id": "XMPL1234-000001",
"account_info": [
{
"identification": "GB00ABCD00000123456789"
}
],
"bic": "UNCRITMMXXX",
"creation_time": "2017-06-01T12:48:40Z",
"last_update_time": "2017-06-01T12:48:40Z",
"validation": {
"field": "name",
"current_value": "JAMES ADAN",
"suggested_value": "JAMES ADAM"
}
}
]
}Changes
- info
added the optional property
//to the response with the status
- info
- warning
added the new
QZZenum value to the//response property for the response status - info
added the enum value
QZZto the propertyitems/of thequeryrequest parametercountries - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- warning