GET api/VehicleDamage/GetDamagesByTransaction?apiKey={apiKey}&agreementID={agreementID}&replacementID={replacementID}&type={type}&status={status}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
apiKey | string |
Required |
|
agreementID | globally unique identifier |
Required |
|
replacementID | globally unique identifier |
Required |
|
type | integer |
Required |
|
status | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of VehicleDamageDetailName | Description | Type | Additional 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": "1c55ac2e-5d43-497a-9ef8-61c1d60cb585", "VehicleID": "161a61b9-1492-4c38-ae60-5120e06449c3", "xPoint": 3.0, "yPoint": 4.0, "Remark": "sample string 5", "DamageType": 1, "CreatedBy": "3e24cef9-12e3-4ba4-985c-ec171379e852", "CreatedOn": "2023-12-08T21:01:19.4756147+04:00", "ModifiedBy": "07e7c38a-7afa-45c1-b2ce-289ae40ccd49", "ModifiedOn": "2023-12-08T21:01:19.4756147+04:00", "IsDeleted": true }, { "VehicleDamageDetailID": "1c55ac2e-5d43-497a-9ef8-61c1d60cb585", "VehicleID": "161a61b9-1492-4c38-ae60-5120e06449c3", "xPoint": 3.0, "yPoint": 4.0, "Remark": "sample string 5", "DamageType": 1, "CreatedBy": "3e24cef9-12e3-4ba4-985c-ec171379e852", "CreatedOn": "2023-12-08T21:01:19.4756147+04:00", "ModifiedBy": "07e7c38a-7afa-45c1-b2ce-289ae40ccd49", "ModifiedOn": "2023-12-08T21:01:19.4756147+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">3e24cef9-12e3-4ba4-985c-ec171379e852</CreatedBy> <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2023-12-08T21:01:19.4756147+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">07e7c38a-7afa-45c1-b2ce-289ae40ccd49</ModifiedBy> <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2023-12-08T21:01:19.4756147+04:00</ModifiedOn> <DamageType>Dent</DamageType> <Remark>sample string 5</Remark> <VehicleDamageDetailID>1c55ac2e-5d43-497a-9ef8-61c1d60cb585</VehicleDamageDetailID> <VehicleID>161a61b9-1492-4c38-ae60-5120e06449c3</VehicleID> <xPoint>3</xPoint> <yPoint>4</yPoint> </VehicleDamageDetail> <VehicleDamageDetail> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">3e24cef9-12e3-4ba4-985c-ec171379e852</CreatedBy> <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2023-12-08T21:01:19.4756147+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">07e7c38a-7afa-45c1-b2ce-289ae40ccd49</ModifiedBy> <ModifiedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetlet.Entity">2023-12-08T21:01:19.4756147+04:00</ModifiedOn> <DamageType>Dent</DamageType> <Remark>sample string 5</Remark> <VehicleDamageDetailID>1c55ac2e-5d43-497a-9ef8-61c1d60cb585</VehicleDamageDetailID> <VehicleID>161a61b9-1492-4c38-ae60-5120e06449c3</VehicleID> <xPoint>3</xPoint> <yPoint>4</yPoint> </VehicleDamageDetail> </ArrayOfVehicleDamageDetail>