POST Api/Issue/Create
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": "6ab99f42-8deb-4f1b-8fdb-97f3ca6c590e",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "e2ae8e70-022b-4ea2-92e0-8b35b66876dd",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "feeae7fd-f400-4484-ba30-bb03280821cf",
"PartnerID": "18f9955e-8966-4a51-8918-168a80e12005"
},
"IssueID": "538c545a-6c62-4d03-883e-a4e3b6cbe648",
"ReportedDate": "2026-05-09T07:37:42.4177383+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "7fe65df3-0912-42a1-975b-76d0634e23ae",
"ReportedByName": "sample string 6",
"AssignedToID": "930bab27-ccea-48fb-9c2a-3a9ba1661c63",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-05-09T07:37:42.4177383+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "1b2be3ec-74cd-479b-a3a4-3d1b9d0ab1c1",
"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": "df7d04e4-2b2a-4a77-82be-d072033e29fc",
"ServiceTypeID": "59cf75d2-5ed9-4621-beab-0c1df1a16bee",
"WorkOrderOn": "2026-05-09T07:37:42.4177383+04:00",
"WorkOrderID": "c128c882-127b-45cf-97a2-6ba251fb4909",
"InspectionOn": "2026-05-09T07:37:42.4177383+04:00",
"InspectionItemID": "7d1bdcda-682b-44ba-9fff-11763d3e9c14"
},
"PrevVehicleID": "68ab0cc5-1d4a-462e-993e-9d1eac96cd8a",
"CloseBy": "b3321b13-da83-42e3-9968-7d82c2071543",
"CloseOn": "2026-05-09T07:37:42.4177383+04:00",
"CriticalLevel": 0,
"Id": "698bcf66-751b-41a4-8d47-7dc8f3b80c2a",
"UserName": "sample string 17",
"UserID": "75e59931-da69-4b99-9088-0c3ee95ecc93",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-05-09T07:37:42.4177383+04:00",
"ClientID": "6036b318-d8a2-4ab7-af61-206bf911d93f",
"ClientName": "sample string 22",
"PartnerID": "dcbd85fa-0cb1-4a56-9483-0d25b8306b28",
"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">6036b318-d8a2-4ab7-af61-206bf911d93f</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-09T07:37:42.4177383+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">698bcf66-751b-41a4-8d47-7dc8f3b80c2a</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">dcbd85fa-0cb1-4a56-9483-0d25b8306b28</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">75e59931-da69-4b99-9088-0c3ee95ecc93</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>930bab27-ccea-48fb-9c2a-3a9ba1661c63</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>1b2be3ec-74cd-479b-a3a4-3d1b9d0ab1c1</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>b3321b13-da83-42e3-9968-7d82c2071543</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-05-09T07:37:42.4177383+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-05-09T07:37:42.4177383+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>538c545a-6c62-4d03-883e-a4e3b6cbe648</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>68ab0cc5-1d4a-462e-993e-9d1eac96cd8a</PrevVehicleID>
<ReportedByID>7fe65df3-0912-42a1-975b-76d0634e23ae</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-05-09T07:37:42.4177383+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>7d1bdcda-682b-44ba-9fff-11763d3e9c14</InspectionItemID>
<InspectionOn>2026-05-09T07:37:42.4177383+04:00</InspectionOn>
<ServiceID>df7d04e4-2b2a-4a77-82be-d072033e29fc</ServiceID>
<ServiceTypeID>59cf75d2-5ed9-4621-beab-0c1df1a16bee</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>c128c882-127b-45cf-97a2-6ba251fb4909</WorkOrderID>
<WorkOrderOn>2026-05-09T07:37:42.4177383+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>feeae7fd-f400-4484-ba30-bb03280821cf</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>e2ae8e70-022b-4ea2-92e0-8b35b66876dd</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>18f9955e-8966-4a51-8918-168a80e12005</d2p1:PartnerID>
<d2p1:VehicleID>6ab99f42-8deb-4f1b-8fdb-97f3ca6c590e</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": "f9a03f8e-f6a8-4216-a16a-19d457538b03",
"Value": "sample string 3",
"RecordOn": "2026-05-09T07:37:42.4333638+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>f9a03f8e-f6a8-4216-a16a-19d457538b03</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-09T07:37:42.4333638+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>