POST Api/Issue
Request Information
URI Parameters
None.
Body Parameters
IssueName | 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": "bd7911b9-000e-4c36-80f3-10e9ccf081f3", "Name": "sample string 2", "VehicleNo": "sample string 3", "Odometer": 4, "ModelName": "sample string 5", "DriverID": "233afd03-aa98-4915-b760-cb62d62bfa5d", "DriverName": "sample string 7", "DriverContactNo": "sample string 8", "IMEINo": "sample string 9", "ClientID": "91615be2-371c-4c17-83f1-e67c14875e0e", "PartnerID": "746f4fe9-6d54-449e-8433-d77c89ad73a0" }, "IssueID": "bc612736-0b58-4e70-8f6f-65f174bbce5d", "ReportedDate": "2025-09-16T19:22:14.3069733+04:00", "Summary": "sample string 3", "Description": "sample string 4", "ReportedByID": "1f6b7cc0-fa76-4cd7-983a-7ee074727570", "ReportedByName": "sample string 6", "AssignedToID": "460c7d19-7a06-44e6-a08b-1d336d47aaee", "AssignedToName": "sample string 8", "Odometer": 9.1, "DueDate": "2025-09-16T19:22:14.3069733+04:00", "DueOdometer": 11.1, "Attachment": { "AttachmentID": "b1c18103-2df0-425a-b4c1-20598c4dccb7", "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": "0435359e-b347-4b67-82b7-93210b5f06e8", "ServiceTypeID": "4ad03361-a708-4005-a48b-f8c45dd3b1df", "WorkOrderOn": "2025-09-16T19:22:14.3069733+04:00", "WorkOrderID": "e1004eb9-de92-4ef6-9d64-1039d39abe97", "InspectionOn": "2025-09-16T19:22:14.3069733+04:00", "InspectionItemID": "480441a6-d28c-4652-aa64-28792d4a0d87" }, "PrevVehicleID": "ca62ddac-adc8-4ea1-ad61-5698d30b9eae", "CloseBy": "457f46b7-c755-4b6f-863d-1572f4bd92f8", "CloseOn": "2025-09-16T19:22:14.3069733+04:00", "CriticalLevel": 0, "Id": "f11b700c-7666-4714-943e-3d12bbebd2d7", "UserName": "sample string 17", "UserID": "2734412a-01df-455c-a0ec-c47b3c7f0f70", "CreatedBy": "sample string 19", "CreatedOn": "2025-09-16T19:22:14.3069733+04:00", "ClientID": "15980a85-8a55-4282-bbea-8393f87b1f98", "ClientName": "sample string 22", "PartnerID": "2934f2d2-5e7f-4231-ba47-2a13335f0a3e", "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">15980a85-8a55-4282-bbea-8393f87b1f98</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-09-16T19:22:14.3069733+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">f11b700c-7666-4714-943e-3d12bbebd2d7</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">2934f2d2-5e7f-4231-ba47-2a13335f0a3e</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">2734412a-01df-455c-a0ec-c47b3c7f0f70</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName> <AssignedToID>460c7d19-7a06-44e6-a08b-1d336d47aaee</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>b1c18103-2df0-425a-b4c1-20598c4dccb7</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>457f46b7-c755-4b6f-863d-1572f4bd92f8</CloseBy> <CloseNote>sample string 12</CloseNote> <CloseOn>2025-09-16T19:22:14.3069733+04:00</CloseOn> <CriticalLevel>Low</CriticalLevel> <Description>sample string 4</Description> <DueDate>2025-09-16T19:22:14.3069733+04:00</DueDate> <DueOdometer>11.1</DueOdometer> <IssueID>bc612736-0b58-4e70-8f6f-65f174bbce5d</IssueID> <Odometer>9.1</Odometer> <PrevVehicleID>ca62ddac-adc8-4ea1-ad61-5698d30b9eae</PrevVehicleID> <ReportedByID>1f6b7cc0-fa76-4cd7-983a-7ee074727570</ReportedByID> <ReportedByName>sample string 6</ReportedByName> <ReportedDate>2025-09-16T19:22:14.3069733+04:00</ReportedDate> <Summary>sample string 3</Summary> <TransactionDetail> <InspectionItemID>480441a6-d28c-4652-aa64-28792d4a0d87</InspectionItemID> <InspectionOn>2025-09-16T19:22:14.3069733+04:00</InspectionOn> <ServiceID>0435359e-b347-4b67-82b7-93210b5f06e8</ServiceID> <ServiceTypeID>4ad03361-a708-4005-a48b-f8c45dd3b1df</ServiceTypeID> <Status>None</Status> <WorkOrderID>e1004eb9-de92-4ef6-9d64-1039d39abe97</WorkOrderID> <WorkOrderOn>2025-09-16T19:22:14.3069733+04:00</WorkOrderOn> </TransactionDetail> <Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <d2p1:ClientID>91615be2-371c-4c17-83f1-e67c14875e0e</d2p1:ClientID> <d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo> <d2p1:DriverID>233afd03-aa98-4915-b760-cb62d62bfa5d</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>746f4fe9-6d54-449e-8433-d77c89ad73a0</d2p1:PartnerID> <d2p1:VehicleID>bd7911b9-000e-4c36-80f3-10e9ccf081f3</d2p1:VehicleID> <d2p1:VehicleNo>sample string 3</d2p1:VehicleNo> </Vehicle> </Issue>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ResultName | 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": "ed1c7988-d2f8-4ae4-842c-ea93b962d91c", "Value": "sample string 3", "RecordOn": "2025-09-16T19:22:14.3225983+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>ed1c7988-d2f8-4ae4-842c-ea93b962d91c</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-09-16T19:22:14.3225983+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>