POST Api/Issue
Request Information
URI Parameters
None.
Body Parameters
Issue| Name | 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. |
Request Formats
application/json, text/json
Sample:
{
"Vehicle": {
"VehicleID": "f49d8544-9615-4e07-bbd5-3d8fd04d75d4",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "9c08cdc1-09cf-4aae-9f8f-4389e83a1ef9",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "e40ecfeb-810a-4943-8bf3-894ce797070b",
"PartnerID": "8a0869c3-6e8f-4aaa-b4ca-a27d17b1decd"
},
"IssueID": "94d05304-e7f2-4c68-801c-6462cb081afa",
"ReportedDate": "2026-05-10T12:06:42.9750468+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "8ed8a706-87d1-453b-bd8d-868c551be7eb",
"ReportedByName": "sample string 6",
"AssignedToID": "3f88f024-31fd-4ccf-8fb7-56dd7fb82e40",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-05-10T12:06:42.9750468+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "3bf5e1e5-e22b-435c-8507-0b804d9cfed6",
"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": "133ab8e4-eedb-468a-b883-3f897df01d14",
"ServiceTypeID": "b032915a-9359-46b0-b860-eb45b2bd60b6",
"WorkOrderOn": "2026-05-10T12:06:42.9750468+04:00",
"WorkOrderID": "90d46ce1-05ca-4475-a2f3-d01a64efba74",
"InspectionOn": "2026-05-10T12:06:42.9750468+04:00",
"InspectionItemID": "59dadcbb-93d5-4094-9e44-bb4c4276ef2e"
},
"PrevVehicleID": "94233ccc-55b6-4c69-a1d4-f2f132dd1b0d",
"CloseBy": "03a086f5-c1ec-45eb-b10b-14a86b70fd34",
"CloseOn": "2026-05-10T12:06:42.9750468+04:00",
"CriticalLevel": 0,
"Id": "a776516b-be1a-4d68-bb27-c6dbc0994242",
"UserName": "sample string 17",
"UserID": "6aa803b4-2a76-4072-bae1-51175b2a1049",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-05-10T12:06:42.9750468+04:00",
"ClientID": "47ca896b-c8e0-4bd5-a4e5-ac0e66c3ae6a",
"ClientName": "sample string 22",
"PartnerID": "20d3d22b-ec2b-4a25-a79d-8957ed3b920b",
"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">47ca896b-c8e0-4bd5-a4e5-ac0e66c3ae6a</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">2026-05-10T12:06:42.9750468+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">a776516b-be1a-4d68-bb27-c6dbc0994242</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">20d3d22b-ec2b-4a25-a79d-8957ed3b920b</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">6aa803b4-2a76-4072-bae1-51175b2a1049</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>3f88f024-31fd-4ccf-8fb7-56dd7fb82e40</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>3bf5e1e5-e22b-435c-8507-0b804d9cfed6</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>03a086f5-c1ec-45eb-b10b-14a86b70fd34</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-05-10T12:06:42.9750468+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-05-10T12:06:42.9750468+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>94d05304-e7f2-4c68-801c-6462cb081afa</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>94233ccc-55b6-4c69-a1d4-f2f132dd1b0d</PrevVehicleID>
<ReportedByID>8ed8a706-87d1-453b-bd8d-868c551be7eb</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-05-10T12:06:42.9750468+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>59dadcbb-93d5-4094-9e44-bb4c4276ef2e</InspectionItemID>
<InspectionOn>2026-05-10T12:06:42.9750468+04:00</InspectionOn>
<ServiceID>133ab8e4-eedb-468a-b883-3f897df01d14</ServiceID>
<ServiceTypeID>b032915a-9359-46b0-b860-eb45b2bd60b6</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>90d46ce1-05ca-4475-a2f3-d01a64efba74</WorkOrderID>
<WorkOrderOn>2026-05-10T12:06:42.9750468+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>e40ecfeb-810a-4943-8bf3-894ce797070b</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>9c08cdc1-09cf-4aae-9f8f-4389e83a1ef9</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>8a0869c3-6e8f-4aaa-b4ca-a27d17b1decd</d2p1:PartnerID>
<d2p1:VehicleID>f49d8544-9615-4e07-bbd5-3d8fd04d75d4</d2p1:VehicleID>
<d2p1:VehicleNo>sample string 3</d2p1:VehicleNo>
</Vehicle>
</Issue>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Result| Name | Description | Type | Additional information |
|---|---|---|---|
| IsValid | boolean |
None. |
|
| Message | Collection of string |
None. |
|
| ResponseCodes | Collection of integer |
None. |
|
| Id | globally unique identifier |
None. |
|
| Value | string |
None. |
|
| RecordOn | date |
None. |
Response Formats
application/json, text/json
Sample:
{
"IsValid": true,
"Message": [
"sample string 1",
"sample string 2"
],
"ResponseCodes": [
1,
2
],
"Id": "be161427-d3d5-4208-875d-6b36865741ef",
"Value": "sample string 3",
"RecordOn": "2026-05-10T12:06:42.9750468+04:00"
}
application/xml, text/xml
Sample:
<Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<Id>be161427-d3d5-4208-875d-6b36865741ef</Id>
<IsValid>true</IsValid>
<Message xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:string>sample string 1</d2p1:string>
<d2p1:string>sample string 2</d2p1:string>
</Message>
<RecordOn>2026-05-10T12:06:42.9750468+04:00</RecordOn>
<ResponseCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</ResponseCodes>
<Value>sample string 3</Value>
</Result>