POST api/guests/{guestId}/Appointments/Add
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| guestId | decimal number |
Required |
Body Parameters
AppointmentSave| Name | Description | Type | Additional information |
|---|---|---|---|
| ClubAt | string |
Required |
|
| ResourceId | decimal number |
None. |
|
| StartDate | string |
Required Matching regular expression pattern: (((0|1)[0-9]|2[0-9]|3[0-1])\/(0[1-9]|1[0-9]|2[0-9]|3[0-9])\/((19|20|21)\d\d))$ String length: inclusive between 0 and 10 |
|
| EndDate | string |
Required Matching regular expression pattern: (((0|1)[0-9]|2[0-9]|3[0-1])\/(0[1-9]|1[0-9]|2[0-9]|3[0-9])\/((19|20|21)\d\d))$ String length: inclusive between 0 and 10 |
|
| AppointmentTypeId | decimal number |
Required |
|
| AppointmentType | string |
Required String length: inclusive between 0 and 2 |
|
| Origin | string |
None. |
|
| EnployeeId | string |
None. |
|
| OriginalAppointmentId | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"clubAt": "sample string 1",
"resourceId": 2.0,
"startDate": "sample string 3",
"endDate": "sample string 4",
"appointmentTypeId": 5.0,
"appointmentType": "sample string 6",
"origin": "sample string 7",
"enployeeId": "sample string 8",
"originalAppointmentId": 9.0
}
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.