Vehicle inspections

Vehicles Inspections: bunches of Photos management

Note: You have to Create a Claim in order to attach Screens to it.

post
Create a Screen

https://insp.telematicssdk.com/api/v1/:claim_id/screens
Authorization: Required with Token Content Type: application/form-data Important: You can create a screen if Claim's state is Draft, Pending or Processing
Request
Response
Request
Path Parameters
claim_id
required
integer
Claim ID. Get it via /api/v1/claims
Headers
Authorization
required
string
Token. Get it via https://insp.telematicssdk.com/api/v1/profiles/login/
Response
200: OK
{
"Result": {
"Screen": {
"Id": 0,
"ScreenableId": 0,
"ScreenableType": "string",
"Front": {
"Url": "string"
},
"Back": {
"Url": "string"
},
"LeftFrontWing": {
"Url": "string"
},
"LeftFrontDoor": {
"Url": "string"
},
"LeftRearDoor": {
"Url": "string"
},
"LeftRearWing": {
"Url": "string"
},
"RightFrontWing": {
"Url": "string"
},
"RightFrontDoor": {
"Url": "string"
},
"RightRearDoor": {
"Url": "string"
},
"RightRearWing": {
"Url": "string"
},
"FrontLeftDiagonal": {
"Url": "string"
},
"FrontRightDiagonal": {
"Url": "string"
},
"BackLeftDiagonal": {
"Url": "string"
},
"BackRightDiagonal": {
"Url": "string"
},
"Windshield": {
"Url": "string"
},
"Dashboard": {
"Url": "string"
},
"Left": {
"Url": "string"
},
"Right": {
"Url": "string"
},
"CanQuotation": true,
"CanEdit": true,
"CreatedAt": "2020-10-20T18:00:31.095Z",
"UpdatedAt": "2020-10-20T18:00:31.095Z",
"Screenable": {
"Id": 0,
"Paint": "solid",
"ClaimDateTime": "2020-10-20T18:00:31.095Z",
"Description": "string",
"Lat": "string",
"Lng": "string",
"DriverFirstName": "string",
"DriverLastName": "string",
"DriverPhone": "string",
"DriverLicenseNo": "string",
"InvolvedFirstName": "string",
"InvolvedLastName": "string",
"InvolvedLicenseNo": "string",
"InvolvedVehicleLicenseplateno": "string",
"VehicleMake": "string",
"VehicleModel": "string",
"VehicleLicenseplateno": "string",
"CarToken": "string",
"CarTowing": true,
"CarDrivable": true,
"CreatedAt": "2020-10-20T18:00:31.095Z",
"UpdatedAt": "2020-10-20T18:00:31.095Z",
"DriverName": "string",
"InvolvedComments": "string",
"Locations": "string",
"State": "draft",
"CanEdit": true,
},
"Quotes": [
{
"Id": 0,
"ExternalId": "string",
"ScreenId": 0,
"CreatedAt": "2020-10-20T18:00:31.095Z"
}
]
}
}
}

Request Body: follow Swagger

put
Update a Screen

https://insp.telematicssdk.com/api/v1/screens/:id
Authorization: Required with Token Content Type: application/form-data Important: You can update a Screen only if it's CanEdit == true and Claim's state is Draft, Pending or Processing
Request
Response
Request
Path Parameters
ID
required
integer
Screen ID
Headers
Authorization
required
string
Token. Get it via https://insp.telematicssdk.com/api/v1/profiles/login/
Response
200: OK
{
"Result": {
"Screen": {
"Id": 0,
"ScreenableId": 0,
"ScreenableType": "string",
"Front": {
"Url": "string"
},
"Back": {
"Url": "string"
},
"LeftFrontWing": {
"Url": "string"
},
"LeftFrontDoor": {
"Url": "string"
},
"LeftRearDoor": {
"Url": "string"
},
"LeftRearWing": {
"Url": "string"
},
"RightFrontWing": {
"Url": "string"
},
"RightFrontDoor": {
"Url": "string"
},
"RightRearDoor": {
"Url": "string"
},
"RightRearWing": {
"Url": "string"
},
"FrontLeftDiagonal": {
"Url": "string"
},
"FrontRightDiagonal": {
"Url": "string"
},
"BackLeftDiagonal": {
"Url": "string"
},
"BackRightDiagonal": {
"Url": "string"
},
"Windshield": {
"Url": "string"
},
"Dashboard": {
"Url": "string"
},
"Left": {
"Url": "string"
},
"Right": {
"Url": "string"
},
"CanQuotation": true,
"CanEdit": true,
"CreatedAt": "2020-10-20T18:00:31.095Z",
"UpdatedAt": "2020-10-20T18:00:31.095Z",
"Screenable": {
"Id": 0,
"Paint": "solid",
"ClaimDateTime": "2020-10-20T18:00:31.095Z",
"Description": "string",
"Lat": "string",
"Lng": "string",
"DriverFirstName": "string",
"DriverLastName": "string",
"DriverPhone": "string",
"DriverLicenseNo": "string",
"InvolvedFirstName": "string",
"InvolvedLastName": "string",
"InvolvedLicenseNo": "string",
"InvolvedVehicleLicenseplateno": "string",
"VehicleMake": "string",
"VehicleModel": "string",
"VehicleLicenseplateno": "string",
"CarToken": "string",
"CarTowing": true,
"CarDrivable": true,
"CreatedAt": "2020-10-20T18:00:31.095Z",
"UpdatedAt": "2020-10-20T18:00:31.095Z",
"DriverName": "string",
"InvolvedComments": "string",
"Locations": "string",
"State": "draft",
"CanEdit": true,
},
"Quotes": [
{
"Id": 0,
"ExternalId": "string",
"ScreenId": 0,
"CreatedAt": "2020-10-20T18:00:31.095Z"
}
]
}
}
}

