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": "3197d802-207b-4205-8e60-06879f412658", "Name": "sample string 2", "VehicleNo": "sample string 3", "Odometer": 4, "ModelName": "sample string 5", "DriverID": "a196dd35-04ea-413c-b1c6-4841220794da", "DriverName": "sample string 7", "DriverContactNo": "sample string 8", "IMEINo": "sample string 9", "ClientID": "f5b241d1-42ba-44fa-a64f-27e65f36c2c3", "PartnerID": "d2dbbdbd-332a-4b46-90e0-8c53d0f72afd" }, "IssueID": "1e588639-7ece-4702-9f24-6fbe83dcea19", "ReportedDate": "2025-07-07T09:21:28.8845506+04:00", "Summary": "sample string 3", "Description": "sample string 4", "ReportedByID": "dd0668fa-f788-4a1b-a794-5a3fec787df7", "ReportedByName": "sample string 6", "AssignedToID": "985f8767-888c-47af-861c-9609eb8f57c1", "AssignedToName": "sample string 8", "Odometer": 9.1, "DueDate": "2025-07-07T09:21:28.8845506+04:00", "DueOdometer": 11.1, "Attachment": { "AttachmentID": "57b7b532-335b-4ab0-ae2b-b7d505c3a8d5", "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": "206bae9a-edb9-4ff7-b845-5695eb88c273", "ServiceTypeID": "77d2b9bb-e5cf-4e4d-bf73-d187bee707cd", "WorkOrderOn": "2025-07-07T09:21:28.8845506+04:00", "WorkOrderID": "8caeafb4-d640-49d1-b0f7-22de169494ae", "InspectionOn": "2025-07-07T09:21:28.8845506+04:00", "InspectionItemID": "ddce17c9-8d76-4ca5-af39-34222607fd64" }, "PrevVehicleID": "fc03e90a-553a-413b-b8fd-74c50ecd6320", "CloseBy": "6d6e82b6-ef63-4bb6-86c1-d31c18ba1d6b", "CloseOn": "2025-07-07T09:21:28.8845506+04:00", "CriticalLevel": 0, "Id": "dd55112d-379c-4d92-977c-8d9efcfb1d39", "UserName": "sample string 17", "UserID": "da5f1d52-0773-4f84-bd6a-d0bb4df6f590", "CreatedBy": "sample string 19", "CreatedOn": "2025-07-07T09:21:28.8845506+04:00", "ClientID": "371930f0-74c4-4c49-bf48-a692311f3efd", "ClientName": "sample string 22", "PartnerID": "c4275a1d-e719-43ac-99ef-78b03bb09a64", "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">371930f0-74c4-4c49-bf48-a692311f3efd</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-07-07T09:21:28.8845506+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">dd55112d-379c-4d92-977c-8d9efcfb1d39</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">c4275a1d-e719-43ac-99ef-78b03bb09a64</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">da5f1d52-0773-4f84-bd6a-d0bb4df6f590</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName> <AssignedToID>985f8767-888c-47af-861c-9609eb8f57c1</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>57b7b532-335b-4ab0-ae2b-b7d505c3a8d5</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>6d6e82b6-ef63-4bb6-86c1-d31c18ba1d6b</CloseBy> <CloseNote>sample string 12</CloseNote> <CloseOn>2025-07-07T09:21:28.8845506+04:00</CloseOn> <CriticalLevel>Low</CriticalLevel> <Description>sample string 4</Description> <DueDate>2025-07-07T09:21:28.8845506+04:00</DueDate> <DueOdometer>11.1</DueOdometer> <IssueID>1e588639-7ece-4702-9f24-6fbe83dcea19</IssueID> <Odometer>9.1</Odometer> <PrevVehicleID>fc03e90a-553a-413b-b8fd-74c50ecd6320</PrevVehicleID> <ReportedByID>dd0668fa-f788-4a1b-a794-5a3fec787df7</ReportedByID> <ReportedByName>sample string 6</ReportedByName> <ReportedDate>2025-07-07T09:21:28.8845506+04:00</ReportedDate> <Summary>sample string 3</Summary> <TransactionDetail> <InspectionItemID>ddce17c9-8d76-4ca5-af39-34222607fd64</InspectionItemID> <InspectionOn>2025-07-07T09:21:28.8845506+04:00</InspectionOn> <ServiceID>206bae9a-edb9-4ff7-b845-5695eb88c273</ServiceID> <ServiceTypeID>77d2b9bb-e5cf-4e4d-bf73-d187bee707cd</ServiceTypeID> <Status>None</Status> <WorkOrderID>8caeafb4-d640-49d1-b0f7-22de169494ae</WorkOrderID> <WorkOrderOn>2025-07-07T09:21:28.8845506+04:00</WorkOrderOn> </TransactionDetail> <Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <d2p1:ClientID>f5b241d1-42ba-44fa-a64f-27e65f36c2c3</d2p1:ClientID> <d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo> <d2p1:DriverID>a196dd35-04ea-413c-b1c6-4841220794da</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>d2dbbdbd-332a-4b46-90e0-8c53d0f72afd</d2p1:PartnerID> <d2p1:VehicleID>3197d802-207b-4205-8e60-06879f412658</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": "8c5e1bfd-adb7-4ba3-a609-76d412855a05", "Value": "sample string 3", "RecordOn": "2025-07-07T09:21:28.8845506+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>8c5e1bfd-adb7-4ba3-a609-76d412855a05</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-07-07T09:21:28.8845506+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>