cURL
curl --request POST \ --url https://{tenantId}.api.nestmed.com/api/v1/visits/{visitId}/start \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "actualDate": "2023-11-07T05:31:56Z", "location": { "type": "<string>", "coordinates": { "latitude": 123, "longitude": 123 } } } '
{ "visitId": "<string>", "episodeId": "<string>", "patientId": "<string>", "clinicianId": "<string>", "visitTypeId": "<string>", "visitType": { "visitTypeId": "<string>", "name": "<string>", "discipline": "<string>", "serviceCode": "<string>" }, "scheduledDate": "2023-11-07T05:31:56Z", "actualDate": "2023-11-07T05:31:56Z", "duration": 123, "status": "scheduled", "location": {}, "patient": {}, "clinician": {}, "createdAt": "2023-11-07T05:31:56Z", "updatedAt": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Show child attributes
Visit started successfully.
scheduled
inProgress
completed
cancelled