Skip to content

Instantly share code, notes, and snippets.

@bbarreto
Created June 24, 2020 17:56
Show Gist options
  • Save bbarreto/c53b49542a7c2da70c2c326faf9ff6d9 to your computer and use it in GitHub Desktop.
Save bbarreto/c53b49542a7c2da70c2c326faf9ff6d9 to your computer and use it in GitHub Desktop.
Criação de Sala de Vídeo sem Identificação Única de Paciente
POST /api/createRoom HTTP/1.1
Host: seusite.telemedicina.drtis.com.br
accesskey: SUA_CHAVE_DE_ACESSO
Content-Type: application/json
{
"doctor": {
"id": "abc123",
"name": "José da Silva",
"classDocumentType": "CRM",
"classDocumentUf": "RJ",
"classDocument": "309850"
},
"appointmentTime": "2020-06-24T14:45:00Z",
"queue": {
"id": "cardiologia"
},
"patient": {
"externalId": "23092",
"name": "Nome do Paciente",
"birthdate": "2018-01-01T03:00:00Z",
"cpf":"94898295100",
"customFields": [
{
"field": "cns",
"label": "CNS (SUS)",
"value": "90823498240"
},
{
"field": "convenio",
"label": "Convênio",
"value": "Top Platinum Apartamento"
},
{
"field": "associateNumber",
"label": "Número do associado",
"value": "823057501"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment