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": "93c5a327-d806-472b-bf3e-e74603fd3d0e",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "ad61048c-d197-46a7-bc01-a35dbb8b8833",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "0e321110-0506-4f2b-a2f1-2809394892be",
"PartnerID": "564c9b80-58e9-4cfe-800c-ef8ca2125e65"
},
"IssueID": "c1c3373c-ad71-47b1-acf0-8edc4a268260",
"ReportedDate": "2026-02-14T23:08:26.3569016+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "aeba9269-c295-4517-b8cf-9ab75b8e4e7d",
"ReportedByName": "sample string 6",
"AssignedToID": "672ebde5-5245-4d37-a3cd-0c8c3bfb6645",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-02-14T23:08:26.3569016+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "c3353556-4429-47cc-915c-0401ea04d37a",
"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": "6200a603-3ed3-4bfc-afaa-e38217d2c6f7",
"ServiceTypeID": "ca0719f0-60bf-43d1-93c7-5a5c86890f4f",
"WorkOrderOn": "2026-02-14T23:08:26.3569016+04:00",
"WorkOrderID": "3d8831ec-aa03-4263-bb98-2aee418aee51",
"InspectionOn": "2026-02-14T23:08:26.3569016+04:00",
"InspectionItemID": "e18b3824-3f77-4df2-9cf2-16738d83a83f"
},
"PrevVehicleID": "da2e742b-a92f-4b2d-b189-fdf7787e252a",
"CloseBy": "e01df45f-d0a8-4ea5-acfd-06fac77f5ddb",
"CloseOn": "2026-02-14T23:08:26.3569016+04:00",
"CriticalLevel": 0,
"Id": "ac5a241a-aabe-415a-b3cc-fb9b15cfe3eb",
"UserName": "sample string 17",
"UserID": "21276147-4b69-492e-aedb-6c5db52057bb",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-02-14T23:08:26.3569016+04:00",
"ClientID": "49cd007a-b5e6-4b2a-a0c6-ec877633e032",
"ClientName": "sample string 22",
"PartnerID": "bf3375c9-8105-4e34-91b5-d2f060540ffb",
"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">49cd007a-b5e6-4b2a-a0c6-ec877633e032</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-02-14T23:08:26.3569016+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">ac5a241a-aabe-415a-b3cc-fb9b15cfe3eb</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">bf3375c9-8105-4e34-91b5-d2f060540ffb</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">21276147-4b69-492e-aedb-6c5db52057bb</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>672ebde5-5245-4d37-a3cd-0c8c3bfb6645</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>c3353556-4429-47cc-915c-0401ea04d37a</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>e01df45f-d0a8-4ea5-acfd-06fac77f5ddb</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-02-14T23:08:26.3569016+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-02-14T23:08:26.3569016+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>c1c3373c-ad71-47b1-acf0-8edc4a268260</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>da2e742b-a92f-4b2d-b189-fdf7787e252a</PrevVehicleID>
<ReportedByID>aeba9269-c295-4517-b8cf-9ab75b8e4e7d</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-02-14T23:08:26.3569016+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>e18b3824-3f77-4df2-9cf2-16738d83a83f</InspectionItemID>
<InspectionOn>2026-02-14T23:08:26.3569016+04:00</InspectionOn>
<ServiceID>6200a603-3ed3-4bfc-afaa-e38217d2c6f7</ServiceID>
<ServiceTypeID>ca0719f0-60bf-43d1-93c7-5a5c86890f4f</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>3d8831ec-aa03-4263-bb98-2aee418aee51</WorkOrderID>
<WorkOrderOn>2026-02-14T23:08:26.3569016+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>0e321110-0506-4f2b-a2f1-2809394892be</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>ad61048c-d197-46a7-bc01-a35dbb8b8833</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>564c9b80-58e9-4cfe-800c-ef8ca2125e65</d2p1:PartnerID>
<d2p1:VehicleID>93c5a327-d806-472b-bf3e-e74603fd3d0e</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": "f630ef8d-10aa-4d75-a4ff-304e70acba8b",
"Value": "sample string 3",
"RecordOn": "2026-02-14T23:08:26.3569016+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>f630ef8d-10aa-4d75-a4ff-304e70acba8b</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-02-14T23:08:26.3569016+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>