Kontakt-API
Teil von AntonyLegacy
Unterkontakte eines Hauptkontakts abrufen
Endpunkt: GET - /api/v1/contacts/{id}/subcontacts?skip={skip}&take={take}
Version: 2.22.82
Beschreibung: Gibt die Unterkontakte des Hauptkontatkts mit der Id {id} zurück. Es werden alle Felder ausgegeben. Der Standardwert für Skip ist gleich 0, für take 100
Beispiel Request:
/api/v1/contacts/782/subcontacts?skip=0&take=5
Beispiel Response:
[
{
"id": 4711,
"firstName": "Max",
"lastName": "Mustermann",
"company": "Musterfirma 1",
"email": "max@musterfirma.de",
"phone": "0151 123459789",
"phone2": "",
"mobile": "",
"phonePrivate": "",
"phone2Private": "",
"street": "",
"zipcode": "",
"city": "",
"calcDisplayName": "Mustermann",
"calcAvatar": "M",
"calcCommunicationInfo": "max@musterfirma.de"
},
{
"id": 4711,
"firstName": "Marleen",
"lastName": "Musterfrau",
"company": "Musterfirma 1",
"email": "marleen@musterfirma.de",
"phone": "0151 98756321",
"phone2": "",
"mobile": "",
"phonePrivate": "",
"phone2Private": "",
"street": "",
"zipcode": "",
"city": "",
"calcDisplayName": "Musterfrau",
"calcAvatar": "MF",
"calcCommunicationInfo": "marleen@musterfirma.de"
}
]