MindGest / mindgest-backend

A nodejs + express implementation of a REST API (backend) for the MindGest application.
MIT License
0 stars 0 forks source link

Detalhes de uma consulta (estagiário, terapeuta) #37

Open cabralpinto opened 1 year ago

cabralpinto commented 1 year ago

Formato do output: {therapist: string, recordCode: string, service: string, collaborators: [string, ...], patient: string, date: date, duration: date, room: string}

gabrielmendesfernandes commented 1 year ago

Endpoint: POST:/appointment/info

Body: {appointmentId: number}

Output: { "data": { "appointmentStartTime": "2023-01-31T22:50:28.538Z", "appointmentEndTime": "2023-01-31T03:50:28.538Z", "appointmentRoom": string, "mainTherapist": string, "collaborators": [string, ...], "patients": [string, ...], "speciality": string, "processRef": string } }