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": "ba1f4e08-bd92-4d04-9828-6392795d919f",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "dd21b98f-a8d3-4ea4-bb8d-5fb9193a625b",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "29c0cc92-9082-437d-98b1-7e9f4dab5665",
"PartnerID": "39dd7e8d-80c6-47bc-adde-ec2ee2b62444"
},
"IssueID": "6912cbb8-36ff-4b1a-8971-0696615c37eb",
"ReportedDate": "2026-08-21T10:43:55.1601301+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "09904615-41d2-41da-81ef-93cdacb2dd66",
"ReportedByName": "sample string 6",
"AssignedToID": "9e897867-04fe-438a-a7da-96abe11d697a",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-08-21T10:43:55.1601301+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "31296f23-9f71-4ff0-abd1-55bd0f25911f",
"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": "c2f62610-7a40-4f1b-8ac3-ee95bb38f944",
"ServiceTypeID": "8d69b4fa-b9e8-4d50-93c6-1f69e0315b43",
"WorkOrderOn": "2026-08-21T10:43:55.1601301+04:00",
"WorkOrderID": "d4129a2a-dc27-4f97-b583-acca3eda0810",
"InspectionOn": "2026-08-21T10:43:55.1601301+04:00",
"InspectionItemID": "8980ff8c-2cbc-4982-9ddc-4eefe6f0b15a"
},
"PrevVehicleID": "b7b342f3-566c-4f1e-b2a6-4e530218581b",
"CloseBy": "366093d4-ec28-48fd-ae6a-5cff7d698075",
"CloseOn": "2026-08-21T10:43:55.1601301+04:00",
"CriticalLevel": 0,
"Id": "2342af1f-cae7-4b47-be7b-dcfbc948ecda",
"UserName": "sample string 17",
"UserID": "2dcfeca8-aa8d-42f7-a21a-3bdbb2518152",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-08-21T10:43:55.1601301+04:00",
"ClientID": "e5f8447f-c1f3-4328-868c-a5e70fe13746",
"ClientName": "sample string 22",
"PartnerID": "88dd9bc8-13f9-4a8b-b7f1-7f4321ebfbdc",
"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">e5f8447f-c1f3-4328-868c-a5e70fe13746</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-21T10:43:55.1601301+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">2342af1f-cae7-4b47-be7b-dcfbc948ecda</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">88dd9bc8-13f9-4a8b-b7f1-7f4321ebfbdc</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">2dcfeca8-aa8d-42f7-a21a-3bdbb2518152</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>9e897867-04fe-438a-a7da-96abe11d697a</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>31296f23-9f71-4ff0-abd1-55bd0f25911f</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>366093d4-ec28-48fd-ae6a-5cff7d698075</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-08-21T10:43:55.1601301+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-08-21T10:43:55.1601301+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>6912cbb8-36ff-4b1a-8971-0696615c37eb</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>b7b342f3-566c-4f1e-b2a6-4e530218581b</PrevVehicleID>
<ReportedByID>09904615-41d2-41da-81ef-93cdacb2dd66</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-08-21T10:43:55.1601301+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>8980ff8c-2cbc-4982-9ddc-4eefe6f0b15a</InspectionItemID>
<InspectionOn>2026-08-21T10:43:55.1601301+04:00</InspectionOn>
<ServiceID>c2f62610-7a40-4f1b-8ac3-ee95bb38f944</ServiceID>
<ServiceTypeID>8d69b4fa-b9e8-4d50-93c6-1f69e0315b43</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>d4129a2a-dc27-4f97-b583-acca3eda0810</WorkOrderID>
<WorkOrderOn>2026-08-21T10:43:55.1601301+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>29c0cc92-9082-437d-98b1-7e9f4dab5665</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>dd21b98f-a8d3-4ea4-bb8d-5fb9193a625b</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>39dd7e8d-80c6-47bc-adde-ec2ee2b62444</d2p1:PartnerID>
<d2p1:VehicleID>ba1f4e08-bd92-4d04-9828-6392795d919f</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": "8107dc25-a74c-4dd9-99c1-f592697ad894",
"Value": "sample string 3",
"RecordOn": "2026-08-21T10:43:55.1757546+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>8107dc25-a74c-4dd9-99c1-f592697ad894</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-21T10:43:55.1757546+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>