...
Code Block |
---|
{ "services": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "name": "string", "index": 0, "externalDescription": "string", "onlineBookable": false } ], "serviceGroups": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "name": "string", "index": 0, "services": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "name": "string", "index": 0, } "externalDescription": "string", "onlineBookable": false ] } ] } ] } |
Branches
Allows to retrieve the list of branches (locations) that are associated with the specific service
...
Name | Type | Required | Description | ||
---|---|---|---|---|---|
service ID | string (guid) | yes | The service id (GUID) | ||
branch ID | string | yes | The branch Id for the service specified | ||
requestedResourceId | string | Resource ID | |||
Timeslot: “StartTime“ | date & timestamp | yes | start time for the timeslot to reserve,
| ||
Timeslot: “EndTime“ | date & timestamp | yes | end time for the timeslot to reservetimeslot to reserve
| ||
Notes | string | no | the notes added for the appointment details | ||
Numberofreservations | integer | yes | number of reservations, 1 by default |
...
Code Block |
---|
{ "appointmentId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "serviceId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "branchId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "requestedResource": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "timeSlot": { "startTime": "2022-03-03T09:00:00+01:00", "endTime": "2022-03-03T09:00:00+01:00" }, "expiration": "2023-03-08T13:42:41.035Z", "numberOfReservations": 1, "reservationId": "3fa85f64-5717-4562-b3fc-2c963f66afa6" } |
Confirm a reservation
POST PUT /reservations
/reservationId
...
Name | Type | Required | Description |
---|---|---|---|
personalIdentifier | string (GUID) | yes | The external customer’s identifier. Must contain 10-48 char and must match |
firstName | string | yes | The customer’s first name, max 255 symbols |
lastName | string | yes | The customer’s last name, max 255 symbols |
phoneNumber | integer | no | The customer’s phone number, maz length 255 |
string | yes | The customer’s email, 1- 255 symbols | |
dateofBirth | string | yes/no (depends on configs) | The customer’s date of birth, example: "2000-01-01 |
informationQuestions | stringarray | yes/no (depends on configs) | The customer’s answers on informational questions, maxLength: 2048 |
answer | array | yes/no (depends on configs) | The answer to the question, maxLength: 2048 |
Response schema
Code 201 -Appointment confirmed
...