Skip to main content

Confirm appointment

POST{{server}}/api/v1/appointment/confirmation

This request confirms the reservation. The verification code is sent by the server via e-mail or SMS.

Request

  • branch (string, required): Branch key

  • bookingCode (string, required): Booking code

  • verification (string, required): Verification code

Response

If the confirmation was successful, it returns status 204.

Request​

Authorization​

HeaderValue
AuthorizationSmartToken {{smartToken}}

Headers​

KeyValue
Acceptapplication/json

Body (json)​

{
"branch": "{{branch}}",
"bookingCode": "918369",
"verification": "1967c573-89d7-6f2e-bbcd-0fe2f7117e7b"
}

Code snippets​

curl -X POST '{{server}}/api/v1/appointment/confirmation' \
-H 'Accept: application/json' \
-H 'Authorization: SmartToken {{smartToken}}' \
-H 'Content-Type: application/json' \
-d '{
"branch": "{{branch}}",
"bookingCode": "918369",
"verification": "1967c573-89d7-6f2e-bbcd-0fe2f7117e7b"
}'

Example​

Example request
POST{{server}}/api/v1/appointment/confirmation
Headers (1)
KeyValue
Acceptapplication/json
Body
{
"branch": "{{branch}}",
"bookingCode": "918369",
"verification": "1967c573-89d7-6f2e-bbcd-0fe2f7117e7b"
}
Example response 204 No Content
No response body