Skip to main content
Skip table of contents

GetContact

Holt die Daten für den gewünschten Kontakt

CODE
GET api/v1/SNtialWait/contact/[InternalContactId]

Die InternalContactId ist die eindeutige Id des Kontaktes und wird vom SNtial Wait Service erstellt.

Die Id wird beim Aufruf von CreateContact erstellt und zurückgegeben.

CODE
GET api/v1/SNtialWait/contact/info/[PhoneNumber]

Die PhoneNumber spiegelt die bei CreateContact übergebene CallingNumber wieder.

CODE
GET api/v1/SNtialWait/contact/object/[ObjectId]

Eine Suche anhand der ObjectId steht erst nach Aufruf von WAIT zur Verfügung.

Sollte der Kontakt nicht existieren, wird mit einem Status 404 geantwortet:

CODE
{
  "statusText": "NotFound",
  "statusCode": 404,
  "item": null
}

Wird der Kontakt erfolgreich gefunden, wird mit einem Status 200 geantwortet:

CODE
{
  "statusText": "OK",
  "statusCode": 200,
  "item": {
    "id": "ea937e24-9f50-4ef2-a3df-dc2f4d8a9f46",
    "createdAt": "2025-09-19T08:28:20.7506288+02:00",
    "externalId": "4b575daf-b98a-4200-b750-406c07521e2e",
    "callingNumber": "12345",
    "calledNumber": "54321",
    "additional": {
      "Vorname": "Max",
      "Nachname": "Moritz",
      "KDNR": "111222"
    },
    "routingObjectId": null,
    "routingObject": null,
    "willBeRoutedAt": "2025-09-19T08:29:20.7506288+02:00",
    "routedAt": null,
    "waitingSince": null,
    "removedAt": null,
    "willElapseAt": "2025-09-19T08:30:20.7506288+02:00",
    "estimatedWaitingTime": 60,
    "estimatedWaitingTimeMinutes": 1,
    "settings": {
      "waitingFieldMultiplier": 10,
      "minimumWaitingTime": 60,
      "maximumWaitingTime": 120,
      "outboundNumber": "12345678"
    },
    "skills": [
      "Entwicklung"
    ],
    "queue": "Entwicklung",
    "queueId": "cdd07d5a89660d17bd544f141aa5d4e64881d484",
    "queueSkillsId": "11edf21247be8b1598dd45b450fc1e36df237775",
    "queueSkills": "Entwicklung,Entwicklung"
  }
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.