POST Api/Issue/Create
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": "5c405b95-bc00-444e-aca1-0a5d46ba89ca",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "7247a3ea-216a-4100-952d-0a6afff21cda",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "343c7f7d-eff9-4ab7-9448-f229b9ac02cb",
"PartnerID": "02b11ea4-40a1-497f-8b72-e6ff8b98c038"
},
"IssueID": "bfac3710-5128-4b68-ba7a-fb42d3165078",
"ReportedDate": "2026-03-25T01:23:15.6325514+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "4defe55a-9c70-434a-a0c4-1e4233220ef0",
"ReportedByName": "sample string 6",
"AssignedToID": "ec1cca8b-6274-49ef-a2ff-4593726b3d82",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-03-25T01:23:15.6325514+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "ea867a39-5ad6-4e1f-8118-c5c8a5edae8b",
"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": "0d595b8f-adf3-4e91-a64a-9128c67616bb",
"ServiceTypeID": "8ecd56be-a9a8-40ab-9b0a-a71dbed46c8f",
"WorkOrderOn": "2026-03-25T01:23:15.6325514+04:00",
"WorkOrderID": "88a4cec9-4a22-4b62-885a-44c84df65da5",
"InspectionOn": "2026-03-25T01:23:15.6325514+04:00",
"InspectionItemID": "7f9ae656-c77d-403d-a0b6-2ec0dea47370"
},
"PrevVehicleID": "49de1bbd-753c-4d61-b90d-ab0f0986272b",
"CloseBy": "291f4bb8-017c-46a9-8907-95404dcb2d68",
"CloseOn": "2026-03-25T01:23:15.6325514+04:00",
"CriticalLevel": 0,
"Id": "7eb622d7-a6f6-42bd-9fe9-88e781a08801",
"UserName": "sample string 17",
"UserID": "66aa8927-7fec-4d9e-be77-5e823df42b0f",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-03-25T01:23:15.6325514+04:00",
"ClientID": "d012a480-24cd-43b5-8a6a-f7e8c8a07b44",
"ClientName": "sample string 22",
"PartnerID": "816184ee-7e40-4e23-bd3d-05186d3ee348",
"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">d012a480-24cd-43b5-8a6a-f7e8c8a07b44</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-03-25T01:23:15.6325514+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">7eb622d7-a6f6-42bd-9fe9-88e781a08801</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">816184ee-7e40-4e23-bd3d-05186d3ee348</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">66aa8927-7fec-4d9e-be77-5e823df42b0f</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>ec1cca8b-6274-49ef-a2ff-4593726b3d82</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>ea867a39-5ad6-4e1f-8118-c5c8a5edae8b</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>291f4bb8-017c-46a9-8907-95404dcb2d68</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-03-25T01:23:15.6325514+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-03-25T01:23:15.6325514+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>bfac3710-5128-4b68-ba7a-fb42d3165078</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>49de1bbd-753c-4d61-b90d-ab0f0986272b</PrevVehicleID>
<ReportedByID>4defe55a-9c70-434a-a0c4-1e4233220ef0</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-03-25T01:23:15.6325514+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>7f9ae656-c77d-403d-a0b6-2ec0dea47370</InspectionItemID>
<InspectionOn>2026-03-25T01:23:15.6325514+04:00</InspectionOn>
<ServiceID>0d595b8f-adf3-4e91-a64a-9128c67616bb</ServiceID>
<ServiceTypeID>8ecd56be-a9a8-40ab-9b0a-a71dbed46c8f</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>88a4cec9-4a22-4b62-885a-44c84df65da5</WorkOrderID>
<WorkOrderOn>2026-03-25T01:23:15.6325514+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>343c7f7d-eff9-4ab7-9448-f229b9ac02cb</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>7247a3ea-216a-4100-952d-0a6afff21cda</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>02b11ea4-40a1-497f-8b72-e6ff8b98c038</d2p1:PartnerID>
<d2p1:VehicleID>5c405b95-bc00-444e-aca1-0a5d46ba89ca</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": "9a93443e-6e62-41e6-83eb-b6c328cf678f",
"Value": "sample string 3",
"RecordOn": "2026-03-25T01:23:15.6481532+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>9a93443e-6e62-41e6-83eb-b6c328cf678f</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-03-25T01:23:15.6481532+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>