Skip to main content
Skip table of contents

RemoveContact

Entfernt einen Kontakt aus dem Wartefeld

CODE
DELETE api/v1/SNtialWait/contact/[InternalContactId]
CODE
POST api/v1/SNtialWait/contact/remove/[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.

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

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

Wird der Kontakt erfolgreich gelöscht, 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": "c2c1ba1c-c487-47a8-8bdf-8e3a0845bf67",
    "routingObject": {
      "state": 2,
      "url": "http://dev-web.ad.sncom-lab.de:8090/",
      "id": "c2c1ba1c-c487-47a8-8bdf-8e3a0845bf67",
      "type": "CCOBJECTIN",
      "from": "12345",
      "to": "54321",
      "queue": "Entwicklung",
      "priority": 5,
      "properties": [
        {
          "name": "Vorname",
          "value": "Max",
          "hidden": false,
          "url": null
        },
        {
          "name": "Nachname",
          "value": "Moritz",
          "hidden": false,
          "url": null
        },
        {
          "name": "KDNR",
          "value": "111222",
          "hidden": false,
          "url": null
        }
      ],
      "skills": [
        "Entwicklung"
      ],
      "createdAt": "2025-09-19T08:54:21.6903441+02:00",
      "waitingSince": "2025-09-19T08:54:22.2547112+02:00",
      "connectedAt": "2025-09-19T08:54:21.8231934+02:00",
      "handledAt": null,
      "disconnectedAt": null
    },
    "willBeRoutedAt": "2025-09-19T08:29:20.7506288+02:00",
    "routedAt": "2025-09-19T09:45:28.3490148+02:00",
    "waitingSince": "2025-09-19T08:54:22.2548157+02:00",
    "removedAt": "2025-09-19T09:57:55.6424248+02:00",
    "willElapseAt": "2025-09-19T09:47:28.3490148+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.