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": "27fef22c-3b09-470a-9585-3c872d358ab7",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "6d45104e-50b6-4148-a280-a5e77cdfcc62",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "5c125f69-18ea-44bf-b47b-ca1be9b6e29a",
"PartnerID": "f3e38b27-6555-4f6d-9338-81f455297033"
},
"IssueID": "bb1c5139-9e9a-4998-9393-4bcd53f78bf7",
"ReportedDate": "2026-09-29T08:56:36.2808407+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "58a2941f-4b04-4e31-bf1f-a2ee21fe338d",
"ReportedByName": "sample string 6",
"AssignedToID": "f239cdae-b077-4872-841f-b925b7f2ed56",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-09-29T08:56:36.2808407+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "28c5d317-f4b6-4aaa-b58e-8b5d4f83bba9",
"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": "a0fe015a-4b6d-4d48-ac61-144aab9910f6",
"ServiceTypeID": "a0027621-936d-459c-8a3e-45b1fed4a62e",
"WorkOrderOn": "2026-09-29T08:56:36.2808407+04:00",
"WorkOrderID": "d9b6a375-9fcf-4046-9dce-4606a447507c",
"InspectionOn": "2026-09-29T08:56:36.2808407+04:00",
"InspectionItemID": "44e870ec-b019-4e14-8727-ab03c0137e56"
},
"PrevVehicleID": "ed46370c-214d-462d-946f-87a7c0c1a5ec",
"CloseBy": "5c61328e-1968-4691-a23a-aede071584a3",
"CloseOn": "2026-09-29T08:56:36.2808407+04:00",
"CriticalLevel": 0,
"Id": "ae48132f-ce59-4fba-9370-591d1e46d9ad",
"UserName": "sample string 17",
"UserID": "a8698af9-6fbe-4b34-9ae9-1980916a5dae",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-09-29T08:56:36.2808407+04:00",
"ClientID": "59227c65-e962-499b-9cc7-b8c4e53378fa",
"ClientName": "sample string 22",
"PartnerID": "ce3bc51a-3b0c-464e-b91d-34e9682fc5ad",
"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">59227c65-e962-499b-9cc7-b8c4e53378fa</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-09-29T08:56:36.2808407+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">ae48132f-ce59-4fba-9370-591d1e46d9ad</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">ce3bc51a-3b0c-464e-b91d-34e9682fc5ad</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">a8698af9-6fbe-4b34-9ae9-1980916a5dae</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>f239cdae-b077-4872-841f-b925b7f2ed56</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>28c5d317-f4b6-4aaa-b58e-8b5d4f83bba9</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>5c61328e-1968-4691-a23a-aede071584a3</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-09-29T08:56:36.2808407+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-09-29T08:56:36.2808407+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>bb1c5139-9e9a-4998-9393-4bcd53f78bf7</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>ed46370c-214d-462d-946f-87a7c0c1a5ec</PrevVehicleID>
<ReportedByID>58a2941f-4b04-4e31-bf1f-a2ee21fe338d</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-09-29T08:56:36.2808407+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>44e870ec-b019-4e14-8727-ab03c0137e56</InspectionItemID>
<InspectionOn>2026-09-29T08:56:36.2808407+04:00</InspectionOn>
<ServiceID>a0fe015a-4b6d-4d48-ac61-144aab9910f6</ServiceID>
<ServiceTypeID>a0027621-936d-459c-8a3e-45b1fed4a62e</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>d9b6a375-9fcf-4046-9dce-4606a447507c</WorkOrderID>
<WorkOrderOn>2026-09-29T08:56:36.2808407+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>5c125f69-18ea-44bf-b47b-ca1be9b6e29a</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>6d45104e-50b6-4148-a280-a5e77cdfcc62</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>f3e38b27-6555-4f6d-9338-81f455297033</d2p1:PartnerID>
<d2p1:VehicleID>27fef22c-3b09-470a-9585-3c872d358ab7</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": "aca0cf40-6727-4abe-b134-062d1879b63f",
"Value": "sample string 3",
"RecordOn": "2026-09-29T08:56:36.296486+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>aca0cf40-6727-4abe-b134-062d1879b63f</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-09-29T08:56:36.296486+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>