curl --location '/searchCustomers?url=&username=&password=' \
--header 'Content-Type: application/json' \
--data '{
"searchTerm": "Smith",
"pageNumber": 0,
"pageSize": 0,
"externalIdentities": {
"userId": "UserId51",
"dealerId": "DealerId51",
"workshopId": "WorkshopId51",
"areaId": "AreaId51",
"manufacturer": "manCode51"
}
}'{
"customers": [
{
"id": "string",
"externalId": "123456",
"salutation": "string",
"firstName": "string",
"lastName": "string",
"name": "string",
"taxSetting": {
"taxNumber": "string",
"taxOffice": "string"
},
"companyName": "string",
"emailAddresses": [
"string"
],
"phones": [
{
"type": "Mobile",
"number": "string"
}
],
"addresses": [
{
"lines": [
"string"
],
"locality": [
"string"
],
"region": "string",
"postcode": "string",
"country": "string",
"countryCode": "string",
"coordinates": {
"latitude": 0,
"longitude": 0
},
"type": "Mailing"
}
],
"references": [
{
"key": "string",
"value": "string"
}
],
"vehicleReferences": [
{
"vin": "string",
"registration": "string"
}
],
"orderReferences": [
{
"id": "string",
"externalId": "string"
}
]
}
],
"errors": [
{
"id": "8c8169dc-021f-42f3-aa72-8e2dd53c9db8",
"code": "123",
"description": "Cannot open a file or cannot obtain a lock on a file."
}
],
"pageNumber": 0,
"pageSize": 0,
"resultCount": 0
}