{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"1673fe27-22d3-47e0-a053-abd51b7ab156","name":"sasf","description":"## Introduction\n\nThe Nemo-Q REST API (Henceforth called “the API”) is based on a root path of  \n**https://\\[**_**your address**_**\\]/NQC/NQWebServices/** which all API calls will be  \nbased upon.\n\n## Terminology\n\nNemo-Q uses certain terminology to specify what type of queueing information is being transferred. This terminology will be explained under this section. For those who are new to developing with REST API’s the terminology will be highlighted in **bold** throughout the document, so that you can search the internet for a suitable explanation.\n\n## Nemo-Q terminology\n\nThe following terminology can be found in the responses from the API:\n\n_**Unit Type**_ – This refers to one of 3 types of queues. The “Servicetype” which refers to a service provided by your institution, such as “Customer Service” or “Loans”. The “Workstation Queue” which refers to a specific workstation. The “User queue” which refers to a queue where customers have to see a specific person to handle their issue.\n\n_**Unit Number**_ _–_ The Unit Number is a numerical shorthand for subcategories within the Unit Types. For an example within your organization the “Customer Service” Service Type might have the numerical shorthand “1”. Workstation 2 would logically be named “2”. And “Bob Bobson” from the sales department might have the number 1.\n\n_**Queue Type**_ – Specifies if the queue is _main_, _secondary_, or _booked_. Where Main is the default queue when you take a ticket, Secondary means you have been transferred to another queue and Booked means that you have a booking rather than a drop-in number.\n\n| **Unit Type** | **Unit Number** | **Queue Type** |\n| --- | --- | --- |\n| 1: Servicetype | Servicetype ID | 1: Main Queue |\n| 2: Cashier Queue | Workstation ID | 2: Secondary Queue |\n| 3: User Queue | User ID | 3: Booked Queue |\n\n_**Printer Text Number**_ – A numerical identifier which represents the text to be displayed on the ticket you are printing. This number comes from the setup done in the NQC Configuration software which powers much of our queue systems.\n\n_**Printer Number**_ _–_ The numerical identifier given to a specific ticket-printer, as specified in the NQC/Engine software.\n\n_**Logo**_ _–_ The numerical identifier given to a specific Logotype to be printed onto each ticket, as specified in the NQC software. This function depends on what printer the system is using.\n\n_**Virtual Cashier**_ _–_ There are cases where a “Virtual Cashier” is used, such as when a cashier wants to call a customer to another workstation than the one, they are managing. A common setup is when customers are called to a display where other service personnel can help the customer.\n\n_**Main Queue / Secondary Queue / Booked Queue**_ – Let’s say a customer takes a ticket to see Customer Service, then Customer Service is their Main Queue. However, if it turns out that what they needed help with isn’t a Customer Service issue but rather an “Insurances” issue then the ticket could be forwarded to the “Insurances secondary queue” or to a cashier that work with “Insurances” or to a User that work with “Insurances”, I ticket that are send to another queue is always going to a “secondary” queue. A Booked Queue on the other hand is in parallel to the Main Queue but the person with a booked ticket has an appointed time. To prioritize booked customers with appointment times over regular customers the system needs to be set up to do so.\n\n_**Ticket Number**_ _–_ A numerical value such as “505”.\n\n_**Ticket Name**_ _–_ A value such as “B505”.\n\n_**Lost Ticket**_ _–_ A ticket can either be manually  \nset to lost or the system can be configured to automatically set a ticket to lost if the service time is shorter than X time units.\n\n## Getting started\n\nWhen working with the API the typical workflow is as follows:\n\n1. Get the GUID for the office you are working with\n    \n2. Get a JSON Web Token\n    \n3. Make a call to the webservice to get the information you need\n    \n\n**Authenticating for branch-specific requests**\n\nAll requests that interact with a branch’s queueing engine require the API client to acquire a JSON Web Token (JWT) to do this. This token is secured and locked to the branch, and like all JWTs it has a set time during which it is valid. After the token has expired, a new token must be acquired.","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"6159398","team":3785164,"collectionId":"1673fe27-22d3-47e0-a053-abd51b7ab156","publishedId":"2sB2ixjZ92","public":true,"publicUrl":"https://documentation.nemo-q.se","privateUrl":"https://go.postman.co/documentation/6159398-1673fe27-22d3-47e0-a053-abd51b7ab156","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"19373b"},"documentationLayout":"classic-single-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":"https://content.pstmn.io/e5c070dc-236f-40d8-a45e-87e2e6ebe8ef/MTkzMTExNDY3MCAoMSkucG5n","colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"19373b"}},{"name":"light","logo":"https://content.pstmn.io/e5c070dc-236f-40d8-a45e-87e2e6ebe8ef/MTkzMTExNDY3MCAoMSkucG5n","colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"19373b"}}]}},"version":"8.10.1","publishDate":"2025-04-23T13:48:28.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":"https://content.pstmn.io/e5c070dc-236f-40d8-a45e-87e2e6ebe8ef/MTkzMTExNDY3MCAoMSkucG5n","logoDark":"https://content.pstmn.io/e5c070dc-236f-40d8-a45e-87e2e6ebe8ef/MTkzMTExNDY3MCAoMSkucG5n"}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/254c3c43ea2cee21ab3ce4786b9d4aa17cca8cb81e7d053ee4415abfa04b0d71","favicon":"https://nemo-q.se/favicon.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://documentation.nemo-q.se/view/metadata/2sB2ixjZ92"}