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": "ec020ad7-16cd-445d-94de-aff474930c0d",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "bca5dcac-a5a2-44d3-9e43-dcd4e3810c98",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "cec1856e-867e-451c-bfca-e74b4305d87c",
"PartnerID": "7ae25164-993d-4283-8b47-067b25e1db95"
},
"IssueID": "20a6d369-1930-423e-b7f8-b1200598d389",
"ReportedDate": "2025-12-25T18:50:01.7291986+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "a792d36a-6f40-43f7-a703-05f1c10461c3",
"ReportedByName": "sample string 6",
"AssignedToID": "57689877-d364-4e3b-8654-02dd3dc7dd74",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2025-12-25T18:50:01.7291986+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "7d915ca1-a3be-4398-8d86-cdaa1fb68a33",
"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": "71931efd-d388-4ccb-a424-41a917079d10",
"ServiceTypeID": "f1683ac4-f2f5-436b-be79-89f6ca1319a5",
"WorkOrderOn": "2025-12-25T18:50:01.7291986+04:00",
"WorkOrderID": "c4fb7652-4cb1-40a4-b27c-a0435605cf94",
"InspectionOn": "2025-12-25T18:50:01.7291986+04:00",
"InspectionItemID": "fd770274-e0b4-42f9-b6a7-4926dfe1e009"
},
"PrevVehicleID": "b6dc7ae6-c497-49e8-8b16-309fff22dd00",
"CloseBy": "9ffc7696-5aac-459c-9e9c-a15097341cc1",
"CloseOn": "2025-12-25T18:50:01.7291986+04:00",
"CriticalLevel": 0,
"Id": "641852d5-7173-405c-b87a-b7ffd9b0db3b",
"UserName": "sample string 17",
"UserID": "574f8b79-9bf7-4b09-8c41-b1d4fa72dc63",
"CreatedBy": "sample string 19",
"CreatedOn": "2025-12-25T18:50:01.7291986+04:00",
"ClientID": "7dd7d885-f211-4220-b7ae-ea8df855fe12",
"ClientName": "sample string 22",
"PartnerID": "383f719b-3858-417e-b135-398a32d96345",
"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">7dd7d885-f211-4220-b7ae-ea8df855fe12</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-12-25T18:50:01.7291986+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">641852d5-7173-405c-b87a-b7ffd9b0db3b</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">383f719b-3858-417e-b135-398a32d96345</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">574f8b79-9bf7-4b09-8c41-b1d4fa72dc63</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>57689877-d364-4e3b-8654-02dd3dc7dd74</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>7d915ca1-a3be-4398-8d86-cdaa1fb68a33</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>9ffc7696-5aac-459c-9e9c-a15097341cc1</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2025-12-25T18:50:01.7291986+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2025-12-25T18:50:01.7291986+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>20a6d369-1930-423e-b7f8-b1200598d389</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>b6dc7ae6-c497-49e8-8b16-309fff22dd00</PrevVehicleID>
<ReportedByID>a792d36a-6f40-43f7-a703-05f1c10461c3</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2025-12-25T18:50:01.7291986+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>fd770274-e0b4-42f9-b6a7-4926dfe1e009</InspectionItemID>
<InspectionOn>2025-12-25T18:50:01.7291986+04:00</InspectionOn>
<ServiceID>71931efd-d388-4ccb-a424-41a917079d10</ServiceID>
<ServiceTypeID>f1683ac4-f2f5-436b-be79-89f6ca1319a5</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>c4fb7652-4cb1-40a4-b27c-a0435605cf94</WorkOrderID>
<WorkOrderOn>2025-12-25T18:50:01.7291986+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>cec1856e-867e-451c-bfca-e74b4305d87c</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>bca5dcac-a5a2-44d3-9e43-dcd4e3810c98</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>7ae25164-993d-4283-8b47-067b25e1db95</d2p1:PartnerID>
<d2p1:VehicleID>ec020ad7-16cd-445d-94de-aff474930c0d</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": "fee14606-3fe8-4a15-b9b2-d6511e67d34b",
"Value": "sample string 3",
"RecordOn": "2025-12-25T18:50:01.7448223+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>fee14606-3fe8-4a15-b9b2-d6511e67d34b</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>2025-12-25T18:50:01.7448223+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>