GET Api/Issue/GetByID?clientID={clientID}&id={id}&vehicleID={vehicleID}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
clientID | globally unique identifier |
Required |
|
id | globally unique identifier |
Required |
|
vehicleID | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
IssueName | Description | Type | Additional information |
---|---|---|---|
Vehicle | VehicleBase |
None. |
|
IssueID | globally unique identifier |
None. |
|
ReportedDate | date |
None. |
|
Summary | string |
None. |
|
Description | string |
None. |
|
ReportedByID | globally unique identifier |
None. |
|
ReportedByName | string |
None. |
|
AssignedToID | globally unique identifier |
None. |
|
AssignedToName | string |
None. |
|
Odometer | decimal number |
None. |
|
DueDate | date |
None. |
|
DueOdometer | decimal number |
None. |
|
Attachment | Attachment |
None. |
|
CloseNote | string |
None. |
|
TransactionDetail | IssueTransactionDetail |
None. |
|
PrevVehicleID | globally unique identifier |
None. |
|
CloseBy | globally unique identifier |
None. |
|
CloseOn | date |
None. |
|
CriticalLevel | IssueCriticalLevel |
None. |
|
Id | globally unique identifier |
None. |
|
UserName | string |
None. |
|
UserID | globally unique identifier |
None. |
|
CreatedBy | string |
None. |
|
CreatedOn | date |
None. |
|
ClientID | globally unique identifier |
None. |
|
ClientName | string |
None. |
|
PartnerID | globally unique identifier |
None. |
|
PartnerName | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Vehicle": { "VehicleID": "d96ddfc1-220b-4d43-8706-e76d79bbad03", "Name": "sample string 2", "VehicleNo": "sample string 3", "Odometer": 4, "ModelName": "sample string 5", "DriverID": "a246add7-0ca2-4e3b-9614-9112f482019e", "DriverName": "sample string 7", "DriverContactNo": "sample string 8", "IMEINo": "sample string 9", "ClientID": "89371e0d-8ad3-4946-8609-7cd3e2e4077f", "PartnerID": "7302b384-05cd-41a7-804b-8cb2a1556b6b" }, "IssueID": "6581c697-16a9-4e00-8a27-fbe528d51d6a", "ReportedDate": "2025-05-20T23:14:37.0661954+04:00", "Summary": "sample string 3", "Description": "sample string 4", "ReportedByID": "e3ff6d7c-a2d3-485e-b7af-af2656088906", "ReportedByName": "sample string 6", "AssignedToID": "52169de2-b6d3-48d6-a991-07fb935df03a", "AssignedToName": "sample string 8", "Odometer": 9.1, "DueDate": "2025-05-20T23:14:37.0661954+04:00", "DueOdometer": 11.1, "Attachment": { "AttachmentID": "6386f649-fbea-4466-bfac-6d93717eb16a", "AttachmentData": "QEA=", "AttachmentDataBase64": "sample string 2", "ContentType": "sample string 3", "FileName": "sample string 4", "ImageString": "sample string 5", "IsDeleted": true }, "CloseNote": "sample string 12", "TransactionDetail": { "Status": 0, "ServiceID": "5c3d1b57-dcee-4fe6-91ce-e7197af5f791", "ServiceTypeID": "610ba6f4-4e03-4356-841c-d4dc26cc0b8e", "WorkOrderOn": "2025-05-20T23:14:37.0661954+04:00", "WorkOrderID": "66a9fafd-3b2e-44ef-9704-b3d03d058fc7", "InspectionOn": "2025-05-20T23:14:37.0661954+04:00", "InspectionItemID": "2a4e93f1-41bb-4dc9-b501-19bcd56c0e50" }, "PrevVehicleID": "9587d561-6006-4f97-a5c7-b762c830c7b4", "CloseBy": "05681b2a-a7c2-46e5-b7d0-45f7e43d320e", "CloseOn": "2025-05-20T23:14:37.0661954+04:00", "CriticalLevel": 0, "Id": "bed83980-6428-4778-8907-219bbf69ffd7", "UserName": "sample string 17", "UserID": "eb2c1fc6-2315-4b41-9b10-a3ca8e798311", "CreatedBy": "sample string 19", "CreatedOn": "2025-05-20T23:14:37.0661954+04:00", "ClientID": "94c5fde8-0269-4848-a596-8f80582f8ccd", "ClientName": "sample string 22", "PartnerID": "a7519105-406b-4f4f-b09f-9deba0bc805c", "PartnerName": "sample string 24" }
application/xml, text/xml
Sample:
<Issue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity.ServMaint"> <ClientID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">94c5fde8-0269-4848-a596-8f80582f8ccd</ClientID> <ClientName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 22</ClientName> <CreatedBy xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 19</CreatedBy> <CreatedOn xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">2025-05-20T23:14:37.0661954+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">bed83980-6428-4778-8907-219bbf69ffd7</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">a7519105-406b-4f4f-b09f-9deba0bc805c</PartnerID> <PartnerName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 24</PartnerName> <UserID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">eb2c1fc6-2315-4b41-9b10-a3ca8e798311</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName> <AssignedToID>52169de2-b6d3-48d6-a991-07fb935df03a</AssignedToID> <AssignedToName>sample string 8</AssignedToName> <Attachment xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <d2p1:AttachmentData>QEA=</d2p1:AttachmentData> <d2p1:AttachmentDataBase64>sample string 2</d2p1:AttachmentDataBase64> <d2p1:AttachmentID>6386f649-fbea-4466-bfac-6d93717eb16a</d2p1:AttachmentID> <d2p1:ContentType>sample string 3</d2p1:ContentType> <d2p1:FileName>sample string 4</d2p1:FileName> <d2p1:ImageString>sample string 5</d2p1:ImageString> <d2p1:IsDeleted>true</d2p1:IsDeleted> </Attachment> <CloseBy>05681b2a-a7c2-46e5-b7d0-45f7e43d320e</CloseBy> <CloseNote>sample string 12</CloseNote> <CloseOn>2025-05-20T23:14:37.0661954+04:00</CloseOn> <CriticalLevel>Low</CriticalLevel> <Description>sample string 4</Description> <DueDate>2025-05-20T23:14:37.0661954+04:00</DueDate> <DueOdometer>11.1</DueOdometer> <IssueID>6581c697-16a9-4e00-8a27-fbe528d51d6a</IssueID> <Odometer>9.1</Odometer> <PrevVehicleID>9587d561-6006-4f97-a5c7-b762c830c7b4</PrevVehicleID> <ReportedByID>e3ff6d7c-a2d3-485e-b7af-af2656088906</ReportedByID> <ReportedByName>sample string 6</ReportedByName> <ReportedDate>2025-05-20T23:14:37.0661954+04:00</ReportedDate> <Summary>sample string 3</Summary> <TransactionDetail> <InspectionItemID>2a4e93f1-41bb-4dc9-b501-19bcd56c0e50</InspectionItemID> <InspectionOn>2025-05-20T23:14:37.0661954+04:00</InspectionOn> <ServiceID>5c3d1b57-dcee-4fe6-91ce-e7197af5f791</ServiceID> <ServiceTypeID>610ba6f4-4e03-4356-841c-d4dc26cc0b8e</ServiceTypeID> <Status>None</Status> <WorkOrderID>66a9fafd-3b2e-44ef-9704-b3d03d058fc7</WorkOrderID> <WorkOrderOn>2025-05-20T23:14:37.0661954+04:00</WorkOrderOn> </TransactionDetail> <Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <d2p1:ClientID>89371e0d-8ad3-4946-8609-7cd3e2e4077f</d2p1:ClientID> <d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo> <d2p1:DriverID>a246add7-0ca2-4e3b-9614-9112f482019e</d2p1:DriverID> <d2p1:DriverName>sample string 7</d2p1:DriverName> <d2p1:IMEINo>sample string 9</d2p1:IMEINo> <d2p1:ModelName>sample string 5</d2p1:ModelName> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:Odometer>4</d2p1:Odometer> <d2p1:PartnerID>7302b384-05cd-41a7-804b-8cb2a1556b6b</d2p1:PartnerID> <d2p1:VehicleID>d96ddfc1-220b-4d43-8706-e76d79bbad03</d2p1:VehicleID> <d2p1:VehicleNo>sample string 3</d2p1:VehicleNo> </Vehicle> </Issue>