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": "f61183cc-63a7-4b8f-87ff-d65fbf0ce33c", "Name": "sample string 2", "VehicleNo": "sample string 3", "Odometer": 4, "ModelName": "sample string 5", "DriverID": "87e0063e-8cac-4804-919a-372cb4392cdb", "DriverName": "sample string 7", "DriverContactNo": "sample string 8", "IMEINo": "sample string 9", "ClientID": "db605336-7316-4086-ad89-50673f315ed4", "PartnerID": "8ed7eb02-4644-432a-903d-70bfff73312d" }, "IssueID": "59cd9fe3-a916-4cc8-a41f-8f31d5a9e10d", "ReportedDate": "2025-08-08T10:18:40.3968989+04:00", "Summary": "sample string 3", "Description": "sample string 4", "ReportedByID": "fd799d59-31fd-43aa-a5d3-8786b6db07ff", "ReportedByName": "sample string 6", "AssignedToID": "885ac247-0e82-43ff-adae-b666eb18a7c0", "AssignedToName": "sample string 8", "Odometer": 9.1, "DueDate": "2025-08-08T10:18:40.3968989+04:00", "DueOdometer": 11.1, "Attachment": { "AttachmentID": "e3eab0fd-0053-4177-8cc6-dfc44558106b", "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": "6c1d3732-bdcf-47cb-84ca-c540a5b185f7", "ServiceTypeID": "ae239ac7-ddef-4ee4-9c1e-c331b3e1be9d", "WorkOrderOn": "2025-08-08T10:18:40.3968989+04:00", "WorkOrderID": "74892383-9624-44f6-931b-1ca5c038fc01", "InspectionOn": "2025-08-08T10:18:40.3968989+04:00", "InspectionItemID": "afc08b01-5a1f-48c7-98d7-a1fbb1eb23a2" }, "PrevVehicleID": "5344c4df-7bcf-43ed-9960-f329eb7f0d51", "CloseBy": "8d5a4cca-9673-4ff6-a2aa-60002d067a16", "CloseOn": "2025-08-08T10:18:40.3968989+04:00", "CriticalLevel": 0, "Id": "013be259-1e4f-43e7-a0b1-f6947b83665d", "UserName": "sample string 17", "UserID": "37efdfab-e560-4bcc-aac3-c27f1f7879e4", "CreatedBy": "sample string 19", "CreatedOn": "2025-08-08T10:18:40.3968989+04:00", "ClientID": "9492145a-2be7-4a79-ab03-c307b25b353a", "ClientName": "sample string 22", "PartnerID": "ce15d58a-d45d-48d9-84fa-ff76932668fb", "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">9492145a-2be7-4a79-ab03-c307b25b353a</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-08-08T10:18:40.3968989+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">013be259-1e4f-43e7-a0b1-f6947b83665d</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">ce15d58a-d45d-48d9-84fa-ff76932668fb</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">37efdfab-e560-4bcc-aac3-c27f1f7879e4</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName> <AssignedToID>885ac247-0e82-43ff-adae-b666eb18a7c0</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>e3eab0fd-0053-4177-8cc6-dfc44558106b</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>8d5a4cca-9673-4ff6-a2aa-60002d067a16</CloseBy> <CloseNote>sample string 12</CloseNote> <CloseOn>2025-08-08T10:18:40.3968989+04:00</CloseOn> <CriticalLevel>Low</CriticalLevel> <Description>sample string 4</Description> <DueDate>2025-08-08T10:18:40.3968989+04:00</DueDate> <DueOdometer>11.1</DueOdometer> <IssueID>59cd9fe3-a916-4cc8-a41f-8f31d5a9e10d</IssueID> <Odometer>9.1</Odometer> <PrevVehicleID>5344c4df-7bcf-43ed-9960-f329eb7f0d51</PrevVehicleID> <ReportedByID>fd799d59-31fd-43aa-a5d3-8786b6db07ff</ReportedByID> <ReportedByName>sample string 6</ReportedByName> <ReportedDate>2025-08-08T10:18:40.3968989+04:00</ReportedDate> <Summary>sample string 3</Summary> <TransactionDetail> <InspectionItemID>afc08b01-5a1f-48c7-98d7-a1fbb1eb23a2</InspectionItemID> <InspectionOn>2025-08-08T10:18:40.3968989+04:00</InspectionOn> <ServiceID>6c1d3732-bdcf-47cb-84ca-c540a5b185f7</ServiceID> <ServiceTypeID>ae239ac7-ddef-4ee4-9c1e-c331b3e1be9d</ServiceTypeID> <Status>None</Status> <WorkOrderID>74892383-9624-44f6-931b-1ca5c038fc01</WorkOrderID> <WorkOrderOn>2025-08-08T10:18:40.3968989+04:00</WorkOrderOn> </TransactionDetail> <Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <d2p1:ClientID>db605336-7316-4086-ad89-50673f315ed4</d2p1:ClientID> <d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo> <d2p1:DriverID>87e0063e-8cac-4804-919a-372cb4392cdb</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>8ed7eb02-4644-432a-903d-70bfff73312d</d2p1:PartnerID> <d2p1:VehicleID>f61183cc-63a7-4b8f-87ff-d65fbf0ce33c</d2p1:VehicleID> <d2p1:VehicleNo>sample string 3</d2p1:VehicleNo> </Vehicle> </Issue>