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": "49d24ffb-6881-4205-9439-88fb5544dbe9",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "fd527503-7120-4e08-8a19-d38354066384",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "dcc46a89-84d0-4e62-9294-b2295532ebba",
"PartnerID": "2ade8a90-f433-4e7b-95a4-5c503eb10163"
},
"IssueID": "c17515db-07b0-4786-bf34-66b3c7a152a8",
"ReportedDate": "2026-06-06T18:32:48.3897425+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "194f7570-ece0-46f6-b399-e59c2f5a6506",
"ReportedByName": "sample string 6",
"AssignedToID": "ca1fe980-102b-4921-9632-3b5c6ad633c9",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-06-06T18:32:48.3897425+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "7e6e4185-06ba-4900-b781-90179acdccb1",
"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": "2234fe82-c112-47b0-bb4b-733d5972bba9",
"ServiceTypeID": "13dec948-a1af-43a4-b08c-757f8e3bc53d",
"WorkOrderOn": "2026-06-06T18:32:48.3897425+04:00",
"WorkOrderID": "d9de8bf8-0b6c-4d55-93ae-b94950f49a70",
"InspectionOn": "2026-06-06T18:32:48.3897425+04:00",
"InspectionItemID": "cb81e326-0c6d-431b-90f6-d2ad5a224d6c"
},
"PrevVehicleID": "4ab0d36f-d97d-4fb6-9aa5-f26a64741cd3",
"CloseBy": "cf53b9c4-703b-4535-80fc-46ca2c38b500",
"CloseOn": "2026-06-06T18:32:48.3897425+04:00",
"CriticalLevel": 0,
"Id": "04f34460-d294-4d40-994c-f8582ae1f610",
"UserName": "sample string 17",
"UserID": "e76e6a7d-dd0b-4b2c-aadb-b96420e33da2",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-06-06T18:32:48.3897425+04:00",
"ClientID": "1f9723c2-2e73-4970-b417-1b89db8c4dfd",
"ClientName": "sample string 22",
"PartnerID": "05dd5f7e-24e7-4f24-8e2d-d62fb4dd4e9a",
"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">1f9723c2-2e73-4970-b417-1b89db8c4dfd</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-06-06T18:32:48.3897425+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">04f34460-d294-4d40-994c-f8582ae1f610</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">05dd5f7e-24e7-4f24-8e2d-d62fb4dd4e9a</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">e76e6a7d-dd0b-4b2c-aadb-b96420e33da2</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>ca1fe980-102b-4921-9632-3b5c6ad633c9</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>7e6e4185-06ba-4900-b781-90179acdccb1</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>cf53b9c4-703b-4535-80fc-46ca2c38b500</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-06-06T18:32:48.3897425+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-06-06T18:32:48.3897425+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>c17515db-07b0-4786-bf34-66b3c7a152a8</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>4ab0d36f-d97d-4fb6-9aa5-f26a64741cd3</PrevVehicleID>
<ReportedByID>194f7570-ece0-46f6-b399-e59c2f5a6506</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-06-06T18:32:48.3897425+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>cb81e326-0c6d-431b-90f6-d2ad5a224d6c</InspectionItemID>
<InspectionOn>2026-06-06T18:32:48.3897425+04:00</InspectionOn>
<ServiceID>2234fe82-c112-47b0-bb4b-733d5972bba9</ServiceID>
<ServiceTypeID>13dec948-a1af-43a4-b08c-757f8e3bc53d</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>d9de8bf8-0b6c-4d55-93ae-b94950f49a70</WorkOrderID>
<WorkOrderOn>2026-06-06T18:32:48.3897425+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>dcc46a89-84d0-4e62-9294-b2295532ebba</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>fd527503-7120-4e08-8a19-d38354066384</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>2ade8a90-f433-4e7b-95a4-5c503eb10163</d2p1:PartnerID>
<d2p1:VehicleID>49d24ffb-6881-4205-9439-88fb5544dbe9</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": "af2863f1-7f79-4248-82f8-480327b32eb5",
"Value": "sample string 3",
"RecordOn": "2026-06-06T18:32:48.3897425+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>af2863f1-7f79-4248-82f8-480327b32eb5</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-06-06T18:32:48.3897425+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>