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": "b24ef464-7d1a-425e-bcd6-8c79cb9ed182",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "9dc42a07-18f0-4879-9c0d-9965597414b1",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "05c8fb71-6ab9-4079-8b59-a16d95b0dcae",
"PartnerID": "1fdddd8d-3896-4887-a733-9ba52e9f8b89"
},
"IssueID": "8182bcdb-b446-4e4d-bbb4-771ffb049db0",
"ReportedDate": "2025-12-25T18:50:02.4792326+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "dca52ffa-42bc-4bea-b5d3-a2c4ceb501fd",
"ReportedByName": "sample string 6",
"AssignedToID": "ca2e701e-fd15-45c4-90e9-aa0d0b16d3ad",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2025-12-25T18:50:02.4792326+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "8251618e-9975-4ace-bf0a-600563fafb39",
"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": "4817c4a2-be25-44f1-9042-9284a030e21e",
"ServiceTypeID": "ad665d63-cc70-402d-bbf7-fefdabb846f4",
"WorkOrderOn": "2025-12-25T18:50:02.4792326+04:00",
"WorkOrderID": "6bee2685-1184-4aca-b802-4e57d3e3f8dd",
"InspectionOn": "2025-12-25T18:50:02.4792326+04:00",
"InspectionItemID": "11133ff4-ee39-4014-8bf9-64d183af043b"
},
"PrevVehicleID": "cc5371c9-a42a-4975-b586-5d6dc856999e",
"CloseBy": "f5e29ab5-90f0-41c4-8787-32a16463dee4",
"CloseOn": "2025-12-25T18:50:02.4792326+04:00",
"CriticalLevel": 0,
"Id": "4b194220-4fbc-4bb8-b0d9-1aba7bc973c3",
"UserName": "sample string 17",
"UserID": "82930fcb-0fc5-4854-84bb-271746613c35",
"CreatedBy": "sample string 19",
"CreatedOn": "2025-12-25T18:50:02.4792326+04:00",
"ClientID": "43c87d73-2e75-45ee-95e3-b60098dc7223",
"ClientName": "sample string 22",
"PartnerID": "a81f55e8-d9b1-4072-8ef3-ce293333259b",
"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">43c87d73-2e75-45ee-95e3-b60098dc7223</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-25T18:50:02.4792326+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">4b194220-4fbc-4bb8-b0d9-1aba7bc973c3</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">a81f55e8-d9b1-4072-8ef3-ce293333259b</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">82930fcb-0fc5-4854-84bb-271746613c35</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>ca2e701e-fd15-45c4-90e9-aa0d0b16d3ad</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>8251618e-9975-4ace-bf0a-600563fafb39</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>f5e29ab5-90f0-41c4-8787-32a16463dee4</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2025-12-25T18:50:02.4792326+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2025-12-25T18:50:02.4792326+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>8182bcdb-b446-4e4d-bbb4-771ffb049db0</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>cc5371c9-a42a-4975-b586-5d6dc856999e</PrevVehicleID>
<ReportedByID>dca52ffa-42bc-4bea-b5d3-a2c4ceb501fd</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2025-12-25T18:50:02.4792326+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>11133ff4-ee39-4014-8bf9-64d183af043b</InspectionItemID>
<InspectionOn>2025-12-25T18:50:02.4792326+04:00</InspectionOn>
<ServiceID>4817c4a2-be25-44f1-9042-9284a030e21e</ServiceID>
<ServiceTypeID>ad665d63-cc70-402d-bbf7-fefdabb846f4</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>6bee2685-1184-4aca-b802-4e57d3e3f8dd</WorkOrderID>
<WorkOrderOn>2025-12-25T18:50:02.4792326+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>05c8fb71-6ab9-4079-8b59-a16d95b0dcae</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>9dc42a07-18f0-4879-9c0d-9965597414b1</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>1fdddd8d-3896-4887-a733-9ba52e9f8b89</d2p1:PartnerID>
<d2p1:VehicleID>b24ef464-7d1a-425e-bcd6-8c79cb9ed182</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": "84fa3031-0a29-46cf-9922-8623d0595307",
"Value": "sample string 3",
"RecordOn": "2025-12-25T18:50:02.4792326+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>84fa3031-0a29-46cf-9922-8623d0595307</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-25T18:50:02.4792326+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>