Endpunkte für den Nutzerstatus

Der Nutzerstatus gibt an, in welchem Zustand sich ein Agent zu einem bestimmten Zeitpunkt befinden kann. Jeder Status (entweder sofort einsatzbereit oder ein neu konfigurierter Status) wird in einem einzelnen Objekt dargestellt, z. B. so:

[
  {
    "id": 0,
    "wfm_id": 0,
    "name": "string",
    "color": "string"
  }
]

Nutzerstatus

Endpunkt:

Method: GET
Type: 
URL: https://{{subdomain}}.{{domain}}/manager/api/v1/user_statuses

Weitere Beispielanfragen/-antworten

Beispielanfrage: Nutzerstatus

Body: None

Beispielantwort: Nutzerstatus

[
    {
        "id": 0,
        "name": "Available",
        "color": "green",
        "wfm_id": 11
    },
    {
        "id": -1,
        "name": "Unavailable",
        "color": "red",
        "wfm_id": 12
    },
    {
        "id": -2,
        "name": "Break",
        "color": "yellow",
        "wfm_id": 29
    },
    {
        "id": -3,
        "name": "Special Task",
        "color": "pink",
        "wfm_id": 30
    },
    {
        "id": -4,
        "name": "Meal",
        "color": "brown",
        "wfm_id": 31
    },
    {
        "id": -5,
        "name": "Missed Call",
        "color": "blue_grey",
        "wfm_id": 32
    },
    {
        "id": -6,
        "name": "Wrap-up",
        "color": "purple",
        "wfm_id": 33
    },
    {
        "id": -7,
        "name": "In-call",
        "color": "light_blue",
        "wfm_id": 34
    },
    {
        "id": -8,
        "name": "In-chat",
        "color": "indigo",
        "wfm_id": 35
    },
    {
        "id": -10,
        "name": "Offline",
        "color": "grey",
        "wfm_id": 36
    },
    {
        "id": 5,
        "name": "Meal",
        "color": "green",
        "wfm_id": 45
    }
]

Statuscode:200