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": "e1ac66b5-4318-4bd3-868a-26e4cb33bd66",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "d3f520ba-3231-4c0f-b41b-3a902c1e1f7b",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "7cc708f4-67c4-4961-ae91-ec485a3ee9e4",
"PartnerID": "fbee39db-23fb-4b96-be44-2175ee2569c7"
},
"IssueID": "e159fd42-7c1b-4418-95c9-dced16e4c0ca",
"ReportedDate": "2026-11-01T08:59:56.17314+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "74dc3cf8-d492-4a13-b1a3-2dad00307b3f",
"ReportedByName": "sample string 6",
"AssignedToID": "df2a50d2-f778-4d4e-9513-d94cf029b70d",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-11-01T08:59:56.17314+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "0ea56efc-3854-4939-beb3-79093e4bf586",
"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": "6c2a45a7-15ec-489d-b01f-8fe226f1f108",
"ServiceTypeID": "6e255842-0132-44b0-b1fe-0ba4b6ce2ef6",
"WorkOrderOn": "2026-11-01T08:59:56.17314+04:00",
"WorkOrderID": "0dcdb62a-d589-47d9-9528-4f3c8e6a82d8",
"InspectionOn": "2026-11-01T08:59:56.17314+04:00",
"InspectionItemID": "f5609a30-f654-4c50-a8e0-98e19d9f3380"
},
"PrevVehicleID": "b0dcf75f-bd5b-454f-80a2-b6f67aa0cd50",
"CloseBy": "162f965c-f3de-44c3-b79e-7af2df6a6a64",
"CloseOn": "2026-11-01T08:59:56.17314+04:00",
"CriticalLevel": 0,
"Id": "c8f961c1-63bc-4989-815d-9ec6c183b6a6",
"UserName": "sample string 17",
"UserID": "bfa213c6-5df0-471b-baa9-2e7a9d3be649",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-11-01T08:59:56.17314+04:00",
"ClientID": "e0240b46-9a64-42db-b1d1-ded6ff0bfece",
"ClientName": "sample string 22",
"PartnerID": "d690e53e-fb69-4e3e-91a1-276f8fe041fb",
"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">e0240b46-9a64-42db-b1d1-ded6ff0bfece</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-11-01T08:59:56.17314+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">c8f961c1-63bc-4989-815d-9ec6c183b6a6</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">d690e53e-fb69-4e3e-91a1-276f8fe041fb</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">bfa213c6-5df0-471b-baa9-2e7a9d3be649</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>df2a50d2-f778-4d4e-9513-d94cf029b70d</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>0ea56efc-3854-4939-beb3-79093e4bf586</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>162f965c-f3de-44c3-b79e-7af2df6a6a64</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-11-01T08:59:56.17314+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-11-01T08:59:56.17314+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>e159fd42-7c1b-4418-95c9-dced16e4c0ca</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>b0dcf75f-bd5b-454f-80a2-b6f67aa0cd50</PrevVehicleID>
<ReportedByID>74dc3cf8-d492-4a13-b1a3-2dad00307b3f</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-11-01T08:59:56.17314+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>f5609a30-f654-4c50-a8e0-98e19d9f3380</InspectionItemID>
<InspectionOn>2026-11-01T08:59:56.17314+04:00</InspectionOn>
<ServiceID>6c2a45a7-15ec-489d-b01f-8fe226f1f108</ServiceID>
<ServiceTypeID>6e255842-0132-44b0-b1fe-0ba4b6ce2ef6</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>0dcdb62a-d589-47d9-9528-4f3c8e6a82d8</WorkOrderID>
<WorkOrderOn>2026-11-01T08:59:56.17314+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>7cc708f4-67c4-4961-ae91-ec485a3ee9e4</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>d3f520ba-3231-4c0f-b41b-3a902c1e1f7b</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>fbee39db-23fb-4b96-be44-2175ee2569c7</d2p1:PartnerID>
<d2p1:VehicleID>e1ac66b5-4318-4bd3-868a-26e4cb33bd66</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": "993167be-83f0-49aa-b568-e1078b5504f9",
"Value": "sample string 3",
"RecordOn": "2026-11-01T08:59:56.17314+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>993167be-83f0-49aa-b568-e1078b5504f9</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-11-01T08:59:56.17314+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>