{"info":{"_postman_id":"e3635803-32f0-4780-852b-7817cc4f12d4","name":"smzero® Queue API [v1]","description":"<html><head></head><body><h2 id=\"disclaimer\">Disclaimer</h2>\n<p>All information contained in this documentation must be kept confidential. To use this integration, you must follow our <a href=\"https://smze.ro/terms\">terms of use</a> and be aware of our <a href=\"https://smze.ro/privacy\">privacy</a> and <a href=\"https://smze.ro/cookies\">cookie</a> policies. The smzero® API was developed according to <a href=\"https://hitrustalliance.net/hitrust-framework\">HITRUST CSF</a> standards, for the highest levels of requirements and certifications on the market.</p>\n<h2 id=\"about-of-this-api\">About of this API</h2>\n<p>You can now integrate with our digital queue, which allows you to create your own virtual urgent care, allowing you to offer immediate online video consultations through a queue.</p>\n<h2 id=\"api-usage-policy\">API usage policy</h2>\n<p>When using this API, please be aware that there may be additional charges for use. Consult your account manager to find out about using this service.</p>\n<p>The rate limit for creating new patients and adding them to the queue is 100 per minute. If you need to increase this limit, contact your account manager.</p>\n<p>Any breach of the terms of use, or attempts to abuse the API, may result in immediate suspension of the account.</p>\n<p>© 2024 smzero - All Rights Reserved</p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"5536699","collectionId":"e3635803-32f0-4780-852b-7817cc4f12d4","publishedId":"2sAYJ1m3F3","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"0099ff"},"publishDate":"2024-12-18T19:41:34.000Z"},"item":[{"name":"Queue","item":[{"name":"Buscar configuração da empresa por Queue Hash","id":"7ebb2b5f-5b94-4fa3-bc10-32f04678288a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint_url}}company/settings/findby/queueHash?queueHash=C2A15D9E","urlObject":{"path":["settings","findby","queueHash"],"host":["{{endpoint_url}}company"],"query":[{"key":"queueHash","value":"C2A15D9E"}],"variable":[]}},"response":[{"id":"9b7b9331-70ad-483f-b1f5-86da3ee9e9a5","name":"List Queue Status","originalRequest":{"method":"GET","header":[],"url":"{{endpoint_url}}queue/status/getAll"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 30 Jan 2025 16:57:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Busca realizada com sucesso\",\n    \"hasError\": false,\n    \"result\": {\n        \"1\": \"Registrado\",\n        \"2\": \"Entrou na fila\",\n        \"3\": \"Saiu da fila\",\n        \"4\": \"Aguardando triagem\",\n        \"5\": \"Em atendimento da triagem\",\n        \"6\": \"Aguardando encaminhamento para consulta\",\n        \"7\": \"Aguardando consulta\",\n        \"8\": \"Em atendimento consulta\",\n        \"9\": \"Atendimento concluído\"\n    }\n}"}],"_postman_id":"7ebb2b5f-5b94-4fa3-bc10-32f04678288a"},{"name":"List Queue Status","id":"b3300ee6-a33e-4eff-af61-03a284da5d48","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint_url}}queue/status/getAll","urlObject":{"path":["status","getAll"],"host":["{{endpoint_url}}queue"],"query":[],"variable":[]}},"response":[{"id":"d956855b-48dc-46c0-a9d3-38637c75cb95","name":"List Queue Status","originalRequest":{"method":"GET","header":[],"url":"{{endpoint_url}}queue/status/getAll"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 30 Jan 2025 16:57:16 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Busca realizada com sucesso\",\n    \"hasError\": false,\n    \"result\": {\n        \"1\": \"Registrado\",\n        \"2\": \"Entrou na fila\",\n        \"3\": \"Saiu da fila\",\n        \"4\": \"Aguardando triagem\",\n        \"5\": \"Em atendimento da triagem\",\n        \"6\": \"Aguardando encaminhamento para consulta\",\n        \"7\": \"Aguardando consulta\",\n        \"8\": \"Em atendimento consulta\",\n        \"9\": \"Atendimento concluído\"\n    }\n}"}],"_postman_id":"b3300ee6-a33e-4eff-af61-03a284da5d48"},{"name":"List Queue Classifications","id":"40f74109-8f71-43e8-89a2-1940446d41ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint_url}}queue/classification/getAll","urlObject":{"path":["classification","getAll"],"host":["{{endpoint_url}}queue"],"query":[],"variable":[]}},"response":[{"id":"7521115d-ed2a-46e5-9094-c5b37df4925e","name":"List Queue Classifications","originalRequest":{"method":"GET","header":[],"url":"{{endpoint_url}}queue/classification/getAll"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 30 Jan 2025 16:57:30 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Busca realizada com sucesso\",\n    \"hasError\": false,\n    \"result\": {\n        \"1\": \"Sem classificação\",\n        \"2\": \"Baixa\",\n        \"3\": \"Média\",\n        \"4\": \"Alta\",\n        \"5\": \"Urgente\"\n    }\n}"}],"_postman_id":"40f74109-8f71-43e8-89a2-1940446d41ee"},{"name":"Create Queue","id":"82dcbf60-d61d-4f33-bf33-1e4472cc2028","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fila dos loucos\",\r\n  \"authorid\": 13,\r\n  \"productid\": 3559,\r\n  \"slots\": 666,\r\n  \"tenantId\": 2038\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/create","urlObject":{"path":["create"],"host":["{{endpoint_url}}queue"],"query":[],"variable":[]}},"response":[{"id":"db1ccde7-8f34-4bc1-b1ac-e72c24b61784","name":"Create Queue","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"name\": \"Fila dos loucos\",\r\n  \"authorid\": 13,\r\n  \"productid\": 3559,\r\n  \"slots\": 666,\r\n  \"tenantId\": 2038\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/create"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 30 Jan 2025 16:57:52 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Fila criada com sucesso\",\n    \"hasError\": false,\n    \"result\": 8\n}"}],"_postman_id":"82dcbf60-d61d-4f33-bf33-1e4472cc2028"},{"name":"Update Queue","id":"fb4f42e4-9784-49ea-bc1b-5b44cb57c542","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 7,\r\n    \"name\": \"Fila dos ***\",\r\n    \"productId\": 3559,\r\n    \"slots\": 667,\r\n    \"tenantId\": 2038\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/update","urlObject":{"path":["update"],"host":["{{endpoint_url}}queue"],"query":[],"variable":[]}},"response":[{"id":"fbbd206f-a9d3-4b32-abab-fb90c9e38d65","name":"Update Queue","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n    \"id\": 7,\r\n    \"name\": \"Fila dos ***\",\r\n    \"productId\": 3559,\r\n    \"slots\": 667,\r\n    \"tenantId\": 2038\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/update"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 30 Jan 2025 16:58:14 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Fila atualizada com sucesso\",\n    \"hasError\": false,\n    \"result\": null\n}"}],"_postman_id":"fb4f42e4-9784-49ea-bc1b-5b44cb57c542"},{"name":"List Queues","id":"ec72bc49-3b63-4e67-b131-2cf65bf45d10","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint_url}}queue/getAll?tenantId=2038","urlObject":{"path":["getAll"],"host":["{{endpoint_url}}queue"],"query":[{"key":"tenantId","value":"2038"}],"variable":[]}},"response":[{"id":"2a8aa30d-f31f-4eed-a8fa-d642a077ed7f","name":"List Queues","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint_url}}queue/getAll?tenantId=2038","host":["{{endpoint_url}}queue"],"path":["getAll"],"query":[{"key":"tenantId","value":"2038"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 30 Jan 2025 16:58:24 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Busca realizada com sucesso\",\n    \"hasError\": false,\n    \"result\": [\n        {\n            \"id\": 1,\n            \"name\": \"Clinico Geral\",\n            \"slots\": 100,\n            \"productId\": 3540,\n            \"authorId\": 13,\n            \"statusId\": 1,\n            \"tenantId\": 2038,\n            \"pin\": \"AKFJAX\"\n        },\n        {\n            \"id\": 5,\n            \"name\": \"Ufologia\",\n            \"slots\": 100,\n            \"productId\": 3553,\n            \"authorId\": 13,\n            \"statusId\": 1,\n            \"tenantId\": 2038,\n            \"pin\": \"90aAKNC\"\n        },\n        {\n            \"id\": 6,\n            \"name\": \"Pediatria\",\n            \"slots\": 100,\n            \"productId\": 3542,\n            \"authorId\": 13,\n            \"statusId\": 1,\n            \"tenantId\": 2038,\n            \"pin\": \"BALCNA\"\n        },\n        {\n            \"id\": 7,\n            \"name\": \"Fila dos ***\",\n            \"slots\": 667,\n            \"productId\": 3559,\n            \"authorId\": 13,\n            \"statusId\": 0,\n            \"tenantId\": 2038,\n            \"pin\": \"A85ACB\"\n        },\n        {\n            \"id\": 8,\n            \"name\": \"Fila dos loucos\",\n            \"slots\": 666,\n            \"productId\": 3559,\n            \"authorId\": 13,\n            \"statusId\": 1,\n            \"tenantId\": 2038,\n            \"pin\": \"98wlAL\"\n        }\n    ]\n}"}],"_postman_id":"ec72bc49-3b63-4e67-b131-2cf65bf45d10"},{"name":"Single Queue","id":"ab8b0721-afe4-4c08-a73a-71e6d2f73ae8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint_url}}queue?tenantId=2038&id=7","urlObject":{"host":["{{endpoint_url}}queue"],"query":[{"key":"tenantId","value":"2038"},{"key":"id","value":"7"},{"disabled":true,"key":"","value":""}],"variable":[]}},"response":[{"id":"e2379988-20ca-48ee-b7f8-d92030802490","name":"Single Queue","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint_url}}queue?tenantId=2038&id=7","host":["{{endpoint_url}}queue"],"query":[{"key":"tenantId","value":"2038"},{"key":"id","value":"7"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 30 Jan 2025 16:58:43 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Busca realizada com sucesso\",\n    \"hasError\": false,\n    \"result\": {\n        \"id\": 7,\n        \"name\": \"Fila dos ***\",\n        \"slots\": 667,\n        \"productId\": 3559,\n        \"authorId\": 13,\n        \"statusId\": 0,\n        \"tenantId\": 2038,\n        \"pin\": \"ABa90a\"\n    }\n}"}],"_postman_id":"ab8b0721-afe4-4c08-a73a-71e6d2f73ae8"},{"name":"Get Queue Details By Pin","id":"c596b26d-f604-4ce3-a06c-ea83191df1a2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint_url}}queue/getByPin?pin=Juruu0Aj","urlObject":{"path":["getByPin"],"host":["{{endpoint_url}}queue"],"query":[{"disabled":true,"key":"tenantId","value":"2038"},{"key":"pin","value":"Juruu0Aj"}],"variable":[]}},"response":[],"_postman_id":"c596b26d-f604-4ce3-a06c-ea83191df1a2"},{"name":"Get Queue Entry Details By Session Id","id":"7b3d2aa2-6025-4c94-8595-4336f928d7ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint_url}}queue/getEntryBySessionId?sessionId=NVlLNzk4dGc=","urlObject":{"path":["getEntryBySessionId"],"host":["{{endpoint_url}}queue"],"query":[{"key":"sessionId","value":"NVlLNzk4dGc="}],"variable":[]}},"response":[],"_postman_id":"7b3d2aa2-6025-4c94-8595-4336f928d7ad"},{"name":"Add Patient to Queue","id":"9a64e47d-346a-4c28-a6fb-b0cdd8ef56df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"queueId\": 1,\r\n  \"patientId\": 120176\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/addPatient","urlObject":{"path":["addPatient"],"host":["{{endpoint_url}}queue"],"query":[],"variable":[]}},"response":[{"id":"a223ef62-4550-4d63-8b66-6977d4fa94e6","name":"Add Patient to Queue","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"queueId\": 7,\r\n  \"patientId\": 10117\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/addPatient"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Paciente adicionado à fila com sucesso\",\n    \"hasError\": false,\n    \"result\": {\n        \"redirectUrl\": \"/queue/KKKKK?sid=ekdIMkF6TFRNT1FmT2Z6eWExeUZjbE0wTDVialNZaTc=\"\n    }\n}"}],"_postman_id":"9a64e47d-346a-4c28-a6fb-b0cdd8ef56df"},{"name":"Add Professional to Queue","id":"a98fdd1d-60a6-4bf9-b4e8-2a9066b04986","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"queueId\": 7,\r\n  \"professionalId\": 13\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/addProfessional","urlObject":{"path":["addProfessional"],"host":["{{endpoint_url}}queue"],"query":[],"variable":[]}},"response":[{"id":"8b9eca77-6d97-4567-a8b6-7863e1fa6ed4","name":"Add Professional to Queue","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\r\n  \"queueId\": 7,\r\n  \"professionalId\": 13\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/addProfessional"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 30 Jan 2025 16:59:05 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Profissional adicionado à fila com sucesso\",\n    \"hasError\": false,\n    \"result\": null\n}"}],"_postman_id":"a98fdd1d-60a6-4bf9-b4e8-2a9066b04986"},{"name":"Set Professional Connected","id":"04a7b268-2fc0-49d3-9a59-1e816d57682d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"queueId\": 7,\r\n  \"professionalId\": 13,\r\n  \"isConnected\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/setProfessionalConnected","urlObject":{"path":["setProfessionalConnected"],"host":["{{endpoint_url}}queue"],"query":[],"variable":[]}},"response":[{"id":"55297153-02da-407c-a55a-eb320aa7d182","name":"Set Professional Connected","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"queueId\": 7,\r\n  \"professionalId\": 13,\r\n  \"isConnected\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/setProfessionalConnected"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 30 Jan 2025 17:00:57 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Informações do profissional atualizadas com sucesso\",\n    \"hasError\": false,\n    \"result\": null\n}"}],"_postman_id":"04a7b268-2fc0-49d3-9a59-1e816d57682d"},{"name":"Set Professional Matchmaking","id":"0b09d789-4d62-4a5f-a9cb-1871e92eeffc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"queueId\": 7,\r\n  \"professionalId\": 13,\r\n  \"isMatchmaking\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/setProfessionalMatchmaking","urlObject":{"path":["setProfessionalMatchmaking"],"host":["{{endpoint_url}}queue"],"query":[],"variable":[]}},"response":[{"id":"16e5e636-75a1-4f03-b352-d9496c31e33a","name":"Set Professional Matchmaking","originalRequest":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"queueId\": 7,\r\n  \"professionalId\": 13,\r\n  \"isMatchmaking\": false\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/setProfessionalMatchmaking"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Thu, 30 Jan 2025 17:01:34 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Informações do profissional atualizadas com sucesso\",\n    \"hasError\": false,\n    \"result\": null\n}"}],"_postman_id":"0b09d789-4d62-4a5f-a9cb-1871e92eeffc"},{"name":"Set Patient Entered Queue","id":"defe823a-0121-41f1-b79c-18aee986026c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\r\n  \"queueId\": 7,\r\n  \"sessionId\": \"ekdIMkF6TFRNT1FmT2Z6eWExeUZjbE0wTDVialNZaTc=\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/setPatientEnteredQueue","urlObject":{"path":["setPatientEnteredQueue"],"host":["{{endpoint_url}}queue"],"query":[],"variable":[]}},"response":[],"_postman_id":"defe823a-0121-41f1-b79c-18aee986026c"},{"name":"Waitroom","id":"e56cb332-ad82-4c8b-a8c4-4aa6d17ce230","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"queueId\": 7,\r\n  \"token\": \"3KLMOAJK12\"\r\n}","options":{"raw":{"language":"json"}}},"url":"{{endpoint_url}}queue/waitroom?queueId=7&pin=Juruu0Aj","urlObject":{"path":["waitroom"],"host":["{{endpoint_url}}queue"],"query":[{"key":"queueId","value":"7"},{"key":"pin","value":"Juruu0Aj"}],"variable":[]}},"response":[{"id":"91735300-b121-46ff-a2e6-14024b0d00c5","name":"waitroom","originalRequest":{"method":"GET","header":[],"body":{"mode":"raw","raw":"{\r\n  \"queue_id\": 0,\r\n  \"professional_id\": 0,\r\n  \"author_id\": 0,\r\n  \"patient_id\": 0,\r\n  \"metadata\": {\r\n    \"1\": \"value\",\r\n    \"2\": \"value\",\r\n    \"3\": \"value\"\r\n  }\r\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{endpoint_url}}/queue/waitroom?queueId=7&pin=AbAV24","host":["{{endpoint_url}}"],"path":["queue","waitroom"],"query":[{"key":"queueId","value":"7"},{"key":"pin","value":"AbAV24"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": \"Paciente adicionado\",\n    \"message\": \"Paciente foi adicionado com sucesso na fila.\",\n    \"error\": false,\n    \"result\": {   \n        \"currentPosition\": 6,\n        \"isMatched\": false,\n        \"redirectUrl\": \"https://paciente.smzero.com.br/AbAV24\"\n    }\n}"}],"_postman_id":"e56cb332-ad82-4c8b-a8c4-4aa6d17ce230"},{"name":"Professional Waitroom","id":"891ea69a-cf2f-41dd-8aec-8a805dab4dae","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint_url}}queue/waitroomProfessional?queueId=7&professionalId=13","urlObject":{"path":["waitroomProfessional"],"host":["{{endpoint_url}}queue"],"query":[{"key":"queueId","value":"7"},{"key":"professionalId","value":"13"}],"variable":[]}},"response":[{"id":"f3d3db82-e75b-4557-8fb4-71a197648d3a","name":"Professional Waitroom","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint_url}}queue/waitroomProfessional?queueId=7&professionalId=13","host":["{{endpoint_url}}queue"],"path":["waitroomProfessional"],"query":[{"key":"queueId","value":"7"},{"key":"professionalId","value":"13"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json; charset=utf-8"},{"key":"Date","value":"Mon, 03 Feb 2025 11:14:11 GMT"},{"key":"Server","value":"Kestrel"},{"key":"Transfer-Encoding","value":"chunked"}],"cookie":[],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Busca realizada com sucesso\",\n    \"hasError\": false,\n    \"result\": {\n        \"currentPosition\": 0,\n        \"isMatched\": false,\n        \"redirectUrl\": null,\n        \"appointmentUuid\": null\n    }\n}"}],"_postman_id":"891ea69a-cf2f-41dd-8aec-8a805dab4dae"},{"name":"Live queue info","id":"34be3c68-cd43-49f8-8e63-bc8772b487d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint_url}}/queue/liveConnections?date=2025-12-10&queue=2&queue=1","urlObject":{"path":["queue","liveConnections"],"host":["{{endpoint_url}}"],"query":[{"key":"date","value":"2025-12-10"},{"key":"queue","value":"2"},{"key":"queue","value":"1"}],"variable":[]}},"response":[{"id":"31425047-f56e-4a38-a8b7-a125c106b0d4","name":"Live queue info","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint_url}}/queue/liveConnections?date=2025-12-10&queue=2&queue=1","host":["{{endpoint_url}}"],"path":["queue","liveConnections"],"query":[{"key":"date","value":"2025-12-10"},{"key":"queue","value":"2"},{"key":"queue","value":"1"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n  \"workers\": [],\n  \"patients\": [\n    {\n      \"entry_id\": 43338,\n      \"tenant_id\": 2038,\n      \"patient_name\": \"Paciente de Teste\",\n      \"patient_id\": 41537,\n      \"classification_name\": \"1\",\n      \"classification_id\": 1,\n      \"queue_name\": \"Teleocupacional\",\n      \"queue_id\": 2,\n      \"joined_date\": \"2025-12-10T11:28:30.117\",\n      \"started_date\": null,\n      \"ended_date\": \"2025-12-10T11:47:37.697\",\n      \"appointment_started_date\": \"2025-12-10T11:36:07.777\",\n      \"appointment_ended_date\": null,\n      \"status_name\": \"Cancelado\",\n      \"status_id\": 2,\n      \"professional_name\": \"Saulo Zeronberg teste\",\n      \"professional_id\": 13,\n      \"screening_professional_id\": null,\n      \"screening_professional_name\": null,\n      \"metadata\": true,\n      \"created_date\": \"2025-12-10T11:28:30.117\",\n      \"pin\": \"TjU4WmNnWGc5bUdzV21uUGIzdXBOd25GNXB2bWRIemo=\",\n      \"Metadata\": [],\n      \"classification\": null,\n      \"patient\": null,\n      \"professional\": null,\n      \"screening_professional\": null,\n      \"queue\": null,\n      \"status\": null,\n      \"tenant\": null\n    }\n  ],\n  \"patientWaitingCount\": 1,\n  \"patientAverageWaitingTime\": \"92.04:04:17.0107938\"\n}"}],"_postman_id":"34be3c68-cd43-49f8-8e63-bc8772b487d0"},{"name":"Live queue entry details","id":"f08c4b43-d96f-4b39-8e3f-2aaadab5415c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"{{endpoint_url}}/queue/entryDetails?entryId=43338","urlObject":{"path":["queue","entryDetails"],"host":["{{endpoint_url}}"],"query":[{"key":"entryId","value":"43338"}],"variable":[]}},"response":[{"id":"3344b24e-a16a-4f12-b24f-9793cf678e8f","name":"Live queue entry details","originalRequest":{"method":"GET","header":[],"url":{"raw":"{{endpoint_url}}/queue/entryDetails?entryId=43338","host":["{{endpoint_url}}"],"path":["queue","entryDetails"],"query":[{"key":"entryId","value":"43338"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":"","type":"text"}],"cookie":[{"expires":"Invalid Date","domain":"","path":""}],"responseTime":null,"body":"{\n    \"title\": null,\n    \"message\": \"Pesquisa realizada com sucesso\",\n    \"hasError\": false,\n    \"result\": {\n        \"queueName\": \"Teleocupacional\",\n        \"status\": \"Cancelado\",\n        \"position\": 2,\n        \"classificationName\": \"1\",\n        \"patientWaitingTime\": \"92.04:01:36.4018072\",\n        \"queueAverageWaitingTime\": \"92.04:01:35.5502996\",\n        \"patientName\": \"Paciente de Teste\",\n        \"patientBirthdate\": \"31/12/2009 00:00:00\",\n        \"patientBirthdateFormatted\": \"16 anos, 2 meses e 9 dias\",\n        \"patientDocumentName\": \"CPF\",\n        \"patientDocumentNumber\": \"25602018107\",\n        \"patientPhones\": [\n            {\n                \"id\": 0,\n                \"ddd\": \"11\",\n                \"number\": \"951531535\",\n                \"name\": null,\n                \"type\": \"Telefone Residencial\",\n                \"typeId\": 0\n            }\n        ],\n        \"logs\": [],\n        \"patientBiologicalSex\": \"Masculino\",\n        \"screeningProfessional\": null,\n        \"appointmentProfessional\": \"Saulo Zeronberg teste\",\n        \"appointmentStatus\": \"Cancelado\",\n        \"patientMetadata1\": \"smzero S/A\",\n        \"patientMetadata2\": \"N&#xE3;o\",\n        \"patientMetadata3\": \"Dependente\",\n        \"patientMetadata4\": \"25602018107\",\n        \"patientMetadata5\": \"Paciente Pai\",\n        \"patientMetadata6\": \"\",\n        \"patientMetadata7\": \"Sim\",\n        \"patientMetadata8\": \"\",\n        \"patientMetadata9\": \"\",\n        \"patientMetadata10\": \"\",\n        \"patientMetadata11\": \"\",\n        \"patientMetadata12\": null,\n        \"patientMetadata13\": null,\n        \"patientMetadata14\": null,\n        \"patientMetadata15\": null,\n        \"patientMetadata16\": null,\n        \"patientMetadata17\": null,\n        \"patientMetadata18\": null,\n        \"patientMetadata19\": null,\n        \"patientMetadata20\": null,\n        \"patientMetadata21\": null,\n        \"patientMetadata22\": null,\n        \"patientMetadata23\": null,\n        \"patientMetadata24\": null,\n        \"patientMetadata25\": null,\n        \"patientMetadata26\": null,\n        \"patientMetadata27\": null,\n        \"patientMetadata28\": null,\n        \"patientMetadata29\": null,\n        \"patientMetadata30\": null,\n        \"patientMetadata31\": null,\n        \"patientMetadata32\": null,\n        \"patientMetadata33\": null,\n        \"patientMetadata34\": null,\n        \"patientMetadata35\": null,\n        \"patientMetadata36\": null,\n        \"patientMetadata37\": null,\n        \"patientMetadata38\": null,\n        \"patientMetadata39\": null,\n        \"patientMetadata40\": null\n    }\n}"}],"_postman_id":"f08c4b43-d96f-4b39-8e3f-2aaadab5415c"}],"id":"b56bdd1c-5311-418c-9488-3a080d602667","_postman_id":"b56bdd1c-5311-418c-9488-3a080d602667","description":""}]}