Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Creates new ticket and returns ticket information. Sends information about the ticket to client (device) associated with this session id.

Auth:

ApiKey header

Request:

curl --location --request POST 'https://ombori-queue-dev.azure-api.net/api/organizations/kjell/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"
       ]
    }
}'

Response:

{
    "positionUrl": "https://queue.dev.ombori.com/kjell/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
    }
}
  • No labels