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": "0299f762-96ca-49e6-8b51-1e467076fc6d",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "788b00a1-25f7-4bc9-89e0-2f66696f85fd",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "6a1ee0d3-0cfe-491b-81df-3f804270d51a",
"PartnerID": "c1ab9114-1e25-4e77-8eb1-1606c59bdae1"
},
"IssueID": "1675b35c-4ea5-4594-b3d9-dc2f1db5ebf6",
"ReportedDate": "2026-02-08T22:53:23.8773515+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "091274a7-0adb-494c-9ee0-fe169c3bc819",
"ReportedByName": "sample string 6",
"AssignedToID": "7af1e2d4-ca5c-488b-9bec-e1873138d198",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-02-08T22:53:23.8773515+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "6991dbdc-82c7-408a-b5e9-6cbf492fbdf5",
"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": "33190b3f-0e0d-4c88-9627-3b86501f79d6",
"ServiceTypeID": "94f6833a-8c95-4589-a1a6-53797358cd63",
"WorkOrderOn": "2026-02-08T22:53:23.8773515+04:00",
"WorkOrderID": "fed3f652-4dab-4940-9296-3f70250e3985",
"InspectionOn": "2026-02-08T22:53:23.8773515+04:00",
"InspectionItemID": "bf87fed8-f6ba-4b5c-b7d4-bc74d7cf7822"
},
"PrevVehicleID": "3aec4277-e890-4331-995f-05a6fb3cc284",
"CloseBy": "a497cf89-cf93-442b-920c-0d74b5f76bed",
"CloseOn": "2026-02-08T22:53:23.8773515+04:00",
"CriticalLevel": 0,
"Id": "3335af8d-56e1-4a07-b900-bc2e174f8853",
"UserName": "sample string 17",
"UserID": "a9e834c9-52cf-48d2-881c-602f83ea77fa",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-02-08T22:53:23.8773515+04:00",
"ClientID": "b195f314-9ec0-4f7e-a4f7-99f4748c0a75",
"ClientName": "sample string 22",
"PartnerID": "b6201f55-990b-47cb-9bac-0e2d1b05ddd1",
"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">b195f314-9ec0-4f7e-a4f7-99f4748c0a75</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-08T22:53:23.8773515+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">3335af8d-56e1-4a07-b900-bc2e174f8853</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">b6201f55-990b-47cb-9bac-0e2d1b05ddd1</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">a9e834c9-52cf-48d2-881c-602f83ea77fa</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>7af1e2d4-ca5c-488b-9bec-e1873138d198</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>6991dbdc-82c7-408a-b5e9-6cbf492fbdf5</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>a497cf89-cf93-442b-920c-0d74b5f76bed</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-02-08T22:53:23.8773515+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-02-08T22:53:23.8773515+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>1675b35c-4ea5-4594-b3d9-dc2f1db5ebf6</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>3aec4277-e890-4331-995f-05a6fb3cc284</PrevVehicleID>
<ReportedByID>091274a7-0adb-494c-9ee0-fe169c3bc819</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-02-08T22:53:23.8773515+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>bf87fed8-f6ba-4b5c-b7d4-bc74d7cf7822</InspectionItemID>
<InspectionOn>2026-02-08T22:53:23.8773515+04:00</InspectionOn>
<ServiceID>33190b3f-0e0d-4c88-9627-3b86501f79d6</ServiceID>
<ServiceTypeID>94f6833a-8c95-4589-a1a6-53797358cd63</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>fed3f652-4dab-4940-9296-3f70250e3985</WorkOrderID>
<WorkOrderOn>2026-02-08T22:53:23.8773515+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>6a1ee0d3-0cfe-491b-81df-3f804270d51a</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>788b00a1-25f7-4bc9-89e0-2f66696f85fd</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>c1ab9114-1e25-4e77-8eb1-1606c59bdae1</d2p1:PartnerID>
<d2p1:VehicleID>0299f762-96ca-49e6-8b51-1e467076fc6d</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": "a5c064ba-e265-4b65-b9d0-142c3f051aee",
"Value": "sample string 3",
"RecordOn": "2026-02-08T22:53:23.8773515+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>a5c064ba-e265-4b65-b9d0-142c3f051aee</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-08T22:53:23.8773515+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>