Vehicle inspections

Vehicles Inspections: bunches of Photos management

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

Create a Screen

POST 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

Path Parameters

Name
Type
Description

claim_id

integer

Claim ID. Get it via /api/v1/claims

Headers

Name
Type
Description

Authorization

string

Token. Get it via https://insp.telematicssdk.com/api/v1/profiles/login/

{
  "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

Update a Screen

PUT 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

Path Parameters

Name
Type
Description

ID

integer

Screen ID

Headers

Name
Type
Description

Authorization

string

Token. Get it via https://insp.telematicssdk.com/api/v1/profiles/login/

{
  "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

Show a Screen

GET https://insp.telematicssdk.com/api/v1/screens/:id

Authorization: Required with Token

Path Parameters

Name
Type
Description

ID

string

Screen ID

Headers

Name
Type
Description

Authorization

string

Token. Get it via https://insp.telematicssdk.com/api/v1/profiles/login/

{
  "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"
        }
      ]
    }
  }
}

Show Screens

GET https://insp.telematicssdk.com/api/v1/claims/:claim_id/screens

Authorization: Required with Token

Path Parameters

Name
Type
Description

claim_id

string

Claim ID. Get it via /api/v1/claims

Headers

Name
Type
Description

Authorization

string

Token. Get it via https://insp.telematicssdk.com/api/v1/profiles/login/

{
  "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"
          }
        ]
      }
    ]
  }
}

Last updated