GET api/VehicleDamage/GetDamagesByVehicle?apiKey={apiKey}&vehicleID={vehicleID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
apiKey

string

Required

vehicleID

globally unique identifier

Required

Body Parameters

None.

Response Information

Resource Description

Collection of VehicleDamageDetail
NameDescriptionTypeAdditional information
VehicleDamageDetailID

globally unique identifier

None.

VehicleID

globally unique identifier

None.

xPoint

decimal number

None.

yPoint

decimal number

None.

Remark

string

None.

DamageType

DamageType

None.

CreatedBy

globally unique identifier

None.

CreatedOn

date

None.

ModifiedBy

globally unique identifier

None.

ModifiedOn

date

None.

IsDeleted

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "VehicleDamageDetailID": "814ad065-4851-464a-a68d-a50f45b6e582",
    "VehicleID": "036abb34-ae45-4e5f-b180-aedf3f052dea",
    "xPoint": 3.0,
    "yPoint": 4.0,
    "Remark": "sample string 5",
    "DamageType": 1,
    "CreatedBy": "b6a3745a-5239-4d28-aea7-649d97ae4e07",
    "CreatedOn": "2023-12-08T20:47:54.7638858+04:00",
    "ModifiedBy": "11797cb3-f8d9-4fc2-9f07-a60be68ce2fa",
    "ModifiedOn": "2023-12-08T20:47:54.7638858+04:00",
    "IsDeleted": true
  },
  {
    "VehicleDamageDetailID": "814ad065-4851-464a-a68d-a50f45b6e582",
    "VehicleID": "036abb34-ae45-4e5f-b180-aedf3f052dea",
    "xPoint": 3.0,
    "yPoint": 4.0,
    "Remark": "sample string 5",
    "DamageType": 1,
    "CreatedBy": "b6a3745a-5239-4d28-aea7-649d97ae4e07",
    "CreatedOn": "2023-12-08T20:47:54.7638858+04:00",
    "ModifiedBy": "11797cb3-f8d9-4fc2-9f07-a60be68ce2fa",
    "ModifiedOn": "2023-12-08T20:47:54.7638858+04:00",
    "IsDeleted": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfVehicleDamageDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity.Vehicles">
  <VehicleDamageDetail>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">b6a3745a-5239-4d28-aea7-649d97ae4e07</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2023-12-08T20:47:54.7638858+04:00</CreatedOn>
    <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">true</IsDeleted>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">11797cb3-f8d9-4fc2-9f07-a60be68ce2fa</ModifiedBy>
    <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2023-12-08T20:47:54.7638858+04:00</ModifiedOn>
    <DamageType>Dent</DamageType>
    <Remark>sample string 5</Remark>
    <VehicleDamageDetailID>814ad065-4851-464a-a68d-a50f45b6e582</VehicleDamageDetailID>
    <VehicleID>036abb34-ae45-4e5f-b180-aedf3f052dea</VehicleID>
    <xPoint>3</xPoint>
    <yPoint>4</yPoint>
  </VehicleDamageDetail>
  <VehicleDamageDetail>
    <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">b6a3745a-5239-4d28-aea7-649d97ae4e07</CreatedBy>
    <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2023-12-08T20:47:54.7638858+04:00</CreatedOn>
    <IsDeleted xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">true</IsDeleted>
    <ModifiedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">11797cb3-f8d9-4fc2-9f07-a60be68ce2fa</ModifiedBy>
    <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2023-12-08T20:47:54.7638858+04:00</ModifiedOn>
    <DamageType>Dent</DamageType>
    <Remark>sample string 5</Remark>
    <VehicleDamageDetailID>814ad065-4851-464a-a68d-a50f45b6e582</VehicleDamageDetailID>
    <VehicleID>036abb34-ae45-4e5f-b180-aedf3f052dea</VehicleID>
    <xPoint>3</xPoint>
    <yPoint>4</yPoint>
  </VehicleDamageDetail>
</ArrayOfVehicleDamageDetail>