GET api/Incident/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
IncidentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| DateOfIncident | date |
None. |
|
| Area | string |
None. |
|
| Latitude | decimal number |
None. |
|
| Longitude | decimal number |
None. |
|
| GeoAddress |
Address as supplied by either cyclist or google (based on lat/long) |
string |
None. |
| Description |
Incident Description |
string |
None. |
| TypeID | integer |
None. |
|
| TypeDescription | string |
None. |
|
| CreatedBy | integer |
None. |
|
| CreatedDate | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"ID": 1,
"DateOfIncident": "2026-03-21T11:27:17.8531719+00:00",
"Area": "sample string 3",
"Latitude": 4.1,
"Longitude": 5.1,
"GeoAddress": "sample string 6",
"Description": "sample string 7",
"TypeID": 8,
"TypeDescription": "sample string 9",
"CreatedBy": 10,
"CreatedDate": "2026-03-21T11:27:17.8531719+00:00"
}
application/xml, text/xml
Sample:
<IncidentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Hub.Server.Models.DTO"> <Area>sample string 3</Area> <CreatedBy>10</CreatedBy> <CreatedDate>2026-03-21T11:27:17.8531719+00:00</CreatedDate> <DateOfIncident>2026-03-21T11:27:17.8531719+00:00</DateOfIncident> <Description>sample string 7</Description> <GeoAddress>sample string 6</GeoAddress> <ID>1</ID> <Latitude>4.1</Latitude> <Longitude>5.1</Longitude> <TypeDescription>sample string 9</TypeDescription> <TypeID>8</TypeID> </IncidentModel>