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": "018043a3-9c15-43c4-8fb3-f29a0cede1dd",
"Name": "sample string 2",
"VehicleNo": "sample string 3",
"Odometer": 4,
"ModelName": "sample string 5",
"DriverID": "9a83ce38-cf3a-472c-88fe-87f6fc9b432c",
"DriverName": "sample string 7",
"DriverContactNo": "sample string 8",
"IMEINo": "sample string 9",
"ClientID": "54a716bc-afdd-43cc-880d-34bd8abc64ac",
"PartnerID": "fb1ceafd-705f-437a-b6bd-d296de3cf02b"
},
"IssueID": "5a29cca2-e785-4141-97d9-db7ce10c8818",
"ReportedDate": "2026-10-31T16:54:02.5776438+04:00",
"Summary": "sample string 3",
"Description": "sample string 4",
"ReportedByID": "94dc7116-dbb3-4fe2-a6de-af12e5259808",
"ReportedByName": "sample string 6",
"AssignedToID": "1eb4bccb-6300-48be-9f00-27e122ae5cb6",
"AssignedToName": "sample string 8",
"Odometer": 9.1,
"DueDate": "2026-10-31T16:54:02.5776438+04:00",
"DueOdometer": 11.1,
"Attachment": {
"AttachmentID": "9d6e955e-0890-4d09-9d0b-369dbdbd273a",
"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": "7b29038a-e2b5-425f-a3af-c2237de013ea",
"ServiceTypeID": "1c7574d6-6bc4-4323-8649-1b445dde9975",
"WorkOrderOn": "2026-10-31T16:54:02.5776438+04:00",
"WorkOrderID": "6cca8650-ce89-42c3-9da3-257e80707ef2",
"InspectionOn": "2026-10-31T16:54:02.5776438+04:00",
"InspectionItemID": "cd7f59d5-5e42-485d-bd2c-dc02edf0d137"
},
"PrevVehicleID": "2a933c2a-d425-4207-951e-22150fcf124c",
"CloseBy": "1b854abc-75c9-4da2-b866-a815f4da4fff",
"CloseOn": "2026-10-31T16:54:02.5776438+04:00",
"CriticalLevel": 0,
"Id": "d16b5c9c-a739-43f0-89b6-9ec5ae487606",
"UserName": "sample string 17",
"UserID": "9459f2c3-0bd2-4c87-b836-04ddbd59442c",
"CreatedBy": "sample string 19",
"CreatedOn": "2026-10-31T16:54:02.5776438+04:00",
"ClientID": "4ba86c31-3ace-4aaa-a52c-d23ce736d3fc",
"ClientName": "sample string 22",
"PartnerID": "2c177fee-f418-4c2e-8961-6f4ed2c9b6f6",
"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">4ba86c31-3ace-4aaa-a52c-d23ce736d3fc</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-10-31T16:54:02.5776438+04:00</CreatedOn>
<Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">d16b5c9c-a739-43f0-89b6-9ec5ae487606</Id>
<PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">2c177fee-f418-4c2e-8961-6f4ed2c9b6f6</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">9459f2c3-0bd2-4c87-b836-04ddbd59442c</UserID>
<UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName>
<AssignedToID>1eb4bccb-6300-48be-9f00-27e122ae5cb6</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>9d6e955e-0890-4d09-9d0b-369dbdbd273a</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>1b854abc-75c9-4da2-b866-a815f4da4fff</CloseBy>
<CloseNote>sample string 12</CloseNote>
<CloseOn>2026-10-31T16:54:02.5776438+04:00</CloseOn>
<CriticalLevel>Low</CriticalLevel>
<Description>sample string 4</Description>
<DueDate>2026-10-31T16:54:02.5776438+04:00</DueDate>
<DueOdometer>11.1</DueOdometer>
<IssueID>5a29cca2-e785-4141-97d9-db7ce10c8818</IssueID>
<Odometer>9.1</Odometer>
<PrevVehicleID>2a933c2a-d425-4207-951e-22150fcf124c</PrevVehicleID>
<ReportedByID>94dc7116-dbb3-4fe2-a6de-af12e5259808</ReportedByID>
<ReportedByName>sample string 6</ReportedByName>
<ReportedDate>2026-10-31T16:54:02.5776438+04:00</ReportedDate>
<Summary>sample string 3</Summary>
<TransactionDetail>
<InspectionItemID>cd7f59d5-5e42-485d-bd2c-dc02edf0d137</InspectionItemID>
<InspectionOn>2026-10-31T16:54:02.5776438+04:00</InspectionOn>
<ServiceID>7b29038a-e2b5-425f-a3af-c2237de013ea</ServiceID>
<ServiceTypeID>1c7574d6-6bc4-4323-8649-1b445dde9975</ServiceTypeID>
<Status>None</Status>
<WorkOrderID>6cca8650-ce89-42c3-9da3-257e80707ef2</WorkOrderID>
<WorkOrderOn>2026-10-31T16:54:02.5776438+04:00</WorkOrderOn>
</TransactionDetail>
<Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">
<d2p1:ClientID>54a716bc-afdd-43cc-880d-34bd8abc64ac</d2p1:ClientID>
<d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo>
<d2p1:DriverID>9a83ce38-cf3a-472c-88fe-87f6fc9b432c</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>fb1ceafd-705f-437a-b6bd-d296de3cf02b</d2p1:PartnerID>
<d2p1:VehicleID>018043a3-9c15-43c4-8fb3-f29a0cede1dd</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": "9026536c-0f7b-4f21-ba8c-6d5122fb8dff",
"Value": "sample string 3",
"RecordOn": "2026-10-31T16:54:02.5776438+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>9026536c-0f7b-4f21-ba8c-6d5122fb8dff</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-10-31T16:54:02.5776438+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>