GET api/AlertisApi/GetAppointmentById/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
AppointmentDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Start | date |
None. |
|
| HasAgreedToSafetyRegulations | boolean |
None. |
|
| CarrierId | integer |
None. |
|
| CarrierEmail | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Name": "sample string 1",
"Start": "2026-06-14T02:28:02.1027698+00:00",
"HasAgreedToSafetyRegulations": true,
"CarrierId": 1,
"CarrierEmail": "sample string 4"
}
application/xml, text/xml
Sample:
<AppointmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Alertis.Model.DTO">
<CarrierEmail>sample string 4</CarrierEmail>
<CarrierId>1</CarrierId>
<HasAgreedToSafetyRegulations>true</HasAgreedToSafetyRegulations>
<Id>1</Id>
<Name>sample string 1</Name>
<Start xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:DateTime>2026-06-14T02:28:02.1027698Z</d2p1:DateTime>
<d2p1:OffsetMinutes>0</d2p1:OffsetMinutes>
</Start>
</AppointmentDTO>