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": "daf4b58c-4f8c-4ac7-b067-4184c8c4ca8f",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "00b63661-d668-45b9-a338-32913b3d17bc",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "41ff1abb-2f59-4b85-82b7-0e5fbf83c9ab",
"PartnerID": "03e2e0b2-ee4b-4c4e-a5c0-83da6abd0c66"
},
"IssueID": "6e2f4efc-4a06-4d5d-8ba1-e766a0a493b5",
"ReportedDate": "2025-12-15T10:19:23.6511127+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "0191a7b4-45b6-4b93-b05c-471f5c2e9d88",
"ReportedByName": "sample string 6",
"AssignedToID": "eb2b021c-6f45-4b94-a38a-6c123a87a3a2",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2025-12-15T10:19:23.6511127+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "3f2d0d8e-4d3c-4916-b5b9-d6f58cee8d5e",
"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": "d4b9a55c-88cc-450c-ada0-863d4099a9f4",
"ServiceTypeID": "0c0a211d-a7c0-4e70-a2fb-2343ca8ed9be",
"WorkOrderOn": "2025-12-15T10:19:23.6511127+04:00",
"WorkOrderID": "7070c5a1-d0f9-4d0f-b45e-bb1f3f96db7c",
"InspectionOn": "2025-12-15T10:19:23.6511127+04:00",
"InspectionItemID": "84549603-cfca-4c0c-85e1-460353dacb5f"
},
"PrevVehicleID": "40988974-383b-4141-b965-43b9251652cf",
"CloseBy": "130c3aa1-2ec6-4ba6-935b-4ba00d6bfda2",
"CloseOn": "2025-12-15T10:19:23.6511127+04:00",
"CriticalLevel": 0,
"Id": "5faef239-e6b2-45d8-870e-17faafbc499b",
"UserName": "sample string 17",
"UserID": "f11f055b-4213-4478-bf9f-b95f3979a0b9",
"CreatedBy": "sample string 19",
"CreatedOn": "2025-12-15T10:19:23.6511127+04:00",
"ClientID": "1cbb818d-7016-41cf-9733-7a9deb5e06f3",
"ClientName": "sample string 22",
"PartnerID": "4ca80c26-790c-4d6f-84b4-51c1b7133331",
"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">1cbb818d-7016-41cf-9733-7a9deb5e06f3</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">2025-12-15T10:19:23.6511127+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">5faef239-e6b2-45d8-870e-17faafbc499b</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">4ca80c26-790c-4d6f-84b4-51c1b7133331</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">f11f055b-4213-4478-bf9f-b95f3979a0b9</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>eb2b021c-6f45-4b94-a38a-6c123a87a3a2</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>3f2d0d8e-4d3c-4916-b5b9-d6f58cee8d5e</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>130c3aa1-2ec6-4ba6-935b-4ba00d6bfda2</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2025-12-15T10:19:23.6511127+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2025-12-15T10:19:23.6511127+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>6e2f4efc-4a06-4d5d-8ba1-e766a0a493b5</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>40988974-383b-4141-b965-43b9251652cf</PrevVehicleID>
<ReportedByID>0191a7b4-45b6-4b93-b05c-471f5c2e9d88</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2025-12-15T10:19:23.6511127+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>84549603-cfca-4c0c-85e1-460353dacb5f</InspectionItemID>
<InspectionOn>2025-12-15T10:19:23.6511127+04:00</InspectionOn>
<ServiceID>d4b9a55c-88cc-450c-ada0-863d4099a9f4</ServiceID>
<ServiceTypeID>0c0a211d-a7c0-4e70-a2fb-2343ca8ed9be</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>7070c5a1-d0f9-4d0f-b45e-bb1f3f96db7c</WorkOrderID>
<WorkOrderOn>2025-12-15T10:19:23.6511127+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>41ff1abb-2f59-4b85-82b7-0e5fbf83c9ab</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>00b63661-d668-45b9-a338-32913b3d17bc</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>03e2e0b2-ee4b-4c4e-a5c0-83da6abd0c66</d2p1:PartnerID>
<d2p1:VehicleID>daf4b58c-4f8c-4ac7-b067-4184c8c4ca8f</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": "73a1ba48-08b3-4f4e-a63f-50de39845590",
"Value": "sample string 3",
"RecordOn": "2025-12-15T10:19:23.6511127+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>73a1ba48-08b3-4f4e-a63f-50de39845590</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>2025-12-15T10:19:23.6511127+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>