- Auth
- ForgotPassword
- Profile
- Family Members
- Address
- Languages
- Products
- Permissions
- Config
- Appointment Schedule
- Test Tags
- Test Parameters
- Category
- Device
- File
- Appointment
- Reports
- Staff
- Patient
- Notifications
GetStartJourneyDirection
Developing
POST
/api/service/v1/appointment/{appointmentId}/directions
Request
Path Params
appointmentId
string
required
Example:
12
Header Params
practice-code
string
optional
Example:
DEFAULT
Body Params application/json
origin
string
required
destination
string
required
Example
{
"origin":"22.99938892716462,72.50895456814037",
"destination":"23.011798107081482,72.50295365094784"
}
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://afyahealth.doctodoor.com:5600/api/service/v1/appointment/12/directions' \
--header 'practice-code: DEFAULT' \
--header 'Content-Type: application/json' \
--data-raw '{
"origin":"22.99938892716462,72.50895456814037",
"destination":"23.011798107081482,72.50295365094784"
}'
Responses
🟢200OK
application/json
Body
object {0}
Example
{}