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": "ae592526-234a-4069-9707-f7e0b4ce4c7e",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "0299d728-b50c-4289-b301-fa9df294e776",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "13519e12-b518-43e4-a5f3-9202c9c9e587",
"PartnerID": "f1aa5679-1a72-415a-a19e-4e8d2e7e3207"
},
"IssueID": "fdf3fec7-740d-479b-ad0b-8ec987c75bb3",
"ReportedDate": "2025-11-09T00:43:02.8995406+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "dbd72f81-1249-47d3-86e1-eead856120d1",
"ReportedByName": "sample string 6",
"AssignedToID": "fbf6cbe5-25cd-4bf8-abcc-e34d1b6b19d2",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2025-11-09T00:43:02.8995406+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "5801c920-0eac-460d-ad67-31b9aa6b79c6",
"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": "322e78cb-4091-4fe5-8fcc-20a573b87638",
"ServiceTypeID": "78295a2f-e8ad-43ff-a7fb-db5312e77214",
"WorkOrderOn": "2025-11-09T00:43:02.8995406+04:00",
"WorkOrderID": "bdb0b61c-affe-476e-a6aa-ed264dd556e2",
"InspectionOn": "2025-11-09T00:43:02.8995406+04:00",
"InspectionItemID": "aef9066b-b9e0-4b01-8337-f0d52cfb0d9a"
},
"PrevVehicleID": "477e5452-ae25-49ef-bd3d-557a0f76fc65",
"CloseBy": "e13f0267-9606-47d3-a868-5958523b22d7",
"CloseOn": "2025-11-09T00:43:02.8995406+04:00",
"CriticalLevel": 0,
"Id": "d572d552-bd6b-4b90-bf1d-2c05ab2eb6f0",
"UserName": "sample string 17",
"UserID": "cb3433d2-1d18-4c5e-8f91-487628c5cf47",
"CreatedBy": "sample string 19",
"CreatedOn": "2025-11-09T00:43:02.8995406+04:00",
"ClientID": "cfc68fd2-7d99-45bd-a59f-d12aa5ec386f",
"ClientName": "sample string 22",
"PartnerID": "38d91a8c-7402-4177-88ba-6e5f06c7588f",
"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">cfc68fd2-7d99-45bd-a59f-d12aa5ec386f</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-11-09T00:43:02.8995406+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">d572d552-bd6b-4b90-bf1d-2c05ab2eb6f0</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">38d91a8c-7402-4177-88ba-6e5f06c7588f</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">cb3433d2-1d18-4c5e-8f91-487628c5cf47</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>fbf6cbe5-25cd-4bf8-abcc-e34d1b6b19d2</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>5801c920-0eac-460d-ad67-31b9aa6b79c6</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>e13f0267-9606-47d3-a868-5958523b22d7</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2025-11-09T00:43:02.8995406+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2025-11-09T00:43:02.8995406+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>fdf3fec7-740d-479b-ad0b-8ec987c75bb3</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>477e5452-ae25-49ef-bd3d-557a0f76fc65</PrevVehicleID>
<ReportedByID>dbd72f81-1249-47d3-86e1-eead856120d1</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2025-11-09T00:43:02.8995406+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>aef9066b-b9e0-4b01-8337-f0d52cfb0d9a</InspectionItemID>
<InspectionOn>2025-11-09T00:43:02.8995406+04:00</InspectionOn>
<ServiceID>322e78cb-4091-4fe5-8fcc-20a573b87638</ServiceID>
<ServiceTypeID>78295a2f-e8ad-43ff-a7fb-db5312e77214</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>bdb0b61c-affe-476e-a6aa-ed264dd556e2</WorkOrderID>
<WorkOrderOn>2025-11-09T00:43:02.8995406+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>13519e12-b518-43e4-a5f3-9202c9c9e587</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>0299d728-b50c-4289-b301-fa9df294e776</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>f1aa5679-1a72-415a-a19e-4e8d2e7e3207</d2p1:PartnerID>
<d2p1:VehicleID>ae592526-234a-4069-9707-f7e0b4ce4c7e</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": "bb2f296c-eabd-45ba-bec4-aa5a5e220cca",
"Value": "sample string 3",
"RecordOn": "2025-11-09T00:43:02.9151454+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>bb2f296c-eabd-45ba-bec4-aa5a5e220cca</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-11-09T00:43:02.9151454+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>