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": "14122a39-96ce-4411-9f74-6b73b2f19c5c", "Name": "sample string 2", "VehicleNo": "sample string 3", "Odometer": 4, "ModelName": "sample string 5", "DriverID": "bc8f2596-ec3d-4912-bf82-08427c71cd6b", "DriverName": "sample string 7", "DriverContactNo": "sample string 8", "IMEINo": "sample string 9", "ClientID": "8738d5ad-d1c7-424e-8103-47dff0d5293e", "PartnerID": "221ae3c0-8995-4190-b8e4-a31632d98917" }, "IssueID": "259d7a21-6a68-4459-b4c2-188a0dd8c2d1", "ReportedDate": "2025-05-20T21:20:58.1497665+04:00", "Summary": "sample string 3", "Description": "sample string 4", "ReportedByID": "a431b39b-4b86-4695-afb3-48db694091c3", "ReportedByName": "sample string 6", "AssignedToID": "684caaf3-8ad1-4d92-a0e8-f60e8a87320c", "AssignedToName": "sample string 8", "Odometer": 9.1, "DueDate": "2025-05-20T21:20:58.1497665+04:00", "DueOdometer": 11.1, "Attachment": { "AttachmentID": "471e6a7f-408a-4550-82e3-a0724b1a40cb", "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": "bd792c23-e9af-4f9c-b589-b292b805acc4", "ServiceTypeID": "827ee376-80e6-4b99-9807-1cdbc432760c", "WorkOrderOn": "2025-05-20T21:20:58.1497665+04:00", "WorkOrderID": "63ee1581-0bb0-4914-aba5-b8d89516b761", "InspectionOn": "2025-05-20T21:20:58.1497665+04:00", "InspectionItemID": "fc13a6a3-0a47-44d8-a82d-aa4d68707b7b" }, "PrevVehicleID": "7088a3e9-19cc-4a5d-8e9e-0f046e5e203c", "CloseBy": "4dbead40-de64-4bd3-b68c-2c210c2b6154", "CloseOn": "2025-05-20T21:20:58.1497665+04:00", "CriticalLevel": 0, "Id": "915e5305-f203-4db7-9e2e-42ae9757bec2", "UserName": "sample string 17", "UserID": "31cd5230-b72b-47ec-9eea-795eaada9b37", "CreatedBy": "sample string 19", "CreatedOn": "2025-05-20T21:20:58.1497665+04:00", "ClientID": "0f0fe996-383f-4b45-ad19-3da47470fbe0", "ClientName": "sample string 22", "PartnerID": "d48819ae-d98f-49f1-8d91-4242006b32bd", "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">0f0fe996-383f-4b45-ad19-3da47470fbe0</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-05-20T21:20:58.1497665+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">915e5305-f203-4db7-9e2e-42ae9757bec2</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">d48819ae-d98f-49f1-8d91-4242006b32bd</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">31cd5230-b72b-47ec-9eea-795eaada9b37</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName> <AssignedToID>684caaf3-8ad1-4d92-a0e8-f60e8a87320c</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>471e6a7f-408a-4550-82e3-a0724b1a40cb</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>4dbead40-de64-4bd3-b68c-2c210c2b6154</CloseBy> <CloseNote>sample string 12</CloseNote> <CloseOn>2025-05-20T21:20:58.1497665+04:00</CloseOn> <CriticalLevel>Low</CriticalLevel> <Description>sample string 4</Description> <DueDate>2025-05-20T21:20:58.1497665+04:00</DueDate> <DueOdometer>11.1</DueOdometer> <IssueID>259d7a21-6a68-4459-b4c2-188a0dd8c2d1</IssueID> <Odometer>9.1</Odometer> <PrevVehicleID>7088a3e9-19cc-4a5d-8e9e-0f046e5e203c</PrevVehicleID> <ReportedByID>a431b39b-4b86-4695-afb3-48db694091c3</ReportedByID> <ReportedByName>sample string 6</ReportedByName> <ReportedDate>2025-05-20T21:20:58.1497665+04:00</ReportedDate> <Summary>sample string 3</Summary> <TransactionDetail> <InspectionItemID>fc13a6a3-0a47-44d8-a82d-aa4d68707b7b</InspectionItemID> <InspectionOn>2025-05-20T21:20:58.1497665+04:00</InspectionOn> <ServiceID>bd792c23-e9af-4f9c-b589-b292b805acc4</ServiceID> <ServiceTypeID>827ee376-80e6-4b99-9807-1cdbc432760c</ServiceTypeID> <Status>None</Status> <WorkOrderID>63ee1581-0bb0-4914-aba5-b8d89516b761</WorkOrderID> <WorkOrderOn>2025-05-20T21:20:58.1497665+04:00</WorkOrderOn> </TransactionDetail> <Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <d2p1:ClientID>8738d5ad-d1c7-424e-8103-47dff0d5293e</d2p1:ClientID> <d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo> <d2p1:DriverID>bc8f2596-ec3d-4912-bf82-08427c71cd6b</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>221ae3c0-8995-4190-b8e4-a31632d98917</d2p1:PartnerID> <d2p1:VehicleID>14122a39-96ce-4411-9f74-6b73b2f19c5c</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": "5e2cb559-1b9e-4c0b-b525-c4560dfd8ce1", "Value": "sample string 3", "RecordOn": "2025-05-20T21:20:58.1653915+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>5e2cb559-1b9e-4c0b-b525-c4560dfd8ce1</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-05-20T21:20:58.1653915+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>