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": "345a3e17-e310-45fe-b2d3-5dbac4fcc2a8",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "93e3cb32-d59b-4344-8ecf-692f74defb4a",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "30b4ab37-d9f4-42a1-b584-c5ea4961defc",
"PartnerID": "ead8fee9-ba95-478c-9558-d3ef72bcab5b"
},
"IssueID": "417c8e94-bf0e-4666-9049-15afa2ebbee4",
"ReportedDate": "2026-06-06T18:32:57.9366243+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "4a98fe05-5581-4389-9d9c-4758fda75e94",
"ReportedByName": "sample string 6",
"AssignedToID": "3ff9dfcc-d73e-4888-8e8e-0fdd3249a25f",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-06-06T18:32:57.9366243+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "1ea5303c-17fc-43ac-a4cd-90422463925a",
"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": "d398f065-a286-49a3-9c8b-3891d2117224",
"ServiceTypeID": "02ce4cd6-c46a-4888-86e6-50dc1f22b20c",
"WorkOrderOn": "2026-06-06T18:32:57.9366243+04:00",
"WorkOrderID": "4a493278-495f-4afd-b71f-9b7163727c04",
"InspectionOn": "2026-06-06T18:32:57.9366243+04:00",
"InspectionItemID": "b029e603-ceed-4e0b-bca7-9b63ea34904e"
},
"PrevVehicleID": "a9b6c9ba-d91f-40f7-bf63-4b8059da1d94",
"CloseBy": "bb6fa767-c133-403f-811c-cf73bb490a0f",
"CloseOn": "2026-06-06T18:32:57.9366243+04:00",
"CriticalLevel": 0,
"Id": "09c6db93-1609-4490-9d98-7b17ae55eef5",
"UserName": "sample string 17",
"UserID": "3fbed2c5-71a9-48a4-8efc-fa29127349dc",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-06-06T18:32:57.9366243+04:00",
"ClientID": "7b57185d-269d-4cb1-8a06-4ac55ad8d577",
"ClientName": "sample string 22",
"PartnerID": "ed75c8e5-a5c3-4d9d-821b-c9326417b102",
"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">7b57185d-269d-4cb1-8a06-4ac55ad8d577</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-06-06T18:32:57.9366243+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">09c6db93-1609-4490-9d98-7b17ae55eef5</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">ed75c8e5-a5c3-4d9d-821b-c9326417b102</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">3fbed2c5-71a9-48a4-8efc-fa29127349dc</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>3ff9dfcc-d73e-4888-8e8e-0fdd3249a25f</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>1ea5303c-17fc-43ac-a4cd-90422463925a</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>bb6fa767-c133-403f-811c-cf73bb490a0f</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-06-06T18:32:57.9366243+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-06-06T18:32:57.9366243+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>417c8e94-bf0e-4666-9049-15afa2ebbee4</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>a9b6c9ba-d91f-40f7-bf63-4b8059da1d94</PrevVehicleID>
<ReportedByID>4a98fe05-5581-4389-9d9c-4758fda75e94</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-06-06T18:32:57.9366243+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>b029e603-ceed-4e0b-bca7-9b63ea34904e</InspectionItemID>
<InspectionOn>2026-06-06T18:32:57.9366243+04:00</InspectionOn>
<ServiceID>d398f065-a286-49a3-9c8b-3891d2117224</ServiceID>
<ServiceTypeID>02ce4cd6-c46a-4888-86e6-50dc1f22b20c</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>4a493278-495f-4afd-b71f-9b7163727c04</WorkOrderID>
<WorkOrderOn>2026-06-06T18:32:57.9366243+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>30b4ab37-d9f4-42a1-b584-c5ea4961defc</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>93e3cb32-d59b-4344-8ecf-692f74defb4a</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>ead8fee9-ba95-478c-9558-d3ef72bcab5b</d2p1:PartnerID>
<d2p1:VehicleID>345a3e17-e310-45fe-b2d3-5dbac4fcc2a8</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": "d9dff1cd-4cd3-4e4b-a43c-0b1226cdd23b",
"Value": "sample string 3",
"RecordOn": "2026-06-06T18:32:57.9366243+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>d9dff1cd-4cd3-4e4b-a43c-0b1226cdd23b</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-06-06T18:32:57.9366243+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>