POST api/Customer/Appointment/Book
Request Information
URI Parameters
None.
Body Parameters
BookAppointmentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| vendor_id | integer |
None. |
|
| subtype_id | integer |
None. |
|
| appointment_date | date |
None. |
|
| slot_start | time interval |
None. |
|
| slot_end | time interval |
None. |
Request Formats
application/json, text/json
Sample:
{
"vendor_id": 1,
"subtype_id": 2,
"appointment_date": "2026-09-01T13:57:32.4312757+05:30",
"slot_start": "00:00:00.1234567",
"slot_end": "00:00:00.1234567"
}
application/xml, text/xml
Sample:
<BookAppointmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Caremate_API.Models.DTOs.Customer"> <appointment_date>2026-09-01T13:57:32.4312757+05:30</appointment_date> <slot_end>PT0.1234567S</slot_end> <slot_start>PT0.1234567S</slot_start> <subtype_id>2</subtype_id> <vendor_id>1</vendor_id> </BookAppointmentDTO>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |