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": "0fa73de4-28d9-4986-9d09-236771a71b7a",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "e2ce2f75-3c0a-47fd-8de9-5c6bda92a818",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "44abe4cc-5f09-4b39-a09f-9e628461db88",
"PartnerID": "58deed99-b36d-4e32-ba3e-1480bacb3600"
},
"IssueID": "8e0fe423-556a-4762-ab60-d9e1faaf5ec7",
"ReportedDate": "2026-09-26T06:58:16.5247303+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "2c61c9d4-64a0-4172-a037-60b326af52bb",
"ReportedByName": "sample string 6",
"AssignedToID": "8ba7e972-a153-469d-bdd1-81b478098d1a",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-09-26T06:58:16.5247303+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "8fe9d792-83c6-4c13-8f60-aea5de90b8ae",
"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": "6705823d-6c2b-4990-b4ab-29082db7fd19",
"ServiceTypeID": "04dc8750-bc3e-4eec-921b-1ec2dbe60dd2",
"WorkOrderOn": "2026-09-26T06:58:16.5247303+04:00",
"WorkOrderID": "b9bdf0e3-b1cd-409f-9275-b9287ba703b0",
"InspectionOn": "2026-09-26T06:58:16.5247303+04:00",
"InspectionItemID": "91731f66-e94d-437c-bdc9-62a298d0a79b"
},
"PrevVehicleID": "eae08e01-71be-48b4-9fd7-6bcba2a53769",
"CloseBy": "49ef9d2d-e37b-4f7e-87d9-1b9b349d553b",
"CloseOn": "2026-09-26T06:58:16.5247303+04:00",
"CriticalLevel": 0,
"Id": "530eb262-ebbc-4074-bfe2-56c7dbd96520",
"UserName": "sample string 17",
"UserID": "0b7a23b6-2d43-4a60-9d14-f3984673263a",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-09-26T06:58:16.5247303+04:00",
"ClientID": "97fec79a-deb8-4175-966b-1d1606fad7e8",
"ClientName": "sample string 22",
"PartnerID": "0e60a143-a045-414e-8b24-a367608194f0",
"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">97fec79a-deb8-4175-966b-1d1606fad7e8</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-09-26T06:58:16.5247303+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">530eb262-ebbc-4074-bfe2-56c7dbd96520</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">0e60a143-a045-414e-8b24-a367608194f0</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">0b7a23b6-2d43-4a60-9d14-f3984673263a</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>8ba7e972-a153-469d-bdd1-81b478098d1a</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>8fe9d792-83c6-4c13-8f60-aea5de90b8ae</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>49ef9d2d-e37b-4f7e-87d9-1b9b349d553b</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-09-26T06:58:16.5247303+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-09-26T06:58:16.5247303+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>8e0fe423-556a-4762-ab60-d9e1faaf5ec7</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>eae08e01-71be-48b4-9fd7-6bcba2a53769</PrevVehicleID>
<ReportedByID>2c61c9d4-64a0-4172-a037-60b326af52bb</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-09-26T06:58:16.5247303+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>91731f66-e94d-437c-bdc9-62a298d0a79b</InspectionItemID>
<InspectionOn>2026-09-26T06:58:16.5247303+04:00</InspectionOn>
<ServiceID>6705823d-6c2b-4990-b4ab-29082db7fd19</ServiceID>
<ServiceTypeID>04dc8750-bc3e-4eec-921b-1ec2dbe60dd2</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>b9bdf0e3-b1cd-409f-9275-b9287ba703b0</WorkOrderID>
<WorkOrderOn>2026-09-26T06:58:16.5247303+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>44abe4cc-5f09-4b39-a09f-9e628461db88</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>e2ce2f75-3c0a-47fd-8de9-5c6bda92a818</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>58deed99-b36d-4e32-ba3e-1480bacb3600</d2p1:PartnerID>
<d2p1:VehicleID>0fa73de4-28d9-4986-9d09-236771a71b7a</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": "ad1dc30e-c147-4198-b691-e21169bb3a57",
"Value": "sample string 3",
"RecordOn": "2026-09-26T06:58:16.5247303+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>ad1dc30e-c147-4198-b691-e21169bb3a57</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-09-26T06:58:16.5247303+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>