POST Api/Issue
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": "a88a4f23-7e3d-4da4-8d8e-4c355a69d509",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "3b145501-be34-4fae-a198-68b5b6324387",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "98a82330-35fc-4cc2-8589-6d3fe791a6e3",
"PartnerID": "cc260338-46b1-43fa-8ed0-570228b350fa"
},
"IssueID": "b8176549-fe05-4220-9302-6dd050913615",
"ReportedDate": "2026-08-21T10:43:53.0473948+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "74130621-c07a-4146-8da3-800ca384340c",
"ReportedByName": "sample string 6",
"AssignedToID": "4007c5e7-f62d-4e0f-ab9b-c34b5a9cddd2",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-08-21T10:43:53.0473948+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "5d5d72cc-0ac6-4af8-ad0a-71da84bb05d5",
"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": "f622e419-0a4f-4e46-95c3-f3250e54b41b",
"ServiceTypeID": "721d8b46-3a9e-4429-b6b3-00345c093b3c",
"WorkOrderOn": "2026-08-21T10:43:53.0473948+04:00",
"WorkOrderID": "3167e098-7b7f-445c-83a4-e62e71d2f698",
"InspectionOn": "2026-08-21T10:43:53.0473948+04:00",
"InspectionItemID": "7593fb79-51fa-4108-99f6-3aa92ccaa9a0"
},
"PrevVehicleID": "e6915c4c-6c02-4284-882d-f311ef389cd3",
"CloseBy": "81477d35-2143-4d9b-b4b7-e8fe079dd292",
"CloseOn": "2026-08-21T10:43:53.0473948+04:00",
"CriticalLevel": 0,
"Id": "b0855060-45f9-4039-b1f0-1d7b2fc21ee7",
"UserName": "sample string 17",
"UserID": "2b5865ab-a827-48c7-930d-c2d2c4ec818b",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-08-21T10:43:53.0473948+04:00",
"ClientID": "24688b2e-6a6e-4301-abd5-6065149756a5",
"ClientName": "sample string 22",
"PartnerID": "23d68d16-ec2c-4914-b36b-6bc816e3c144",
"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">24688b2e-6a6e-4301-abd5-6065149756a5</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-08-21T10:43:53.0473948+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">b0855060-45f9-4039-b1f0-1d7b2fc21ee7</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">23d68d16-ec2c-4914-b36b-6bc816e3c144</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">2b5865ab-a827-48c7-930d-c2d2c4ec818b</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>4007c5e7-f62d-4e0f-ab9b-c34b5a9cddd2</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>5d5d72cc-0ac6-4af8-ad0a-71da84bb05d5</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>81477d35-2143-4d9b-b4b7-e8fe079dd292</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-08-21T10:43:53.0473948+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-08-21T10:43:53.0473948+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>b8176549-fe05-4220-9302-6dd050913615</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>e6915c4c-6c02-4284-882d-f311ef389cd3</PrevVehicleID>
<ReportedByID>74130621-c07a-4146-8da3-800ca384340c</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-08-21T10:43:53.0473948+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>7593fb79-51fa-4108-99f6-3aa92ccaa9a0</InspectionItemID>
<InspectionOn>2026-08-21T10:43:53.0473948+04:00</InspectionOn>
<ServiceID>f622e419-0a4f-4e46-95c3-f3250e54b41b</ServiceID>
<ServiceTypeID>721d8b46-3a9e-4429-b6b3-00345c093b3c</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>3167e098-7b7f-445c-83a4-e62e71d2f698</WorkOrderID>
<WorkOrderOn>2026-08-21T10:43:53.0473948+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>98a82330-35fc-4cc2-8589-6d3fe791a6e3</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>3b145501-be34-4fae-a198-68b5b6324387</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>cc260338-46b1-43fa-8ed0-570228b350fa</d2p1:PartnerID>
<d2p1:VehicleID>a88a4f23-7e3d-4da4-8d8e-4c355a69d509</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": "26c96df3-f66e-415c-b483-37ba4363d1ec",
"Value": "sample string 3",
"RecordOn": "2026-08-21T10:43:53.0473948+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>26c96df3-f66e-415c-b483-37ba4363d1ec</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-08-21T10:43:53.0473948+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>