POST PlanCare2Api/EmployeeAppointments/ChangeOfOccurrenceAppointments
Saves a new OccurrenceAppointment instance. This appointment is part of a recurring Appointment
Requires 'Start' permission for function EmployeeCalendar {2B7BC787-80B4-41AD-8975-FD07F3CC1746}
Request Information
URI Parameters
None.
Body Parameters
The OccurrenceAppointment instance
ChangeOfOccurrenceAppointment| Name | Description | Type | Additional information |
|---|---|---|---|
| Id |
The Id of the occurrence. |
integer |
Required |
| Start |
The start date and time of the occurrence. |
date |
Required |
| End |
The end date and time of the occurrence. |
date |
Required |
| Title |
The subject of the appointment. |
string |
Required |
| Location |
The location of the appointment. |
string |
None |
| ParentId |
The Id of the parent appointment. |
integer |
Required |
| OccurrenceIndex |
The index of the occurrence. |
integer |
Required |
| Type |
Defines the type of the occurrence. |
OccurrenceType |
Required |
| Reason |
The given reason when the appointment is completed or cancelled. This property is for reading purposes only. |
string |
None |
| Status |
Defines the status of the appointment. This property is for reading purposes only. |
PlannedItemStatus |
None |
| StatusChangedByName |
The name of the employee who changed the status of the appointment. |
string |
None |
| StatusChangedById |
The id of the employee who changed the status of the appointment. |
integer |
None |
| CreatedByName |
The name of the employee who created the appointment. |
string |
None |
| CreatedById |
The id of the employee who created the appointment. |
integer |
None |
| Remarks |
The remarks for the occurrence. |
string |
None |
Request Formats
application/json
text/json
application/xml
text/xml
Response Information
Resource Description
Returns the HttpResponseMessage which contains the saved OccurrenceAppointment instance
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 |