POST api/bookappointment
Request Information
URI Parameters
None.
Body Parameters
Appointment| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| CrnId | string |
None. |
|
| LabId | integer |
None. |
|
| PackageId | integer |
None. |
|
| AppointmentDate | date |
None. |
|
| AppointmentTime | date |
None. |
|
| CreatedOn | date |
None. |
|
| ModifiedOn | date |
None. |
|
| Name | string |
None. |
|
| string |
None. |
||
| Mobile | string |
None. |
|
| CityID | integer |
None. |
|
| gender | integer |
None. |
|
| Age | integer |
None. |
|
| PinCode | integer |
None. |
|
| Address | string |
None. |
|
| FranchiseId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"CrnId": "sample string 2",
"LabId": 3,
"PackageId": 4,
"AppointmentDate": "2026-11-14T01:14:41.6468142+05:30",
"AppointmentTime": "2026-11-14T01:14:41.6468142+05:30",
"CreatedOn": "2026-11-14T01:14:41.6468142+05:30",
"ModifiedOn": "2026-11-14T01:14:41.6468142+05:30",
"Name": "sample string 9",
"Email": "sample string 10",
"Mobile": "sample string 11",
"CityID": 12,
"gender": 13,
"Age": 14,
"PinCode": 15,
"Address": "sample string 16",
"FranchiseId": 1
}
application/xml, text/xml
Sample:
<Appointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WYH_Health.Models"> <Address>sample string 16</Address> <Age>14</Age> <AppointmentDate>2026-11-14T01:14:41.6468142+05:30</AppointmentDate> <AppointmentTime>2026-11-14T01:14:41.6468142+05:30</AppointmentTime> <CityID>12</CityID> <CreatedOn>2026-11-14T01:14:41.6468142+05:30</CreatedOn> <CrnId>sample string 2</CrnId> <Email>sample string 10</Email> <FranchiseId>1</FranchiseId> <Id>1</Id> <LabId>3</LabId> <Mobile>sample string 11</Mobile> <ModifiedOn>2026-11-14T01:14:41.6468142+05:30</ModifiedOn> <Name>sample string 9</Name> <PackageId>4</PackageId> <PinCode>15</PinCode> <gender>13</gender> </Appointment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
AppointmentInput| Name | Description | Type | Additional information |
|---|---|---|---|
| CrnId | string |
None. |
|
| PackageId | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"CrnId": "sample string 1",
"PackageId": 2
}
application/xml, text/xml
Sample:
<AppointmentInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WYH_Health.Models"> <CrnId>sample string 1</CrnId> <PackageId>2</PackageId> </AppointmentInput>