Request Body: follow Swagger

get
Show a Screen

https://insp.telematicssdk.com/api/v1/screens/:id
Authorization: Required with Token
Request
Response
Request
Path Parameters
ID
required
string
Screen ID
Headers
Authorization
required
string
Token. Get it via https://insp.telematicssdk.com/api/v1/profiles/login/
Response
200: OK
{
"Result": {
"Screen": {
"Id": 0,
"ScreenableId": 0,
"ScreenableType": "string",
"Front": {
"Url": "string"
},
"Back": {
"Url": "string"
},
"LeftFrontWing": {
"Url": "string"
},
"LeftFrontDoor": {
"Url": "string"
},
"LeftRearDoor": {
"Url": "string"
},
"LeftRearWing": {
"Url": "string"
},
"RightFrontWing": {
"Url": "string"
},
"RightFrontDoor": {
"Url": "string"
},
"RightRearDoor": {
"Url": "string"
},
"RightRearWing": {
"Url": "string"
},
"FrontLeftDiagonal": {
"Url": "string"
},
"FrontRightDiagonal": {
"Url": "string"
},
"BackLeftDiagonal": {
"Url": "string"
},
"BackRightDiagonal": {
"Url": "string"
},
"Windshield": {
"Url": "string"
},
"Dashboard": {
"Url": "string"
},
"Left": {
"Url": "string"
},
"Right": {
"Url": "string"
},
"CanQuotation": true,
"CanEdit": true,
"CreatedAt": "2020-10-20T18:00:31.095Z",
"UpdatedAt": "2020-10-20T18:00:31.095Z",
"Screenable": {
"Id": 0,
"Paint": "solid",
"ClaimDateTime": "2020-10-20T18:00:31.095Z",
"Description": "string",
"Lat": "string",
"Lng": "string",
"DriverFirstName": "string",
"DriverLastName": "string",
"DriverPhone": "string",
"DriverLicenseNo": "string",
"InvolvedFirstName": "string",
"InvolvedLastName": "string",
"InvolvedLicenseNo": "string",
"InvolvedVehicleLicenseplateno": "string",
"VehicleMake": "string",
"VehicleModel": "string",
"VehicleLicenseplateno": "string",
"CarToken": "string",
"CarTowing": true,
"CarDrivable": true,
"CreatedAt": "2020-10-20T18:00:31.095Z",
"UpdatedAt": "2020-10-20T18:00:31.095Z",
"DriverName": "string",
"InvolvedComments": "string",
"Locations": "string",
"State": "draft",
"CanEdit": true,
},
"Quotes": [
{
"Id": 0,
"ExternalId": "string",
"ScreenId": 0,
"CreatedAt": "2020-10-20T18:00:31.095Z"
}
]
}
}
}

get
Show Screens

https://insp.telematicssdk.com/api/v1/claims/:claim_id/screens
Authorization: Required with Token
Request
Response
Request
Path Parameters
claim_id
required
string
Claim ID. Get it via /api/v1/claims
Headers
Authorization
required
string
Token. Get it via https://insp.telematicssdk.com/api/v1/profiles/login/
Response
200: OK
{
"Result": {
"Screens": [
{
"Id": 0,
"ScreenableId": 0,
"ScreenableType": "string",
"Front": {
"Url": "string"
},
"Back": {
"Url": "string"
},
"LeftFrontWing": {
"Url": "string"
},
"LeftFrontDoor": {
"Url": "string"
},
"LeftRearDoor": {
"Url": "string"
},
"LeftRearWing": {
"Url": "string"
},
"RightFrontWing": {
"Url": "string"
},
"RightFrontDoor": {
"Url": "string"
},
"RightRearDoor": {
"Url": "string"
},
"RightRearWing": {
"Url": "string"
},
"FrontLeftDiagonal": {
"Url": "string"
},
"FrontRightDiagonal": {
"Url": "string"
},
"BackLeftDiagonal": {
"Url": "string"
},
"BackRightDiagonal": {
"Url": "string"
},
"Windshield": {
"Url": "string"
},
"Dashboard": {
"Url": "string"
},
"Left": {
"Url": "string"
},
"Right": {
"Url": "string"
},
"CanQuotation": true,
"CanEdit": true,
"CreatedAt": "2020-10-20T18:50:29.514Z",
"UpdatedAt": "2020-10-20T18:50:29.514Z",
"Screenable": {
"Id": 0,
"Paint": "solid",
"ClaimDateTime": "2020-10-20T18:50:29.514Z",
"Description": "string",
"Lat": "string",
"Lng": "string",
"DriverFirstName": "string",
"DriverLastName": "string",
"DriverPhone": "string",
"DriverLicenseNo": "string",
"InvolvedFirstName": "string",
"InvolvedLastName": "string",
"InvolvedLicenseNo": "string",
"InvolvedVehicleLicenseplateno": "string",
"VehicleMake": "string",
"VehicleModel": "string",
"VehicleLicenseplateno": "string",
"CarToken": "string",
"CarTowing": true,
"CarDrivable": true,
"CreatedAt": "2020-10-20T18:50:29.514Z",
"UpdatedAt": "2020-10-20T18:50:29.514Z",
"DriverName": "string",
"InvolvedComments": "string",
"Locations": "string",
"State": "draft",
"CanEdit": true,
},
"Quotes": [
{
"Id": 0,
"ExternalId": "string",
"ScreenId": 0,
"CreatedAt": "2020-10-20T18:50:29.514Z"
}
]
}
]
}
}