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": "319e2168-98d0-44d1-af5f-c5991d157349",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "45544af5-d55e-47dd-ad7f-faa1c9b42be4",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "e84ee802-5ad1-41b0-95b8-879fe12ddc62",
"PartnerID": "e65914b3-ca05-45f6-ba28-d32f9b906899"
},
"IssueID": "0d1d84e4-41f2-47f2-978d-d3dcf692f8ff",
"ReportedDate": "2025-11-09T00:43:13.7120139+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "f0e7edda-d3f7-4d12-adbc-c3843abd7fea",
"ReportedByName": "sample string 6",
"AssignedToID": "d0b20b4f-575d-4ce1-8145-8b6ff8e4d669",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2025-11-09T00:43:13.7120139+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "4381ef0a-de60-4c61-9e80-9dd91536171e",
"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": "aa9eb67f-3e40-4e32-8208-e0be49129c61",
"ServiceTypeID": "ea975b38-014e-4247-8c48-a1a52c9d7c73",
"WorkOrderOn": "2025-11-09T00:43:13.7120139+04:00",
"WorkOrderID": "5ddb52a5-27c4-4d90-b956-d30d5d493c62",
"InspectionOn": "2025-11-09T00:43:13.7120139+04:00",
"InspectionItemID": "97e02cba-0cef-40b3-a6d3-2bb77e4fffaf"
},
"PrevVehicleID": "548ddf65-89a2-4a16-ac85-1bcef8255427",
"CloseBy": "fb45bfe9-b115-49e6-8ec9-8b2a7eeb4207",
"CloseOn": "2025-11-09T00:43:13.7120139+04:00",
"CriticalLevel": 0,
"Id": "be628cd5-457a-4381-8f47-6f40a9ee36ed",
"UserName": "sample string 17",
"UserID": "1e61ac36-07c1-4e9f-9ea6-b523440116bb",
"CreatedBy": "sample string 19",
"CreatedOn": "2025-11-09T00:43:13.7120139+04:00",
"ClientID": "e1f78129-4503-455e-8c2c-643692470de8",
"ClientName": "sample string 22",
"PartnerID": "0ecee0a9-59ae-45f9-9bf2-d7c877518e2e",
"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">e1f78129-4503-455e-8c2c-643692470de8</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-11-09T00:43:13.7120139+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">be628cd5-457a-4381-8f47-6f40a9ee36ed</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">0ecee0a9-59ae-45f9-9bf2-d7c877518e2e</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">1e61ac36-07c1-4e9f-9ea6-b523440116bb</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>d0b20b4f-575d-4ce1-8145-8b6ff8e4d669</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>4381ef0a-de60-4c61-9e80-9dd91536171e</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>fb45bfe9-b115-49e6-8ec9-8b2a7eeb4207</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2025-11-09T00:43:13.7120139+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2025-11-09T00:43:13.7120139+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>0d1d84e4-41f2-47f2-978d-d3dcf692f8ff</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>548ddf65-89a2-4a16-ac85-1bcef8255427</PrevVehicleID>
<ReportedByID>f0e7edda-d3f7-4d12-adbc-c3843abd7fea</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2025-11-09T00:43:13.7120139+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>97e02cba-0cef-40b3-a6d3-2bb77e4fffaf</InspectionItemID>
<InspectionOn>2025-11-09T00:43:13.7120139+04:00</InspectionOn>
<ServiceID>aa9eb67f-3e40-4e32-8208-e0be49129c61</ServiceID>
<ServiceTypeID>ea975b38-014e-4247-8c48-a1a52c9d7c73</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>5ddb52a5-27c4-4d90-b956-d30d5d493c62</WorkOrderID>
<WorkOrderOn>2025-11-09T00:43:13.7120139+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>e84ee802-5ad1-41b0-95b8-879fe12ddc62</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>45544af5-d55e-47dd-ad7f-faa1c9b42be4</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>e65914b3-ca05-45f6-ba28-d32f9b906899</d2p1:PartnerID>
<d2p1:VehicleID>319e2168-98d0-44d1-af5f-c5991d157349</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": "4f0fba14-a25a-4516-8a48-e680b7a88289",
"Value": "sample string 3",
"RecordOn": "2025-11-09T00:43:13.7120139+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>4f0fba14-a25a-4516-8a48-e680b7a88289</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-11-09T00:43:13.7120139+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>