POST api/Bookings/makeBooking
Request Information
URI Parameters
None.
Body Parameters
MakeBookingRequestName | Description | Type | Additional information |
---|---|---|---|
ReasonDescription | string |
None. |
|
BookingDate | date |
None. |
|
SlotId | integer |
None. |
|
PetId | integer |
None. |
|
DoctorId | string |
None. |
|
UsedSlots | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ReasonDescription": "sample string 1", "BookingDate": "2024-12-21T05:38:08.6060404+00:00", "SlotId": 3, "PetId": 1, "DoctorId": "sample string 4", "UsedSlots": 5 }
text/html
Sample:
{"ReasonDescription":"sample string 1","BookingDate":"2024-12-21T05:38:08.6060404+00:00","SlotId":3,"PetId":1,"DoctorId":"sample string 4","UsedSlots":5}
application/xml, text/xml
Sample:
<MakeBookingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VetAPI.Models"> <BookingDate>2024-12-21T05:38:08.6060404+00:00</BookingDate> <DoctorId>sample string 4</DoctorId> <PetId>1</PetId> <ReasonDescription>sample string 1</ReasonDescription> <SlotId>3</SlotId> <UsedSlots>5</UsedSlots> </MakeBookingRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.