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": "e961b8b7-08bb-4802-8af9-6f8b4a8ef6c6",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "580e0533-c25f-4985-8638-136e7252b970",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "b8f3da13-53cf-4437-ac78-b22638e9a63a",
"PartnerID": "f107d129-2924-4d81-a604-fb1edc1085e3"
},
"IssueID": "e3ed6c36-000d-436b-b115-511434e3c21d",
"ReportedDate": "2026-02-04T07:02:17.6522205+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "cf782ce2-850f-4935-974d-6b5ef8222c03",
"ReportedByName": "sample string 6",
"AssignedToID": "059b685d-6da0-4263-b3c3-858451153e2d",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-02-04T07:02:17.6522205+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "6bab5201-d9a3-42d8-b46e-f8299d0afbc8",
"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": "0ea9bcd2-3d60-4bce-b5c3-0483cfcbfd26",
"ServiceTypeID": "3ace13e9-74da-422d-97d6-3279dfb3b68f",
"WorkOrderOn": "2026-02-04T07:02:17.6522205+04:00",
"WorkOrderID": "7b30362e-800f-40e4-b165-7e1fdbcac423",
"InspectionOn": "2026-02-04T07:02:17.6522205+04:00",
"InspectionItemID": "8d027175-c8bb-4391-8de5-841ca2ebf315"
},
"PrevVehicleID": "3c8c4590-dd61-410c-b422-7fc03a0f2431",
"CloseBy": "b0160bfc-a434-432b-9faa-1684f666ce5a",
"CloseOn": "2026-02-04T07:02:17.6522205+04:00",
"CriticalLevel": 0,
"Id": "c6466a0f-6f59-4f5d-a835-2f6d70c83b03",
"UserName": "sample string 17",
"UserID": "4afa0e13-bf96-487e-8bb6-a4b9f19df32a",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-02-04T07:02:17.6522205+04:00",
"ClientID": "3b16f49e-a7e9-4aaf-a060-41c92abb5ef6",
"ClientName": "sample string 22",
"PartnerID": "a18559df-14a4-461d-9a84-64892482e160",
"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">3b16f49e-a7e9-4aaf-a060-41c92abb5ef6</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-02-04T07:02:17.6522205+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">c6466a0f-6f59-4f5d-a835-2f6d70c83b03</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">a18559df-14a4-461d-9a84-64892482e160</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">4afa0e13-bf96-487e-8bb6-a4b9f19df32a</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>059b685d-6da0-4263-b3c3-858451153e2d</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>6bab5201-d9a3-42d8-b46e-f8299d0afbc8</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>b0160bfc-a434-432b-9faa-1684f666ce5a</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-02-04T07:02:17.6522205+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-02-04T07:02:17.6522205+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>e3ed6c36-000d-436b-b115-511434e3c21d</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>3c8c4590-dd61-410c-b422-7fc03a0f2431</PrevVehicleID>
<ReportedByID>cf782ce2-850f-4935-974d-6b5ef8222c03</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-02-04T07:02:17.6522205+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>8d027175-c8bb-4391-8de5-841ca2ebf315</InspectionItemID>
<InspectionOn>2026-02-04T07:02:17.6522205+04:00</InspectionOn>
<ServiceID>0ea9bcd2-3d60-4bce-b5c3-0483cfcbfd26</ServiceID>
<ServiceTypeID>3ace13e9-74da-422d-97d6-3279dfb3b68f</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>7b30362e-800f-40e4-b165-7e1fdbcac423</WorkOrderID>
<WorkOrderOn>2026-02-04T07:02:17.6522205+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>b8f3da13-53cf-4437-ac78-b22638e9a63a</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>580e0533-c25f-4985-8638-136e7252b970</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>f107d129-2924-4d81-a604-fb1edc1085e3</d2p1:PartnerID>
<d2p1:VehicleID>e961b8b7-08bb-4802-8af9-6f8b4a8ef6c6</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": "07006634-2666-45b8-9016-47c3eab6ba34",
"Value": "sample string 3",
"RecordOn": "2026-02-04T07:02:17.6522205+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>07006634-2666-45b8-9016-47c3eab6ba34</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-02-04T07:02:17.6522205+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>