Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
curl --location --request POST 'https://ombori-queue-dev.azure-api.net/api/organizations/kjellxyz/queues/c179a3a2-9fd7-4e12-96e7-19d9e957e094/join' \
--header 'ApiKey: XYZ' \
--header 'Content-Type: application/json' \
--data-raw '{
	"session": "foo",
	"position": {
        "customerInfo": [
            "Jörgen",
            "Svensson",
            "2200001910105"
       ]
    }
}'

...

Code Block
{
    "positionUrl": "https://queue.dev.ombori.com/kjellxyz/queues/c179a3a2-9fd7-4e12-96e7-19d9e957e094/positions/5387920d-dfdd-4904-8a51-3f007effcffa",
    "position": {
        "status": "pending",
        "priority": 0,
        "location": null,
        "label": "A3",
        "customerInfo": [
            "Jörgen",
            "Svensson",
            "2200001910105"
        ],
        "id": "5387920d-dfdd-4904-8a51-3f007effcffa",
        "type": "anonymous",
        "queue": "c179a3a2-9fd7-4e12-96e7-19d9e957e094",
        "createdAt": "2020-11-17T11:45:57.114Z",
        "numberInTheQueue": 6
    }
}