POST api/driive/fnoldetails
Create details of an accident
Request Information
URI Parameters
None.
Body Parameters
The FNOLDetailsRequest
FNOLDetailsRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Token |
The token returned after login used for authentication |
string |
None. |
| DriverId |
The driver id returned after login used for authentication |
unsigned integer |
None. |
| ServiceId |
The service id of the vehicle being driven |
unsigned integer |
None. |
| AccidentLatitude |
The accident latitude |
decimal number |
None. |
| AccidentLongitude |
The accident longitude |
decimal number |
None. |
| AccidentTime |
The accident time in UTC |
date |
None. |
| VehicleDamagedArea |
The area of the vehicle damaged |
string |
None. |
| PassengerCount |
How many passengers were in your vehicle |
integer |
None. |
| VehicleCondition |
The vehicles condition |
string |
None. |
| PoliceAttended |
Indicates if police attended the accident |
boolean |
None. |
| PoliceReferenceNumber |
A police reference number if one was provided |
string |
None. |
| Injuries |
Indicates if anyone was injured in the crash |
boolean |
None. |
| AccidentDescription |
Details of the accident |
string |
None. |
| AccidentWitnesses |
Details of any witnesses to the accident |
Collection of AccidentWitnessDetails |
None. |
| AccidentThirdParties |
Details of third parties involved in the accident |
Collection of AccidentThirdPartyDetails |
None. |
| AccidentPhotos |
Any details of accident photos |
Collection of AccidentPhotoDetails |
None. |
Request Formats
application/json, text/json
{
"Token": "sample string 1",
"DriverId": 2,
"ServiceId": 3,
"AccidentLatitude": 4.1,
"AccidentLongitude": 5.1,
"AccidentTime": "2025-12-14T06:16:18.9815192+00:00",
"VehicleDamagedArea": "sample string 7",
"PassengerCount": 8,
"VehicleCondition": "sample string 9",
"PoliceAttended": true,
"PoliceReferenceNumber": "sample string 11",
"Injuries": true,
"AccidentDescription": "sample string 13",
"AccidentWitnesses": [
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"PhoneNumber": "sample string 3",
"KnownToClient": true,
"InvolvementInAccident": "sample string 5"
},
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"PhoneNumber": "sample string 3",
"KnownToClient": true,
"InvolvementInAccident": "sample string 5"
}
],
"AccidentThirdParties": [
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"PhoneNumber": "sample string 3",
"ThirdPartyType": 0,
"VehicleRegistration": "sample string 4",
"VehicleCondition": "sample string 5",
"PassengerCount": 6,
"Make": "sample string 7",
"Model": "sample string 8",
"Description": "sample string 9"
},
{
"FirstName": "sample string 1",
"LastName": "sample string 2",
"PhoneNumber": "sample string 3",
"ThirdPartyType": 0,
"VehicleRegistration": "sample string 4",
"VehicleCondition": "sample string 5",
"PassengerCount": 6,
"Make": "sample string 7",
"Model": "sample string 8",
"Description": "sample string 9"
}
],
"AccidentPhotos": [
{
"S3Key": "sample string 1",
"PhotoDescription": "sample string 2"
},
{
"S3Key": "sample string 1",
"PhotoDescription": "sample string 2"
}
]
}
application/xml, text/xml
<FNOLDetailsRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<Token>sample string 1</Token>
<DriverId>2</DriverId>
<ServiceId>3</ServiceId>
<AccidentLatitude>4.1</AccidentLatitude>
<AccidentLongitude>5.1</AccidentLongitude>
<AccidentTime>2025-12-14T06:16:18.9815192+00:00</AccidentTime>
<VehicleDamagedArea>sample string 7</VehicleDamagedArea>
<PassengerCount>8</PassengerCount>
<VehicleCondition>sample string 9</VehicleCondition>
<PoliceAttended>true</PoliceAttended>
<PoliceReferenceNumber>sample string 11</PoliceReferenceNumber>
<Injuries>true</Injuries>
<AccidentDescription>sample string 13</AccidentDescription>
<AccidentWitnesses>
<AccidentWitnessDetails>
<FirstName>sample string 1</FirstName>
<LastName>sample string 2</LastName>
<PhoneNumber>sample string 3</PhoneNumber>
<KnownToClient>true</KnownToClient>
<InvolvementInAccident>sample string 5</InvolvementInAccident>
</AccidentWitnessDetails>
<AccidentWitnessDetails>
<FirstName>sample string 1</FirstName>
<LastName>sample string 2</LastName>
<PhoneNumber>sample string 3</PhoneNumber>
<KnownToClient>true</KnownToClient>
<InvolvementInAccident>sample string 5</InvolvementInAccident>
</AccidentWitnessDetails>
</AccidentWitnesses>
<AccidentThirdParties>
<AccidentThirdPartyDetails>
<FirstName>sample string 1</FirstName>
<LastName>sample string 2</LastName>
<PhoneNumber>sample string 3</PhoneNumber>
<ThirdPartyType>Vehicle</ThirdPartyType>
<VehicleRegistration>sample string 4</VehicleRegistration>
<VehicleCondition>sample string 5</VehicleCondition>
<PassengerCount>6</PassengerCount>
<Make>sample string 7</Make>
<Model>sample string 8</Model>
<Description>sample string 9</Description>
</AccidentThirdPartyDetails>
<AccidentThirdPartyDetails>
<FirstName>sample string 1</FirstName>
<LastName>sample string 2</LastName>
<PhoneNumber>sample string 3</PhoneNumber>
<ThirdPartyType>Vehicle</ThirdPartyType>
<VehicleRegistration>sample string 4</VehicleRegistration>
<VehicleCondition>sample string 5</VehicleCondition>
<PassengerCount>6</PassengerCount>
<Make>sample string 7</Make>
<Model>sample string 8</Model>
<Description>sample string 9</Description>
</AccidentThirdPartyDetails>
</AccidentThirdParties>
<AccidentPhotos>
<AccidentPhotoDetails>
<S3Key>sample string 1</S3Key>
<PhotoDescription>sample string 2</PhotoDescription>
</AccidentPhotoDetails>
<AccidentPhotoDetails>
<S3Key>sample string 1</S3Key>
<PhotoDescription>sample string 2</PhotoDescription>
</AccidentPhotoDetails>
</AccidentPhotos>
</FNOLDetailsRequest>
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
FNOLDetailsResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Result |
The result of the call |
boolean |
None. |
Response Formats
application/json, text/json
{
"Result": true
}
application/xml, text/xml
<FNOLDetailsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Result>true</Result> </FNOLDetailsResponse>