POST api/Appointments
Request Information
URI Parameters
None.
Body Parameters
CreateAppointmentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| AppointmentSlotId | integer |
None. |
|
| UserId | globally unique identifier |
None. |
|
| InjuredPartyTitle | string |
None. |
|
| InjuredPartyFirstname | string |
None. |
|
| InjuredPartySurname | string |
None. |
|
| CaseReference | string |
None. |
|
| InstructingPartyReference | string |
None. |
|
| AgencyIdentifier | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"AppointmentSlotId": 1,
"UserId": "24fc95b2-bc64-492c-816d-1da26dca087d",
"InjuredPartyTitle": "sample string 3",
"InjuredPartyFirstname": "sample string 4",
"InjuredPartySurname": "sample string 5",
"CaseReference": "sample string 6",
"InstructingPartyReference": "sample string 7",
"AgencyIdentifier": 8
}
application/xml, text/xml
Sample:
<CreateAppointmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Premex.API.Appointments.Models"> <AgencyIdentifier>8</AgencyIdentifier> <AppointmentSlotId>1</AppointmentSlotId> <CaseReference>sample string 6</CaseReference> <InjuredPartyFirstname>sample string 4</InjuredPartyFirstname> <InjuredPartySurname>sample string 5</InjuredPartySurname> <InjuredPartyTitle>sample string 3</InjuredPartyTitle> <InstructingPartyReference>sample string 7</InstructingPartyReference> <UserId>24fc95b2-bc64-492c-816d-1da26dca087d</UserId> </CreateAppointmentModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.