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": "5e4675b6-9460-4bc4-8ef3-a5ee834f6c84",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "f040ae94-18d5-4ec8-b190-00c83ac5222e",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "206330ce-cb07-403e-8855-18723f504101",
"PartnerID": "0595c68e-fdb7-4b51-af8a-f90a55fe6009"
},
"IssueID": "00ad3c76-2513-471f-816a-905074495ede",
"ReportedDate": "2026-05-10T12:06:31.5842944+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "7ec31798-5421-404c-8fef-db1b43f4ca7d",
"ReportedByName": "sample string 6",
"AssignedToID": "28635563-a28e-4ca7-8f95-5433cb1e7593",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-05-10T12:06:31.5842944+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "4bd5ecfa-bf5e-4e91-bafa-749445cc623e",
"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": "9c99184d-b23e-4419-95ae-6ebf3b3c37ff",
"ServiceTypeID": "e48aeda9-ae5a-4e99-8fb5-9a0112fa5f5d",
"WorkOrderOn": "2026-05-10T12:06:31.5842944+04:00",
"WorkOrderID": "790255f7-eb3e-4cbb-9fcc-f59c4a1eac59",
"InspectionOn": "2026-05-10T12:06:31.5842944+04:00",
"InspectionItemID": "cb21a1c2-6eab-421f-99c6-a5200c9fb3e0"
},
"PrevVehicleID": "6a29b945-2611-4ca8-97b1-c6f4f9842d02",
"CloseBy": "4914b5e0-f29e-46da-b530-eeaae8f6a0ce",
"CloseOn": "2026-05-10T12:06:31.5842944+04:00",
"CriticalLevel": 0,
"Id": "c32b475e-710a-41de-a842-aee9d1fe957e",
"UserName": "sample string 17",
"UserID": "e40e2dbe-7ba1-4b56-90e8-783d06041416",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-05-10T12:06:31.5842944+04:00",
"ClientID": "ff925241-c30c-4c7f-a6a8-1dafd0f24c8f",
"ClientName": "sample string 22",
"PartnerID": "2f34ad7c-c9d0-43ad-b6b3-e643f8cdac26",
"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">ff925241-c30c-4c7f-a6a8-1dafd0f24c8f</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-05-10T12:06:31.5842944+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">c32b475e-710a-41de-a842-aee9d1fe957e</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">2f34ad7c-c9d0-43ad-b6b3-e643f8cdac26</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">e40e2dbe-7ba1-4b56-90e8-783d06041416</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>28635563-a28e-4ca7-8f95-5433cb1e7593</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>4bd5ecfa-bf5e-4e91-bafa-749445cc623e</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>4914b5e0-f29e-46da-b530-eeaae8f6a0ce</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-05-10T12:06:31.5842944+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-05-10T12:06:31.5842944+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>00ad3c76-2513-471f-816a-905074495ede</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>6a29b945-2611-4ca8-97b1-c6f4f9842d02</PrevVehicleID>
<ReportedByID>7ec31798-5421-404c-8fef-db1b43f4ca7d</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-05-10T12:06:31.5842944+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>cb21a1c2-6eab-421f-99c6-a5200c9fb3e0</InspectionItemID>
<InspectionOn>2026-05-10T12:06:31.5842944+04:00</InspectionOn>
<ServiceID>9c99184d-b23e-4419-95ae-6ebf3b3c37ff</ServiceID>
<ServiceTypeID>e48aeda9-ae5a-4e99-8fb5-9a0112fa5f5d</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>790255f7-eb3e-4cbb-9fcc-f59c4a1eac59</WorkOrderID>
<WorkOrderOn>2026-05-10T12:06:31.5842944+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>206330ce-cb07-403e-8855-18723f504101</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>f040ae94-18d5-4ec8-b190-00c83ac5222e</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>0595c68e-fdb7-4b51-af8a-f90a55fe6009</d2p1:PartnerID>
<d2p1:VehicleID>5e4675b6-9460-4bc4-8ef3-a5ee834f6c84</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": "1431d0b9-e908-4b34-9ca5-2e6545733537",
"Value": "sample string 3",
"RecordOn": "2026-05-10T12:06:31.5842944+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>1431d0b9-e908-4b34-9ca5-2e6545733537</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-05-10T12:06:31.5842944+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>