POST api/v1/banzaifieldservices/{PartnerId}/Appointment/{AppointmentId}/Book
Book the appointment passing a time slot
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
PartnerId |
The partner identifier: 1 = 'ePRICE' |
integer |
Required |
AppointmentId |
The Appointment identifier |
integer |
Required |
Body Parameters
BookRequestName | Description | Type | Additional information |
---|---|---|---|
DateStart | date |
None. |
|
DateEnd | date |
None. |
|
CheckSum | integer |
None. |
|
ModBookClick | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "dateStart": "2024-12-29T16:21:33.6074145+01:00", "dateEnd": "2024-12-29T16:21:33.6074145+01:00", "checkSum": 1, "modBookClick": "sample string 3" }
text/plain
Sample:
{"dateStart":"2024-12-29T16:21:33.6074145+01:00","dateEnd":"2024-12-29T16:21:33.6074145+01:00","checkSum":1,"modBookClick":"sample string 3"}
application/xml, text/xml
Sample:
<BookRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServicePlatform.BL.Models.BanzaiServicePlatform.Dto"> <CheckSum>1</CheckSum> <DateEnd>2024-12-29T16:21:33.6074145+01:00</DateEnd> <DateStart>2024-12-29T16:21:33.6074145+01:00</DateStart> <ModBookClick>sample string 3</ModBookClick> </BookRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
application/octet-stream
Sample:
{"DateStart":"2024-12-29T16:21:33.6074145+01:00","DateEnd":"2024-12-29T16:21:33.6074145+01:00","CheckSum":1,"ModBookClick":"sample string 3"}
Response Information
Resource Description
HttpStatusCodeResponse Formats
application/json, text/json, text/plain, application/octet-stream
Sample:
100
application/xml, text/xml
Sample:
<HttpStatusCode xmlns="http://schemas.datacontract.org/2004/07/System.Net">Continue</HttpStatusCode>
text/javascript, application/javascript, application/json-p
Sample:
(100);