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": "a2492246-60d6-4a5e-877d-5ac45f6fe91c",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "64396edc-a2be-4409-ba8d-d8c56c03b176",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "8b754c55-7fe8-4333-8d78-f6622db1ca1f",
"PartnerID": "f8ece0b9-6154-48cb-a820-e0e9ce7a81bd"
},
"IssueID": "b3e0148e-9e77-43a0-a52c-8486d679a808",
"ReportedDate": "2026-04-18T14:53:02.8017733+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "9c5c52ce-4fa0-4d87-897d-bb86e31aac9d",
"ReportedByName": "sample string 6",
"AssignedToID": "17d378fc-1abe-49da-adfb-e088b773b56b",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-04-18T14:53:02.8017733+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "56ff97eb-3d71-4396-bafb-f6863e5a3a60",
"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": "8e405254-d865-4d3e-9ef0-2239ec5d8e13",
"ServiceTypeID": "ad24aa63-8754-4577-bd44-812e1d7ad2a4",
"WorkOrderOn": "2026-04-18T14:53:02.8017733+04:00",
"WorkOrderID": "abcd5db1-8b93-4437-b06b-1f6cc9f2e617",
"InspectionOn": "2026-04-18T14:53:02.8017733+04:00",
"InspectionItemID": "4e5d4184-d99d-48be-b6a3-0a5e1322f10f"
},
"PrevVehicleID": "83361e8b-7754-485e-9136-cfa6c9b7d3d9",
"CloseBy": "04b61790-fe52-4f23-950d-729bd5f5d6b0",
"CloseOn": "2026-04-18T14:53:02.8017733+04:00",
"CriticalLevel": 0,
"Id": "8ac3a982-d0a5-42a8-989b-80f0c53b030c",
"UserName": "sample string 17",
"UserID": "cc127bcb-f6f4-4189-88fc-30b86702a2d5",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-04-18T14:53:02.8017733+04:00",
"ClientID": "1a8e4605-a237-42e6-9113-68abedc62aa9",
"ClientName": "sample string 22",
"PartnerID": "c7b4f6d1-d781-4cab-8315-8c4fc7738e33",
"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">1a8e4605-a237-42e6-9113-68abedc62aa9</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-04-18T14:53:02.8017733+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">8ac3a982-d0a5-42a8-989b-80f0c53b030c</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">c7b4f6d1-d781-4cab-8315-8c4fc7738e33</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">cc127bcb-f6f4-4189-88fc-30b86702a2d5</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>17d378fc-1abe-49da-adfb-e088b773b56b</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>56ff97eb-3d71-4396-bafb-f6863e5a3a60</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>04b61790-fe52-4f23-950d-729bd5f5d6b0</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-04-18T14:53:02.8017733+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-04-18T14:53:02.8017733+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>b3e0148e-9e77-43a0-a52c-8486d679a808</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>83361e8b-7754-485e-9136-cfa6c9b7d3d9</PrevVehicleID>
<ReportedByID>9c5c52ce-4fa0-4d87-897d-bb86e31aac9d</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-04-18T14:53:02.8017733+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>4e5d4184-d99d-48be-b6a3-0a5e1322f10f</InspectionItemID>
<InspectionOn>2026-04-18T14:53:02.8017733+04:00</InspectionOn>
<ServiceID>8e405254-d865-4d3e-9ef0-2239ec5d8e13</ServiceID>
<ServiceTypeID>ad24aa63-8754-4577-bd44-812e1d7ad2a4</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>abcd5db1-8b93-4437-b06b-1f6cc9f2e617</WorkOrderID>
<WorkOrderOn>2026-04-18T14:53:02.8017733+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>8b754c55-7fe8-4333-8d78-f6622db1ca1f</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>64396edc-a2be-4409-ba8d-d8c56c03b176</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>f8ece0b9-6154-48cb-a820-e0e9ce7a81bd</d2p1:PartnerID>
<d2p1:VehicleID>a2492246-60d6-4a5e-877d-5ac45f6fe91c</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": "eb77c981-127f-423b-9914-c7228ee37443",
"Value": "sample string 3",
"RecordOn": "2026-04-18T14:53:02.8173981+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>eb77c981-127f-423b-9914-c7228ee37443</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-04-18T14:53:02.8173981+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>