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": "a4ff07f0-2367-4cc6-82a5-0870dae6f07d",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "3cb3e605-37e6-4356-9d0c-5b74f23b3672",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "80808b6e-4fc2-46da-b86f-0e96b60f0029",
"PartnerID": "32aeb671-d97e-4a9c-a190-dc794f692a0f"
},
"IssueID": "032247c6-03c7-4599-9ea5-6f1c6af2223e",
"ReportedDate": "2026-09-22T22:13:18.2503231+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "c7f2c92e-59a6-4ed5-a493-35d22e11b391",
"ReportedByName": "sample string 6",
"AssignedToID": "3e1a91bc-f17e-45f6-bab9-d641c413efc1",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-09-22T22:13:18.2503231+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "e977a503-2467-4e5c-b58e-bbde39d18e3e",
"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": "b8e41003-d815-46cf-bed9-be8e56c4fb6f",
"ServiceTypeID": "891e2ce5-36f7-453b-b7dc-b6f06edbd7fa",
"WorkOrderOn": "2026-09-22T22:13:18.2503231+04:00",
"WorkOrderID": "8f5b3267-27ed-4a46-9a45-71132a52d02e",
"InspectionOn": "2026-09-22T22:13:18.2503231+04:00",
"InspectionItemID": "521144bd-4721-4668-8373-47b66eda32f6"
},
"PrevVehicleID": "79302016-ea7f-46f7-a53b-4f8ead94eebe",
"CloseBy": "c5a537bf-04fb-4568-8766-cb9e7d383888",
"CloseOn": "2026-09-22T22:13:18.2503231+04:00",
"CriticalLevel": 0,
"Id": "48b9cd8d-ff65-4651-9661-69c1d9e4d547",
"UserName": "sample string 17",
"UserID": "148833c1-2ac5-44c6-a860-ea71fba95bbd",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-09-22T22:13:18.2503231+04:00",
"ClientID": "f1918118-4f98-49c0-9691-3fa9ee875b9d",
"ClientName": "sample string 22",
"PartnerID": "355f6e17-d28b-46df-8108-6740600cd34b",
"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">f1918118-4f98-49c0-9691-3fa9ee875b9d</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-22T22:13:18.2503231+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">48b9cd8d-ff65-4651-9661-69c1d9e4d547</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">355f6e17-d28b-46df-8108-6740600cd34b</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">148833c1-2ac5-44c6-a860-ea71fba95bbd</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>3e1a91bc-f17e-45f6-bab9-d641c413efc1</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>e977a503-2467-4e5c-b58e-bbde39d18e3e</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>c5a537bf-04fb-4568-8766-cb9e7d383888</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-09-22T22:13:18.2503231+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-09-22T22:13:18.2503231+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>032247c6-03c7-4599-9ea5-6f1c6af2223e</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>79302016-ea7f-46f7-a53b-4f8ead94eebe</PrevVehicleID>
<ReportedByID>c7f2c92e-59a6-4ed5-a493-35d22e11b391</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-09-22T22:13:18.2503231+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>521144bd-4721-4668-8373-47b66eda32f6</InspectionItemID>
<InspectionOn>2026-09-22T22:13:18.2503231+04:00</InspectionOn>
<ServiceID>b8e41003-d815-46cf-bed9-be8e56c4fb6f</ServiceID>
<ServiceTypeID>891e2ce5-36f7-453b-b7dc-b6f06edbd7fa</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>8f5b3267-27ed-4a46-9a45-71132a52d02e</WorkOrderID>
<WorkOrderOn>2026-09-22T22:13:18.2503231+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>80808b6e-4fc2-46da-b86f-0e96b60f0029</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>3cb3e605-37e6-4356-9d0c-5b74f23b3672</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>32aeb671-d97e-4a9c-a190-dc794f692a0f</d2p1:PartnerID>
<d2p1:VehicleID>a4ff07f0-2367-4cc6-82a5-0870dae6f07d</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": "e4917d82-1ef4-4c8b-bcb5-694c307600cf",
"Value": "sample string 3",
"RecordOn": "2026-09-22T22:13:18.2503231+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>e4917d82-1ef4-4c8b-bcb5-694c307600cf</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-22T22:13:18.2503231+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>