POST apiassetoauth/driive/fnoldetails
Create details of an accident
Request Information
URI Parameters
None.
Body Parameters
The FNOLDetailsRequest
OAuthFNOLDetailsRequestName | Description | Type | Additional information |
---|---|---|---|
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 OAuthAccidentWitnessDetails |
None. |
AccidentThirdParties |
Details of third parties involved in the accident |
Collection of OAuthAccidentThirdPartyDetails |
None. |
AccidentPhotos |
Any details of accident photos |
Collection of OAuthAccidentPhotoDetails |
None. |
Request Formats
application/json, text/json
Sample:
{ "ServiceId": 1, "AccidentLatitude": 2.1, "AccidentLongitude": 3.1, "AccidentTime": "2025-04-27T15:48:20.6265301+00:00", "VehicleDamagedArea": "sample string 5", "PassengerCount": 6, "VehicleCondition": "sample string 7", "PoliceAttended": true, "PoliceReferenceNumber": "sample string 9", "Injuries": true, "AccidentDescription": "sample string 11", "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
Sample:
<OAuthFNOLDetailsRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <ServiceId>1</ServiceId> <AccidentLatitude>2.1</AccidentLatitude> <AccidentLongitude>3.1</AccidentLongitude> <AccidentTime>2025-04-27T15:48:20.6265301+00:00</AccidentTime> <VehicleDamagedArea>sample string 5</VehicleDamagedArea> <PassengerCount>6</PassengerCount> <VehicleCondition>sample string 7</VehicleCondition> <PoliceAttended>true</PoliceAttended> <PoliceReferenceNumber>sample string 9</PoliceReferenceNumber> <Injuries>true</Injuries> <AccidentDescription>sample string 11</AccidentDescription> <AccidentWitnesses> <OAuthAccidentWitnessDetails> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <PhoneNumber>sample string 3</PhoneNumber> <KnownToClient>true</KnownToClient> <InvolvementInAccident>sample string 5</InvolvementInAccident> </OAuthAccidentWitnessDetails> <OAuthAccidentWitnessDetails> <FirstName>sample string 1</FirstName> <LastName>sample string 2</LastName> <PhoneNumber>sample string 3</PhoneNumber> <KnownToClient>true</KnownToClient> <InvolvementInAccident>sample string 5</InvolvementInAccident> </OAuthAccidentWitnessDetails> </AccidentWitnesses> <AccidentThirdParties> <OAuthAccidentThirdPartyDetails> <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> </OAuthAccidentThirdPartyDetails> <OAuthAccidentThirdPartyDetails> <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> </OAuthAccidentThirdPartyDetails> </AccidentThirdParties> <AccidentPhotos> <OAuthAccidentPhotoDetails> <S3Key>sample string 1</S3Key> <PhotoDescription>sample string 2</PhotoDescription> </OAuthAccidentPhotoDetails> <OAuthAccidentPhotoDetails> <S3Key>sample string 1</S3Key> <PhotoDescription>sample string 2</PhotoDescription> </OAuthAccidentPhotoDetails> </AccidentPhotos> </OAuthFNOLDetailsRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
FNOLDetailsResponse
FNOLDetailsResponseName | Description | Type | Additional information |
---|---|---|---|
Result |
The result of the call |
boolean |
None. |
Response Formats
application/json, text/json
Sample:
{ "Result": true }
application/xml, text/xml
Sample:
<FNOLDetailsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Result>true</Result> </FNOLDetailsResponse>