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": "94ff4168-8bfd-4a4d-bbd0-2c994879d7b9",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "1f12a084-b3e9-4913-9819-49694533c97d",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "c4b44edd-a7af-4b67-901f-54a7b7a695eb",
"PartnerID": "e39dcb03-5eb5-453e-855e-f24a10b8c476"
},
"IssueID": "6d7738e8-988e-46a2-823c-f16d5a464e55",
"ReportedDate": "2026-08-28T11:00:59.6081432+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "695ba3ef-7931-479f-baef-3fa5eb0cb59a",
"ReportedByName": "sample string 6",
"AssignedToID": "7afc9464-5bf5-4a69-9ec6-69da3e17825a",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-08-28T11:00:59.6081432+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "568116aa-563b-4ef1-b2a8-f91421cd2bf1",
"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": "54643dc3-afb7-4394-b2b5-331b4c427606",
"ServiceTypeID": "6f6c9302-f286-4e45-bbf5-42954b5591f1",
"WorkOrderOn": "2026-08-28T11:00:59.6081432+04:00",
"WorkOrderID": "b35ea25a-3c20-4995-8d6d-a974cee48401",
"InspectionOn": "2026-08-28T11:00:59.6081432+04:00",
"InspectionItemID": "acc13257-3a6b-4257-b108-4e9c6a15bae8"
},
"PrevVehicleID": "8f34ef4f-3003-46c2-b292-b5788a8159be",
"CloseBy": "b35175dc-dbd1-4149-9527-aea5e9a88470",
"CloseOn": "2026-08-28T11:00:59.6081432+04:00",
"CriticalLevel": 0,
"Id": "b4d233b7-a720-4a08-912f-4f20d1e74fe9",
"UserName": "sample string 17",
"UserID": "76dd78da-bfa0-43cf-8c60-53e2ac389204",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-08-28T11:00:59.6081432+04:00",
"ClientID": "421f65cd-9ada-4f43-a26f-fa69ed81754e",
"ClientName": "sample string 22",
"PartnerID": "ece2cfc8-3470-4b2c-a146-b07f1d15f6e8",
"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">421f65cd-9ada-4f43-a26f-fa69ed81754e</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-08-28T11:00:59.6081432+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">b4d233b7-a720-4a08-912f-4f20d1e74fe9</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">ece2cfc8-3470-4b2c-a146-b07f1d15f6e8</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">76dd78da-bfa0-43cf-8c60-53e2ac389204</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>7afc9464-5bf5-4a69-9ec6-69da3e17825a</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>568116aa-563b-4ef1-b2a8-f91421cd2bf1</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>b35175dc-dbd1-4149-9527-aea5e9a88470</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-08-28T11:00:59.6081432+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-08-28T11:00:59.6081432+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>6d7738e8-988e-46a2-823c-f16d5a464e55</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>8f34ef4f-3003-46c2-b292-b5788a8159be</PrevVehicleID>
<ReportedByID>695ba3ef-7931-479f-baef-3fa5eb0cb59a</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-08-28T11:00:59.6081432+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>acc13257-3a6b-4257-b108-4e9c6a15bae8</InspectionItemID>
<InspectionOn>2026-08-28T11:00:59.6081432+04:00</InspectionOn>
<ServiceID>54643dc3-afb7-4394-b2b5-331b4c427606</ServiceID>
<ServiceTypeID>6f6c9302-f286-4e45-bbf5-42954b5591f1</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>b35ea25a-3c20-4995-8d6d-a974cee48401</WorkOrderID>
<WorkOrderOn>2026-08-28T11:00:59.6081432+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>c4b44edd-a7af-4b67-901f-54a7b7a695eb</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>1f12a084-b3e9-4913-9819-49694533c97d</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>e39dcb03-5eb5-453e-855e-f24a10b8c476</d2p1:PartnerID>
<d2p1:VehicleID>94ff4168-8bfd-4a4d-bbd0-2c994879d7b9</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": "c84f12d5-b82a-44dd-8697-6a7f3776d9bb",
"Value": "sample string 3",
"RecordOn": "2026-08-28T11:00:59.6081432+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>c84f12d5-b82a-44dd-8697-6a7f3776d9bb</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-08-28T11:00:59.6081432+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>