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": "4de019b6-0f91-4216-8462-bdbf58bf60eb",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "dbbe03d1-a70e-4243-93ce-90e1acb3c361",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "aa4f7359-7b9e-4a40-9adb-4ec3eeef41ab",
"PartnerID": "90160b1d-d2b6-49d4-b413-216791dcbb9e"
},
"IssueID": "db569dfa-455f-463c-9f0f-74511c40ae99",
"ReportedDate": "2025-12-15T10:21:22.6587159+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "3b0786d8-16dc-427b-9de9-0fa11a464cec",
"ReportedByName": "sample string 6",
"AssignedToID": "6362ff62-96ee-40b2-b8c4-a1db1c50e639",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2025-12-15T10:21:22.6587159+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "aede86ba-3eec-498d-a929-4aa96747d348",
"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": "e9c9314c-95bf-4879-9304-74d60670bed8",
"ServiceTypeID": "bd2be949-5be9-4323-a99e-ae03650d307e",
"WorkOrderOn": "2025-12-15T10:21:22.6587159+04:00",
"WorkOrderID": "02b7ed48-12bd-49d3-9ed4-d1e80faa41ee",
"InspectionOn": "2025-12-15T10:21:22.6587159+04:00",
"InspectionItemID": "cba9e285-c27c-47da-aa95-71601e44e99c"
},
"PrevVehicleID": "a8b7628b-1ef2-4716-8971-48b339740f4d",
"CloseBy": "734f1522-bb37-4f03-b78f-a24d343a3822",
"CloseOn": "2025-12-15T10:21:22.6587159+04:00",
"CriticalLevel": 0,
"Id": "acf53b2a-54f6-47d7-90b3-15aaae77dbcd",
"UserName": "sample string 17",
"UserID": "915578b8-6c73-4a4f-b778-05bee45bd8b2",
"CreatedBy": "sample string 19",
"CreatedOn": "2025-12-15T10:21:22.6587159+04:00",
"ClientID": "05e22872-05de-4a46-8150-b032333b0ce5",
"ClientName": "sample string 22",
"PartnerID": "d7ca1eb9-0b96-46f0-9b0f-05dd803897bb",
"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">05e22872-05de-4a46-8150-b032333b0ce5</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">2025-12-15T10:21:22.6587159+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">acf53b2a-54f6-47d7-90b3-15aaae77dbcd</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">d7ca1eb9-0b96-46f0-9b0f-05dd803897bb</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">915578b8-6c73-4a4f-b778-05bee45bd8b2</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>6362ff62-96ee-40b2-b8c4-a1db1c50e639</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>aede86ba-3eec-498d-a929-4aa96747d348</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>734f1522-bb37-4f03-b78f-a24d343a3822</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2025-12-15T10:21:22.6587159+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2025-12-15T10:21:22.6587159+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>db569dfa-455f-463c-9f0f-74511c40ae99</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>a8b7628b-1ef2-4716-8971-48b339740f4d</PrevVehicleID>
<ReportedByID>3b0786d8-16dc-427b-9de9-0fa11a464cec</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2025-12-15T10:21:22.6587159+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>cba9e285-c27c-47da-aa95-71601e44e99c</InspectionItemID>
<InspectionOn>2025-12-15T10:21:22.6587159+04:00</InspectionOn>
<ServiceID>e9c9314c-95bf-4879-9304-74d60670bed8</ServiceID>
<ServiceTypeID>bd2be949-5be9-4323-a99e-ae03650d307e</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>02b7ed48-12bd-49d3-9ed4-d1e80faa41ee</WorkOrderID>
<WorkOrderOn>2025-12-15T10:21:22.6587159+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>aa4f7359-7b9e-4a40-9adb-4ec3eeef41ab</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>dbbe03d1-a70e-4243-93ce-90e1acb3c361</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>90160b1d-d2b6-49d4-b413-216791dcbb9e</d2p1:PartnerID>
<d2p1:VehicleID>4de019b6-0f91-4216-8462-bdbf58bf60eb</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": "74afe55c-0dde-42b1-b0f6-89b2968e6291",
"Value": "sample string 3",
"RecordOn": "2025-12-15T10:21:22.6587159+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>74afe55c-0dde-42b1-b0f6-89b2968e6291</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>2025-12-15T10:21:22.6587159+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>