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": "a572bbb2-9ad6-4172-a884-ed4da0ab471d",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "a04101f9-d509-43af-ac7b-c8927bef53fb",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "8b6f0f78-f73f-479a-a9b5-56b5d395c791",
"PartnerID": "11994aa9-8c5d-46f7-bfdd-7e6805a01502"
},
"IssueID": "3ffcf1ba-5a6a-4487-ad2b-6bfc1b468873",
"ReportedDate": "2026-11-02T09:22:39.1221056+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "a1a68e59-0430-4e0d-bd48-bde3359c4230",
"ReportedByName": "sample string 6",
"AssignedToID": "cf914ca8-8d8c-453b-ad18-85d3cca855d9",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-11-02T09:22:39.1221056+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "e6fa3668-219a-44a4-95e8-3c0a848872f0",
"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": "81a1c407-aa12-478a-a550-45cf2bc37747",
"ServiceTypeID": "909f58f6-d9bd-49b4-9494-087ea75c252a",
"WorkOrderOn": "2026-11-02T09:22:39.1221056+04:00",
"WorkOrderID": "88861f52-9394-4e37-b637-109f9e6ff613",
"InspectionOn": "2026-11-02T09:22:39.1221056+04:00",
"InspectionItemID": "b4d9055b-7b4c-4c6c-a9b4-8d7ec5572e11"
},
"PrevVehicleID": "4171becf-1cb8-4896-bba2-99c998d5b9f8",
"CloseBy": "53d43508-fa0c-407e-8be1-271b95d1f30b",
"CloseOn": "2026-11-02T09:22:39.1221056+04:00",
"CriticalLevel": 0,
"Id": "38017530-64d6-426a-bc36-1ea4f3cef0d2",
"UserName": "sample string 17",
"UserID": "f53255cc-ceae-419d-bdbb-dd8bb4177718",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-11-02T09:22:39.1221056+04:00",
"ClientID": "aee622fc-7c07-4fc2-a7ca-6bcb46cb1fd6",
"ClientName": "sample string 22",
"PartnerID": "76a41aba-f8f6-4401-a36a-3ef9e234627d",
"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">aee622fc-7c07-4fc2-a7ca-6bcb46cb1fd6</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-11-02T09:22:39.1221056+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">38017530-64d6-426a-bc36-1ea4f3cef0d2</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">76a41aba-f8f6-4401-a36a-3ef9e234627d</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">f53255cc-ceae-419d-bdbb-dd8bb4177718</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>cf914ca8-8d8c-453b-ad18-85d3cca855d9</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>e6fa3668-219a-44a4-95e8-3c0a848872f0</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>53d43508-fa0c-407e-8be1-271b95d1f30b</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-11-02T09:22:39.1221056+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-11-02T09:22:39.1221056+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>3ffcf1ba-5a6a-4487-ad2b-6bfc1b468873</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>4171becf-1cb8-4896-bba2-99c998d5b9f8</PrevVehicleID>
<ReportedByID>a1a68e59-0430-4e0d-bd48-bde3359c4230</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-11-02T09:22:39.1221056+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>b4d9055b-7b4c-4c6c-a9b4-8d7ec5572e11</InspectionItemID>
<InspectionOn>2026-11-02T09:22:39.1221056+04:00</InspectionOn>
<ServiceID>81a1c407-aa12-478a-a550-45cf2bc37747</ServiceID>
<ServiceTypeID>909f58f6-d9bd-49b4-9494-087ea75c252a</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>88861f52-9394-4e37-b637-109f9e6ff613</WorkOrderID>
<WorkOrderOn>2026-11-02T09:22:39.1221056+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>8b6f0f78-f73f-479a-a9b5-56b5d395c791</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>a04101f9-d509-43af-ac7b-c8927bef53fb</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>11994aa9-8c5d-46f7-bfdd-7e6805a01502</d2p1:PartnerID>
<d2p1:VehicleID>a572bbb2-9ad6-4172-a884-ed4da0ab471d</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": "6b88eb61-6a91-42d6-81d1-d421341018c1",
"Value": "sample string 3",
"RecordOn": "2026-11-02T09:22:39.1221056+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>6b88eb61-6a91-42d6-81d1-d421341018c1</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-11-02T09:22:39.1221056+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>