POST api/appt/user/appointment/create
Request Information
URI Parameters
None.
Body Parameters
AppointmentLightEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| AppointmentId | integer |
None. |
|
| AppointmentDate | date |
None. |
|
| StartTime | date |
None. |
|
| EndTime | date |
None. |
|
| StartTimeString | string |
None. |
|
| EndTimeString | string |
None. |
|
| Customer | CustomerLightEntity |
None. |
|
| Staff | StaffLightEntity |
None. |
|
| Services | Collection of ServiceLightEntity |
None. |
|
| CustomerNote | string |
None. |
|
| VendorId | integer |
None. |
|
| LocationId | integer |
None. |
|
| CanceledReason | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppointmentId": 1,
"AppointmentDate": "2025-12-31T16:37:12.5971846+05:30",
"StartTime": "2025-12-31T16:37:12.5971846+05:30",
"EndTime": "2025-12-31T16:37:12.5971846+05:30",
"StartTimeString": "sample string 4",
"EndTimeString": "sample string 5",
"Customer": {
"CustomerId": 1,
"Name": "sample string 2",
"Email": "sample string 3",
"Mobile": "sample string 4",
"DateOfBirth": "2025-12-31T16:37:12.5971846+05:30",
"Anniversary": "2025-12-31T16:37:12.5971846+05:30",
"Gender": "sample string 5"
},
"Staff": {
"StaffId": 1,
"Name": "sample string 1",
"Title": "sample string 2",
"Gender": "sample string 3",
"Designation": "sample string 4",
"Experience": 5.0,
"ProfilePicture": "sample string 6",
"IsAvailable": true,
"LocationId": 8,
"VendorId": 9
},
"Services": [
{
"VendorId": 1,
"LocationId": 2,
"ServiceId": 1,
"InventoryType": "sample string 3",
"ServiceName": "sample string 4",
"Description": "sample string 5",
"Duration": 1,
"Price": 1.0,
"TaxType": "sample string 6",
"TaxPercentage": 1.0,
"PackageId": 1,
"PackageName": "sample string 7",
"AppointmentServiceMapId": 8
},
{
"VendorId": 1,
"LocationId": 2,
"ServiceId": 1,
"InventoryType": "sample string 3",
"ServiceName": "sample string 4",
"Description": "sample string 5",
"Duration": 1,
"Price": 1.0,
"TaxType": "sample string 6",
"TaxPercentage": 1.0,
"PackageId": 1,
"PackageName": "sample string 7",
"AppointmentServiceMapId": 8
}
],
"CustomerNote": "sample string 6",
"VendorId": 7,
"LocationId": 8,
"CanceledReason": "sample string 9"
}
application/xml, text/xml
Sample:
<AppointmentLightEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/pos_crm_api_DAL.Entities">
<AppointmentDate>2025-12-31T16:37:12.5971846+05:30</AppointmentDate>
<AppointmentId>1</AppointmentId>
<CanceledReason>sample string 9</CanceledReason>
<Customer>
<Anniversary>2025-12-31T16:37:12.5971846+05:30</Anniversary>
<CustomerId>1</CustomerId>
<DateOfBirth>2025-12-31T16:37:12.5971846+05:30</DateOfBirth>
<Email>sample string 3</Email>
<Gender>sample string 5</Gender>
<Mobile>sample string 4</Mobile>
<Name>sample string 2</Name>
</Customer>
<CustomerNote>sample string 6</CustomerNote>
<EndTime>2025-12-31T16:37:12.5971846+05:30</EndTime>
<EndTimeString>sample string 5</EndTimeString>
<LocationId>8</LocationId>
<Services>
<ServiceLightEntity>
<AppointmentServiceMapId>8</AppointmentServiceMapId>
<Description>sample string 5</Description>
<Duration>1</Duration>
<InventoryType>sample string 3</InventoryType>
<LocationId>2</LocationId>
<PackageId>1</PackageId>
<PackageName>sample string 7</PackageName>
<Price>1</Price>
<ServiceId>1</ServiceId>
<ServiceName>sample string 4</ServiceName>
<TaxPercentage>1</TaxPercentage>
<TaxType>sample string 6</TaxType>
<VendorId>1</VendorId>
</ServiceLightEntity>
<ServiceLightEntity>
<AppointmentServiceMapId>8</AppointmentServiceMapId>
<Description>sample string 5</Description>
<Duration>1</Duration>
<InventoryType>sample string 3</InventoryType>
<LocationId>2</LocationId>
<PackageId>1</PackageId>
<PackageName>sample string 7</PackageName>
<Price>1</Price>
<ServiceId>1</ServiceId>
<ServiceName>sample string 4</ServiceName>
<TaxPercentage>1</TaxPercentage>
<TaxType>sample string 6</TaxType>
<VendorId>1</VendorId>
</ServiceLightEntity>
</Services>
<Staff>
<Designation>sample string 4</Designation>
<Experience>5</Experience>
<Gender>sample string 3</Gender>
<IsAvailable>true</IsAvailable>
<LocationId>8</LocationId>
<Name>sample string 1</Name>
<ProfilePicture>sample string 6</ProfilePicture>
<StaffId>1</StaffId>
<Title>sample string 2</Title>
<VendorId>9</VendorId>
</Staff>
<StartTime>2025-12-31T16:37:12.5971846+05:30</StartTime>
<StartTimeString>sample string 4</StartTimeString>
<VendorId>7</VendorId>
</AppointmentLightEntity>
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. |