POST api/Appointments?forceAppointmentOwner={forceAppointmentOwner}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
forceAppointmentOwner | boolean |
Default value is True |
Body Parameters
AppointmentName | Description | Type | Additional information |
---|---|---|---|
AppointmentID | globally unique identifier |
None. |
|
SiteID | integer |
None. |
|
StartDateTime | date |
None. |
|
EndDateTime | date |
None. |
|
CustomerID | globally unique identifier |
None. |
|
VehicleID | globally unique identifier |
None. |
|
BusinessID | globally unique identifier |
None. |
|
TicketID | globally unique identifier |
None. |
|
Subject | string |
None. |
|
Description | string |
None. |
|
OriginalStartDateTime | date |
None. |
|
AppointmentTypeCode | string |
None. |
|
AppointmentOwnerID | globally unique identifier |
None. |
|
Color | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "AppointmentID": "c08ba5bf-eb84-4ddc-a870-a310b7acadac", "SiteID": 2, "StartDateTime": "2025-08-14T03:29:24.2481575+00:00", "EndDateTime": "2025-08-14T03:29:24.2481575+00:00", "CustomerID": "61f73987-7893-4c83-acf2-c3878d1b4931", "VehicleID": "47889e1d-3702-477e-893d-44735114b944", "BusinessID": "670463e4-6784-4cbc-844a-bb27df5bb28d", "TicketID": "741959f6-8693-423e-ac83-b2866e3292e9", "Subject": "sample string 9", "Description": "sample string 10", "OriginalStartDateTime": "2025-08-14T03:29:24.2481575+00:00", "AppointmentTypeCode": "sample string 12", "AppointmentOwnerID": "10c7e6e3-e1b3-42bd-a173-5dbdcfc64830", "Color": "sample string 14" }
application/xml, text/xml
Sample:
<Appointment xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <AppointmentID>c08ba5bf-eb84-4ddc-a870-a310b7acadac</AppointmentID> <AppointmentOwnerID>10c7e6e3-e1b3-42bd-a173-5dbdcfc64830</AppointmentOwnerID> <AppointmentTypeCode>sample string 12</AppointmentTypeCode> <BusinessID>670463e4-6784-4cbc-844a-bb27df5bb28d</BusinessID> <Color>sample string 14</Color> <CustomerID>61f73987-7893-4c83-acf2-c3878d1b4931</CustomerID> <Description>sample string 10</Description> <EndDateTime>2025-08-14T03:29:24.2481575+00:00</EndDateTime> <OriginalStartDateTime>2025-08-14T03:29:24.2481575+00:00</OriginalStartDateTime> <SiteID>2</SiteID> <StartDateTime>2025-08-14T03:29:24.2481575+00:00</StartDateTime> <Subject>sample string 9</Subject> <TicketID>741959f6-8693-423e-ac83-b2866e3292e9</TicketID> <VehicleID>47889e1d-3702-477e-893d-44735114b944</VehicleID> </Appointment>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |