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": "1ad6aa20-8801-45e5-ad65-4fa6524fbd77",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "581453c7-a758-4771-803c-e3de027dba35",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "ce1ea3b6-3929-41d5-9773-9ba78209b3bb",
"PartnerID": "f44408fa-3485-4129-8de4-f61921a39445"
},
"IssueID": "0910c104-6094-4c8e-a3bb-a644f6a1ab48",
"ReportedDate": "2026-02-04T07:02:39.6989187+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "732fef77-b70a-4084-bcd3-b5567761ada7",
"ReportedByName": "sample string 6",
"AssignedToID": "30e3aad0-1c51-4c35-a30d-528a74b0ff45",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-02-04T07:02:39.6989187+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "20af9edb-b387-4999-8d71-ee68c1dc80dc",
"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": "5f1b8009-abad-4ca1-ab24-db7b2a50ba0a",
"ServiceTypeID": "57960907-eda8-446e-ac6c-807c3dba8b7e",
"WorkOrderOn": "2026-02-04T07:02:39.6989187+04:00",
"WorkOrderID": "8c7ac0e4-d11b-4074-b421-58c93aabea0c",
"InspectionOn": "2026-02-04T07:02:39.6989187+04:00",
"InspectionItemID": "cdcc6c19-deb3-4bfb-8e18-a673359016a1"
},
"PrevVehicleID": "6cca8616-df8d-4758-8327-9a1f6b7f05f8",
"CloseBy": "b605a342-900d-4f47-a70c-1abbcb000f64",
"CloseOn": "2026-02-04T07:02:39.6989187+04:00",
"CriticalLevel": 0,
"Id": "2bf485e8-efc5-4329-a426-3b7d0ce60df5",
"UserName": "sample string 17",
"UserID": "5d2e6a13-721f-4ab4-936c-2a2b9fe4ddd7",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-02-04T07:02:39.6989187+04:00",
"ClientID": "efa6b3ad-0c07-47fe-b2ec-ff2376efbb11",
"ClientName": "sample string 22",
"PartnerID": "144ca9e8-e463-4091-a4c3-6954128465ca",
"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">efa6b3ad-0c07-47fe-b2ec-ff2376efbb11</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-02-04T07:02:39.6989187+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">2bf485e8-efc5-4329-a426-3b7d0ce60df5</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">144ca9e8-e463-4091-a4c3-6954128465ca</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">5d2e6a13-721f-4ab4-936c-2a2b9fe4ddd7</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>30e3aad0-1c51-4c35-a30d-528a74b0ff45</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>20af9edb-b387-4999-8d71-ee68c1dc80dc</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>b605a342-900d-4f47-a70c-1abbcb000f64</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-02-04T07:02:39.6989187+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-02-04T07:02:39.6989187+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>0910c104-6094-4c8e-a3bb-a644f6a1ab48</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>6cca8616-df8d-4758-8327-9a1f6b7f05f8</PrevVehicleID>
<ReportedByID>732fef77-b70a-4084-bcd3-b5567761ada7</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-02-04T07:02:39.6989187+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>cdcc6c19-deb3-4bfb-8e18-a673359016a1</InspectionItemID>
<InspectionOn>2026-02-04T07:02:39.6989187+04:00</InspectionOn>
<ServiceID>5f1b8009-abad-4ca1-ab24-db7b2a50ba0a</ServiceID>
<ServiceTypeID>57960907-eda8-446e-ac6c-807c3dba8b7e</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>8c7ac0e4-d11b-4074-b421-58c93aabea0c</WorkOrderID>
<WorkOrderOn>2026-02-04T07:02:39.6989187+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>ce1ea3b6-3929-41d5-9773-9ba78209b3bb</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>581453c7-a758-4771-803c-e3de027dba35</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>f44408fa-3485-4129-8de4-f61921a39445</d2p1:PartnerID>
<d2p1:VehicleID>1ad6aa20-8801-45e5-ad65-4fa6524fbd77</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": "da326fb0-cd7d-482f-97e4-7b663dfc48e9",
"Value": "sample string 3",
"RecordOn": "2026-02-04T07:02:39.6989187+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>da326fb0-cd7d-482f-97e4-7b663dfc48e9</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-02-04T07:02:39.6989187+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>