Skip to main content

Contacts

Get contacts​

This endpoint allows you to get all contacts with the attribute ecomm = true

URL : /contacts

Method :

Auth required : YES

Permissions required : No

Query parameters

None

Success Response​

Condition : If contacts are found.

Code : 200 OK

Content example

[
{
"dtAlterationDate": "1520416939000",
"dtEntryDate": "1511255659000",
"lngContactId": 101381,
"sDepartmentName": "2",
"sEmail": "awidmer@lobos.ch",
"sFirstName": "Alexander",
"sFormOfAdress": "Herr",
"sLastName": "Widmer",
"sMobilePhone": "",
"sPhone": "044 825 77 77",
"sPosition": "",
"shtInactive": null
},
...
]

or

Condition : no contacts are found.

Content example

{
"text": "Keine Kontakte gefunden."
}