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": "b5c2c6d7-3ff4-475b-bae6-c4e02bcf7676",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "1ed094f1-42a4-4c1a-9210-1047300545bc",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "b9d1298f-e39f-4503-9d8c-bd725a44caa9",
"PartnerID": "4137cee6-edee-48a7-8869-ee02e2b6a21c"
},
"IssueID": "09c00bc2-b0d8-443f-8457-f4d7239addfd",
"ReportedDate": "2026-08-08T18:53:12.9317079+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "9a2224a0-da68-40b7-8283-3f2071eee548",
"ReportedByName": "sample string 6",
"AssignedToID": "566b1633-17f7-4e67-acc3-d85aafc09187",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-08-08T18:53:12.9317079+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "536bed52-8e22-4285-8c6a-4a4193c961ef",
"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": "5a0a07a7-f674-475d-9a9c-3e6787f270c1",
"ServiceTypeID": "1e4f3f23-ea88-46af-86a1-a6ba39204541",
"WorkOrderOn": "2026-08-08T18:53:12.9317079+04:00",
"WorkOrderID": "96e85351-631f-4c50-8d31-c103161ceed9",
"InspectionOn": "2026-08-08T18:53:12.9317079+04:00",
"InspectionItemID": "f6ef1a52-d5af-4d51-b1c2-47dc986e3843"
},
"PrevVehicleID": "74933e08-5454-4700-b0a5-dadc4fc4fa29",
"CloseBy": "5c1c2635-ab9a-4fbb-8a74-65bd45c3c579",
"CloseOn": "2026-08-08T18:53:12.9317079+04:00",
"CriticalLevel": 0,
"Id": "dadc5bd6-9493-4c17-baba-7c7448ae20b9",
"UserName": "sample string 17",
"UserID": "4d159b35-d2ba-4590-bb21-20a461dea220",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-08-08T18:53:12.9317079+04:00",
"ClientID": "1a3c9605-cb13-4db2-aeec-cad563a62b50",
"ClientName": "sample string 22",
"PartnerID": "018e28df-c075-4b7e-ac53-80c25d239335",
"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">1a3c9605-cb13-4db2-aeec-cad563a62b50</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-08-08T18:53:12.9317079+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">dadc5bd6-9493-4c17-baba-7c7448ae20b9</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">018e28df-c075-4b7e-ac53-80c25d239335</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">4d159b35-d2ba-4590-bb21-20a461dea220</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>566b1633-17f7-4e67-acc3-d85aafc09187</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>536bed52-8e22-4285-8c6a-4a4193c961ef</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>5c1c2635-ab9a-4fbb-8a74-65bd45c3c579</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-08-08T18:53:12.9317079+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-08-08T18:53:12.9317079+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>09c00bc2-b0d8-443f-8457-f4d7239addfd</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>74933e08-5454-4700-b0a5-dadc4fc4fa29</PrevVehicleID>
<ReportedByID>9a2224a0-da68-40b7-8283-3f2071eee548</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-08-08T18:53:12.9317079+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>f6ef1a52-d5af-4d51-b1c2-47dc986e3843</InspectionItemID>
<InspectionOn>2026-08-08T18:53:12.9317079+04:00</InspectionOn>
<ServiceID>5a0a07a7-f674-475d-9a9c-3e6787f270c1</ServiceID>
<ServiceTypeID>1e4f3f23-ea88-46af-86a1-a6ba39204541</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>96e85351-631f-4c50-8d31-c103161ceed9</WorkOrderID>
<WorkOrderOn>2026-08-08T18:53:12.9317079+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>b9d1298f-e39f-4503-9d8c-bd725a44caa9</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>1ed094f1-42a4-4c1a-9210-1047300545bc</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>4137cee6-edee-48a7-8869-ee02e2b6a21c</d2p1:PartnerID>
<d2p1:VehicleID>b5c2c6d7-3ff4-475b-bae6-c4e02bcf7676</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": "a618bb7a-7865-4665-9d9f-830e27f00bc3",
"Value": "sample string 3",
"RecordOn": "2026-08-08T18:53:12.9317079+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>a618bb7a-7865-4665-9d9f-830e27f00bc3</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-08-08T18:53:12.9317079+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>