POST Api/Issue
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": "bd030751-13dd-42ce-bd5e-a3f047684918",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "b01cfbd5-c565-4141-9151-2d5ec0c2aeb2",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "3c45f109-5e34-4fb2-9b42-b6450f448411",
"PartnerID": "0920f9e3-b9a5-4dc9-a666-906d6a663a9e"
},
"IssueID": "edbf7281-6913-410a-8760-0fcb57287980",
"ReportedDate": "2026-08-03T12:56:40.3222743+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "046c201a-3e5a-4820-a7a8-9ef0c7f64949",
"ReportedByName": "sample string 6",
"AssignedToID": "7705eedf-d39f-4c46-9f3c-8fa17f07e240",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-08-03T12:56:40.3222743+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "e2f3dd6d-af24-48a4-982e-f9884338aee2",
"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": "b1597aea-5782-4eb7-acf3-d8011998f1d1",
"ServiceTypeID": "062ab11c-a4b9-4fae-a5d9-54d92246a7a6",
"WorkOrderOn": "2026-08-03T12:56:40.3222743+04:00",
"WorkOrderID": "14cf78ef-5a96-4b02-8eda-d3bd515f3651",
"InspectionOn": "2026-08-03T12:56:40.3222743+04:00",
"InspectionItemID": "2ac8053c-005c-4424-ad1b-4801b9f5cdb8"
},
"PrevVehicleID": "4fe41cf1-af13-4d65-af49-b6b725b529ee",
"CloseBy": "f83b6e4f-1e8b-4d1f-8312-b346e602d69e",
"CloseOn": "2026-08-03T12:56:40.3222743+04:00",
"CriticalLevel": 0,
"Id": "0546622d-8b73-49d2-9c38-aa3c24324b6b",
"UserName": "sample string 17",
"UserID": "ec27c6e9-096f-4da8-b33f-26326bd6b785",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-08-03T12:56:40.3222743+04:00",
"ClientID": "75b28195-4c1c-473a-a0d9-be7b1ce6dbf3",
"ClientName": "sample string 22",
"PartnerID": "d9a16536-57b0-4a52-bb01-32854dab9116",
"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">75b28195-4c1c-473a-a0d9-be7b1ce6dbf3</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-03T12:56:40.3222743+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">0546622d-8b73-49d2-9c38-aa3c24324b6b</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">d9a16536-57b0-4a52-bb01-32854dab9116</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">ec27c6e9-096f-4da8-b33f-26326bd6b785</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>7705eedf-d39f-4c46-9f3c-8fa17f07e240</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>e2f3dd6d-af24-48a4-982e-f9884338aee2</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>f83b6e4f-1e8b-4d1f-8312-b346e602d69e</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-08-03T12:56:40.3222743+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-08-03T12:56:40.3222743+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>edbf7281-6913-410a-8760-0fcb57287980</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>4fe41cf1-af13-4d65-af49-b6b725b529ee</PrevVehicleID>
<ReportedByID>046c201a-3e5a-4820-a7a8-9ef0c7f64949</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-08-03T12:56:40.3222743+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>2ac8053c-005c-4424-ad1b-4801b9f5cdb8</InspectionItemID>
<InspectionOn>2026-08-03T12:56:40.3222743+04:00</InspectionOn>
<ServiceID>b1597aea-5782-4eb7-acf3-d8011998f1d1</ServiceID>
<ServiceTypeID>062ab11c-a4b9-4fae-a5d9-54d92246a7a6</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>14cf78ef-5a96-4b02-8eda-d3bd515f3651</WorkOrderID>
<WorkOrderOn>2026-08-03T12:56:40.3222743+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>3c45f109-5e34-4fb2-9b42-b6450f448411</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>b01cfbd5-c565-4141-9151-2d5ec0c2aeb2</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>0920f9e3-b9a5-4dc9-a666-906d6a663a9e</d2p1:PartnerID>
<d2p1:VehicleID>bd030751-13dd-42ce-bd5e-a3f047684918</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": "8880cc31-5938-4a24-8012-5019a402606c",
"Value": "sample string 3",
"RecordOn": "2026-08-03T12:56:40.3222743+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>8880cc31-5938-4a24-8012-5019a402606c</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-03T12:56:40.3222743+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>