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": "5b34f993-8e20-4575-8e67-605ba97d4255",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "71324442-6a6a-4042-8f8a-104eee288acb",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "dc0d62c9-ea37-4e5f-a5a2-ea8930f02e82",
"PartnerID": "b06ca335-e5eb-4061-aa41-d3f1c171da2f"
},
"IssueID": "007ae631-4357-4647-a284-ea4ee78fe3ff",
"ReportedDate": "2026-07-09T14:56:40.8974102+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "3478fce8-b583-40fa-add3-1147a971bf19",
"ReportedByName": "sample string 6",
"AssignedToID": "7aefeb60-f50f-49e3-8550-3ddc69628601",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-07-09T14:56:40.8974102+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "f4748678-34fd-49c5-8957-1e71d10e438e",
"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": "00404e56-cac4-41e4-b277-09d939d1a613",
"ServiceTypeID": "8e621dd1-5715-42c3-9f29-dc78d9a02622",
"WorkOrderOn": "2026-07-09T14:56:40.8974102+04:00",
"WorkOrderID": "7f8f69e7-1151-4e7f-9a1f-acac97e693f2",
"InspectionOn": "2026-07-09T14:56:40.8974102+04:00",
"InspectionItemID": "323f5492-7e56-43cd-9dbc-c4ace576aa37"
},
"PrevVehicleID": "8fdfdc15-7ba3-408c-8905-5a165602ca27",
"CloseBy": "c63ab123-77f6-4d29-938a-b17e2461ed5f",
"CloseOn": "2026-07-09T14:56:40.8974102+04:00",
"CriticalLevel": 0,
"Id": "e51f82a9-aa02-4323-92c4-5c42dbbf2e84",
"UserName": "sample string 17",
"UserID": "45a319b8-01bc-44f1-94f6-36bca3637234",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-07-09T14:56:40.8974102+04:00",
"ClientID": "523659f2-f9bb-4762-a57e-920df2198d0d",
"ClientName": "sample string 22",
"PartnerID": "fc20951d-d0ad-4102-bc73-2cf9416ff124",
"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">523659f2-f9bb-4762-a57e-920df2198d0d</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-07-09T14:56:40.8974102+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">e51f82a9-aa02-4323-92c4-5c42dbbf2e84</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">fc20951d-d0ad-4102-bc73-2cf9416ff124</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">45a319b8-01bc-44f1-94f6-36bca3637234</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>7aefeb60-f50f-49e3-8550-3ddc69628601</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>f4748678-34fd-49c5-8957-1e71d10e438e</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>c63ab123-77f6-4d29-938a-b17e2461ed5f</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-07-09T14:56:40.8974102+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-07-09T14:56:40.8974102+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>007ae631-4357-4647-a284-ea4ee78fe3ff</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>8fdfdc15-7ba3-408c-8905-5a165602ca27</PrevVehicleID>
<ReportedByID>3478fce8-b583-40fa-add3-1147a971bf19</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-07-09T14:56:40.8974102+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>323f5492-7e56-43cd-9dbc-c4ace576aa37</InspectionItemID>
<InspectionOn>2026-07-09T14:56:40.8974102+04:00</InspectionOn>
<ServiceID>00404e56-cac4-41e4-b277-09d939d1a613</ServiceID>
<ServiceTypeID>8e621dd1-5715-42c3-9f29-dc78d9a02622</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>7f8f69e7-1151-4e7f-9a1f-acac97e693f2</WorkOrderID>
<WorkOrderOn>2026-07-09T14:56:40.8974102+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>dc0d62c9-ea37-4e5f-a5a2-ea8930f02e82</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>71324442-6a6a-4042-8f8a-104eee288acb</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>b06ca335-e5eb-4061-aa41-d3f1c171da2f</d2p1:PartnerID>
<d2p1:VehicleID>5b34f993-8e20-4575-8e67-605ba97d4255</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": "552e34ad-9c4f-48f5-9635-c0259c9ae8bf",
"Value": "sample string 3",
"RecordOn": "2026-07-09T14:56:40.8974102+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>552e34ad-9c4f-48f5-9635-c0259c9ae8bf</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-07-09T14:56:40.8974102+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>