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": "0be08033-2190-4e70-97fc-07c113365fdc",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "b0bf6df0-b195-441e-860f-122dcc974975",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "19fd8ab4-5ed0-49bc-bbb5-1cf68fed1777",
"PartnerID": "6bf351d5-a971-41f2-9967-91cec9d6f8ad"
},
"IssueID": "e413342a-8fe0-4bd5-a079-8d35cebe494e",
"ReportedDate": "2026-09-22T08:57:06.0118732+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "f91dc91b-1631-4773-8117-c1da4a647f48",
"ReportedByName": "sample string 6",
"AssignedToID": "d57d00cb-0b87-433f-a788-0f3dfa183b72",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-09-22T08:57:06.0118732+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "78a1de74-6f11-4ee8-8756-e7ca41406095",
"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": "864ff149-37ff-411e-b691-ee54a30a4ee3",
"ServiceTypeID": "ba02263a-a104-40e6-8875-1409320445c3",
"WorkOrderOn": "2026-09-22T08:57:06.0118732+04:00",
"WorkOrderID": "4044b0dd-fde6-496b-81ee-d5638ba7960c",
"InspectionOn": "2026-09-22T08:57:06.0118732+04:00",
"InspectionItemID": "1fbce191-8369-4a4e-93c3-15acc7381baa"
},
"PrevVehicleID": "3d853e21-66f2-4ed0-9090-31d93faa2759",
"CloseBy": "26595fa0-6e4e-48a9-979a-67259e3cbbe0",
"CloseOn": "2026-09-22T08:57:06.0118732+04:00",
"CriticalLevel": 0,
"Id": "07824598-5ff4-4aa6-9805-16ba54903971",
"UserName": "sample string 17",
"UserID": "86bcfe83-812b-4c1d-827e-ab4adb06e78e",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-09-22T08:57:06.0118732+04:00",
"ClientID": "0c135d14-c673-4cac-9e52-bac92d2989d0",
"ClientName": "sample string 22",
"PartnerID": "8211ad0e-42c5-461e-8c28-b5d6b5bb7c5f",
"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">0c135d14-c673-4cac-9e52-bac92d2989d0</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-09-22T08:57:06.0118732+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">07824598-5ff4-4aa6-9805-16ba54903971</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">8211ad0e-42c5-461e-8c28-b5d6b5bb7c5f</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">86bcfe83-812b-4c1d-827e-ab4adb06e78e</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>d57d00cb-0b87-433f-a788-0f3dfa183b72</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>78a1de74-6f11-4ee8-8756-e7ca41406095</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>26595fa0-6e4e-48a9-979a-67259e3cbbe0</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-09-22T08:57:06.0118732+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-09-22T08:57:06.0118732+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>e413342a-8fe0-4bd5-a079-8d35cebe494e</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>3d853e21-66f2-4ed0-9090-31d93faa2759</PrevVehicleID>
<ReportedByID>f91dc91b-1631-4773-8117-c1da4a647f48</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-09-22T08:57:06.0118732+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>1fbce191-8369-4a4e-93c3-15acc7381baa</InspectionItemID>
<InspectionOn>2026-09-22T08:57:06.0118732+04:00</InspectionOn>
<ServiceID>864ff149-37ff-411e-b691-ee54a30a4ee3</ServiceID>
<ServiceTypeID>ba02263a-a104-40e6-8875-1409320445c3</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>4044b0dd-fde6-496b-81ee-d5638ba7960c</WorkOrderID>
<WorkOrderOn>2026-09-22T08:57:06.0118732+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>19fd8ab4-5ed0-49bc-bbb5-1cf68fed1777</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>b0bf6df0-b195-441e-860f-122dcc974975</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>6bf351d5-a971-41f2-9967-91cec9d6f8ad</d2p1:PartnerID>
<d2p1:VehicleID>0be08033-2190-4e70-97fc-07c113365fdc</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": "ba12ffcf-fe65-4c9c-b582-b07bfbadd6e3",
"Value": "sample string 3",
"RecordOn": "2026-09-22T08:57:06.0118732+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>ba12ffcf-fe65-4c9c-b582-b07bfbadd6e3</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-09-22T08:57:06.0118732+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>