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": "c6796e57-8694-4a9d-aa84-9785297f4ef0",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "0b2a7e11-ef5d-4743-8b50-554fbd332b9a",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "f776a8dc-11b9-4ca5-856f-06e3144fcb5c",
"PartnerID": "51f01437-3f1b-4dc8-83d0-ea08d477cb41"
},
"IssueID": "40049028-02df-4704-9b5a-d3fe12e2317b",
"ReportedDate": "2026-06-24T16:03:22.6766725+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "668c205b-27c0-4dcc-965c-c9086caefd8e",
"ReportedByName": "sample string 6",
"AssignedToID": "88034983-7fa1-4ea5-8de5-932f94a2776e",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-06-24T16:03:22.6766725+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "47199c14-ea8f-412c-a81a-3a5889298b1a",
"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": "0c569325-1084-4d46-86d2-bda10835dd9b",
"ServiceTypeID": "1e3e3f4b-6d9a-485d-9de0-0c52d4219fa3",
"WorkOrderOn": "2026-06-24T16:03:22.6766725+04:00",
"WorkOrderID": "16a1558d-5b22-44a0-832a-1c3f291ae602",
"InspectionOn": "2026-06-24T16:03:22.6766725+04:00",
"InspectionItemID": "43c5b58a-eb1f-44d7-a3c9-b4dd4c08707c"
},
"PrevVehicleID": "0c92b6e5-1173-4529-8615-75d9b6ccc7bb",
"CloseBy": "37f151ac-c36d-4ceb-a83c-5dfa37fd0138",
"CloseOn": "2026-06-24T16:03:22.6766725+04:00",
"CriticalLevel": 0,
"Id": "c595b046-d269-41c4-9bca-0d8ce1ee9502",
"UserName": "sample string 17",
"UserID": "7db7bb03-2664-45d2-9b25-e3ec71d4e407",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-06-24T16:03:22.6766725+04:00",
"ClientID": "ab297081-d3cb-48ab-8c8e-bc902ca59d24",
"ClientName": "sample string 22",
"PartnerID": "053949d7-c2a1-41c3-947d-51d6799b159f",
"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">ab297081-d3cb-48ab-8c8e-bc902ca59d24</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-24T16:03:22.6766725+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">c595b046-d269-41c4-9bca-0d8ce1ee9502</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">053949d7-c2a1-41c3-947d-51d6799b159f</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">7db7bb03-2664-45d2-9b25-e3ec71d4e407</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>88034983-7fa1-4ea5-8de5-932f94a2776e</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>47199c14-ea8f-412c-a81a-3a5889298b1a</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>37f151ac-c36d-4ceb-a83c-5dfa37fd0138</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-06-24T16:03:22.6766725+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-06-24T16:03:22.6766725+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>40049028-02df-4704-9b5a-d3fe12e2317b</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>0c92b6e5-1173-4529-8615-75d9b6ccc7bb</PrevVehicleID>
<ReportedByID>668c205b-27c0-4dcc-965c-c9086caefd8e</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-06-24T16:03:22.6766725+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>43c5b58a-eb1f-44d7-a3c9-b4dd4c08707c</InspectionItemID>
<InspectionOn>2026-06-24T16:03:22.6766725+04:00</InspectionOn>
<ServiceID>0c569325-1084-4d46-86d2-bda10835dd9b</ServiceID>
<ServiceTypeID>1e3e3f4b-6d9a-485d-9de0-0c52d4219fa3</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>16a1558d-5b22-44a0-832a-1c3f291ae602</WorkOrderID>
<WorkOrderOn>2026-06-24T16:03:22.6766725+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>f776a8dc-11b9-4ca5-856f-06e3144fcb5c</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>0b2a7e11-ef5d-4743-8b50-554fbd332b9a</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>51f01437-3f1b-4dc8-83d0-ea08d477cb41</d2p1:PartnerID>
<d2p1:VehicleID>c6796e57-8694-4a9d-aa84-9785297f4ef0</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": "952c7c2e-ecaa-48f5-894d-3f013522f27d",
"Value": "sample string 3",
"RecordOn": "2026-06-24T16:03:22.6922954+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>952c7c2e-ecaa-48f5-894d-3f013522f27d</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-24T16:03:22.6922954+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>