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": "1d6664e7-56ef-4735-b3d5-6fd8f78974d5",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "772f561d-2023-40e0-8f37-c87a2cfc2b4a",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "b233e158-b0ad-4861-9c59-bdfcb2b841a5",
"PartnerID": "5fa28a16-804a-4148-bdc9-0e6dd54866fb"
},
"IssueID": "fa85a2d9-657b-4c9a-8da3-055b65d60b13",
"ReportedDate": "2026-03-26T03:21:10.3710857+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "e7ea409d-e528-4a9a-8162-6d479bfa6837",
"ReportedByName": "sample string 6",
"AssignedToID": "0ad451da-c925-4a7b-97cb-754435750673",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-03-26T03:21:10.3710857+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "828cfba3-22cc-439a-86f2-9d523f598006",
"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": "25f1abf6-7e95-4b43-b752-8756e4e1c647",
"ServiceTypeID": "c020778b-9e82-4e8c-8174-0b60aa467416",
"WorkOrderOn": "2026-03-26T03:21:10.3710857+04:00",
"WorkOrderID": "861523cd-7964-41e3-8322-04789fe29f30",
"InspectionOn": "2026-03-26T03:21:10.3710857+04:00",
"InspectionItemID": "aec02bb7-5ea3-4325-badf-15b0af9ea2ae"
},
"PrevVehicleID": "6e740f0d-5efc-4386-99e8-2004ce5714f7",
"CloseBy": "0d0b48ff-d72a-41db-8ffb-501469f4757c",
"CloseOn": "2026-03-26T03:21:10.3710857+04:00",
"CriticalLevel": 0,
"Id": "7f6ebc56-ebbc-40f1-84f5-abf9054512c9",
"UserName": "sample string 17",
"UserID": "de0de2e4-cfdc-4a63-8125-9d1fb70c1c09",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-03-26T03:21:10.3710857+04:00",
"ClientID": "e2a18241-fc69-4fb1-ba7b-ec9af242840a",
"ClientName": "sample string 22",
"PartnerID": "4b849383-aefd-4181-b065-796c7f16e89d",
"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">e2a18241-fc69-4fb1-ba7b-ec9af242840a</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-03-26T03:21:10.3710857+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">7f6ebc56-ebbc-40f1-84f5-abf9054512c9</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">4b849383-aefd-4181-b065-796c7f16e89d</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">de0de2e4-cfdc-4a63-8125-9d1fb70c1c09</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>0ad451da-c925-4a7b-97cb-754435750673</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>828cfba3-22cc-439a-86f2-9d523f598006</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>0d0b48ff-d72a-41db-8ffb-501469f4757c</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-03-26T03:21:10.3710857+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-03-26T03:21:10.3710857+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>fa85a2d9-657b-4c9a-8da3-055b65d60b13</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>6e740f0d-5efc-4386-99e8-2004ce5714f7</PrevVehicleID>
<ReportedByID>e7ea409d-e528-4a9a-8162-6d479bfa6837</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-03-26T03:21:10.3710857+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>aec02bb7-5ea3-4325-badf-15b0af9ea2ae</InspectionItemID>
<InspectionOn>2026-03-26T03:21:10.3710857+04:00</InspectionOn>
<ServiceID>25f1abf6-7e95-4b43-b752-8756e4e1c647</ServiceID>
<ServiceTypeID>c020778b-9e82-4e8c-8174-0b60aa467416</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>861523cd-7964-41e3-8322-04789fe29f30</WorkOrderID>
<WorkOrderOn>2026-03-26T03:21:10.3710857+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>b233e158-b0ad-4861-9c59-bdfcb2b841a5</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>772f561d-2023-40e0-8f37-c87a2cfc2b4a</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>5fa28a16-804a-4148-bdc9-0e6dd54866fb</d2p1:PartnerID>
<d2p1:VehicleID>1d6664e7-56ef-4735-b3d5-6fd8f78974d5</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": "3da64a2c-0279-472a-a528-61dffde106c9",
"Value": "sample string 3",
"RecordOn": "2026-03-26T03:21:10.3710857+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>3da64a2c-0279-472a-a528-61dffde106c9</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-03-26T03:21:10.3710857+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>