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": "d21565f4-58ca-4568-8811-78fdafefea0c",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "22654ba3-db9a-42bd-a780-24a14ac9b414",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "133424a7-7751-4b52-9398-d748cb157826",
"PartnerID": "9a6869f0-43a3-45c6-87b0-e64f7113ad7c"
},
"IssueID": "06daa709-d0e8-411d-8560-9a54eecbf641",
"ReportedDate": "2026-02-08T22:52:32.6724193+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "44eb2fe1-6227-465d-9c5f-b4c807faf865",
"ReportedByName": "sample string 6",
"AssignedToID": "5ccb3413-bad1-4ee5-a89d-d9fe519b9574",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-02-08T22:52:32.6724193+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "da6ad603-9d97-47e7-a23f-c7118e9abb4b",
"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": "da2c37e0-dca2-4a65-8514-44b3c4cc022a",
"ServiceTypeID": "0d13f5c1-bbcc-44b0-a236-bf3160ccf618",
"WorkOrderOn": "2026-02-08T22:52:32.6724193+04:00",
"WorkOrderID": "1845f12a-007a-4865-8ec6-f119380bc4f7",
"InspectionOn": "2026-02-08T22:52:32.6724193+04:00",
"InspectionItemID": "98c8fdd9-c19f-4ddd-9b37-7a8d3ec99991"
},
"PrevVehicleID": "f092f274-4138-4508-b4e9-bd4925d980d8",
"CloseBy": "4f8b1761-92f0-4faa-811f-07353a8b6608",
"CloseOn": "2026-02-08T22:52:32.6724193+04:00",
"CriticalLevel": 0,
"Id": "912bf660-c66e-4106-bcba-07f74dc1cf95",
"UserName": "sample string 17",
"UserID": "ac7db343-b7cf-484e-bce5-e41831763519",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-02-08T22:52:32.6724193+04:00",
"ClientID": "760c559e-a5b8-41a1-ac13-2ac55695ec33",
"ClientName": "sample string 22",
"PartnerID": "3299c862-9670-4432-8956-3dc1858b33eb",
"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">760c559e-a5b8-41a1-ac13-2ac55695ec33</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-08T22:52:32.6724193+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">912bf660-c66e-4106-bcba-07f74dc1cf95</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">3299c862-9670-4432-8956-3dc1858b33eb</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">ac7db343-b7cf-484e-bce5-e41831763519</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>5ccb3413-bad1-4ee5-a89d-d9fe519b9574</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>da6ad603-9d97-47e7-a23f-c7118e9abb4b</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>4f8b1761-92f0-4faa-811f-07353a8b6608</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-02-08T22:52:32.6724193+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-02-08T22:52:32.6724193+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>06daa709-d0e8-411d-8560-9a54eecbf641</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>f092f274-4138-4508-b4e9-bd4925d980d8</PrevVehicleID>
<ReportedByID>44eb2fe1-6227-465d-9c5f-b4c807faf865</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-02-08T22:52:32.6724193+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>98c8fdd9-c19f-4ddd-9b37-7a8d3ec99991</InspectionItemID>
<InspectionOn>2026-02-08T22:52:32.6724193+04:00</InspectionOn>
<ServiceID>da2c37e0-dca2-4a65-8514-44b3c4cc022a</ServiceID>
<ServiceTypeID>0d13f5c1-bbcc-44b0-a236-bf3160ccf618</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>1845f12a-007a-4865-8ec6-f119380bc4f7</WorkOrderID>
<WorkOrderOn>2026-02-08T22:52:32.6724193+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>133424a7-7751-4b52-9398-d748cb157826</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>22654ba3-db9a-42bd-a780-24a14ac9b414</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>9a6869f0-43a3-45c6-87b0-e64f7113ad7c</d2p1:PartnerID>
<d2p1:VehicleID>d21565f4-58ca-4568-8811-78fdafefea0c</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": "5289511a-6155-4000-95a4-182bacd32ab7",
"Value": "sample string 3",
"RecordOn": "2026-02-08T22:52:32.6724193+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>5289511a-6155-4000-95a4-182bacd32ab7</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-08T22:52:32.6724193+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>