POST Api/Issue/Create
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": "e32a3c5d-15b2-44c8-b08a-71626b37bd21", "Name": "sample string 2", "VehicleNo": "sample string 3", "Odometer": 4, "ModelName": "sample string 5", "DriverID": "7bd42769-b108-4b62-af52-aa6442f82ee2", "DriverName": "sample string 7", "DriverContactNo": "sample string 8", "IMEINo": "sample string 9", "ClientID": "dc0679ec-4625-456e-a3ba-5208657822d2", "PartnerID": "e47fed4a-cdd3-424b-8edd-7c45999aaf64" }, "IssueID": "737df602-2e6b-413e-87aa-96d6ec83f3dd", "ReportedDate": "2025-05-20T21:14:26.4576556+04:00", "Summary": "sample string 3", "Description": "sample string 4", "ReportedByID": "56c4d01d-4260-4123-8668-e5034e265c95", "ReportedByName": "sample string 6", "AssignedToID": "b5960f15-6da4-45ee-a445-9757b3220848", "AssignedToName": "sample string 8", "Odometer": 9.1, "DueDate": "2025-05-20T21:14:26.4576556+04:00", "DueOdometer": 11.1, "Attachment": { "AttachmentID": "1fa76334-249a-4e91-8cec-a1f1ee7f7a34", "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": "e861546f-d6e3-481b-9e0a-b3b70827b0b9", "ServiceTypeID": "9277c614-27ac-4261-a773-948d86b2dbe2", "WorkOrderOn": "2025-05-20T21:14:26.4576556+04:00", "WorkOrderID": "70e6219a-75f0-49bb-b359-370d56e98b86", "InspectionOn": "2025-05-20T21:14:26.4576556+04:00", "InspectionItemID": "5e8e5053-3ea6-4be6-8f35-459ae75bac9c" }, "PrevVehicleID": "be8789dd-84de-49a6-9688-e95cf19230ed", "CloseBy": "1ba35999-b810-41cd-8928-76fe39b87053", "CloseOn": "2025-05-20T21:14:26.4576556+04:00", "CriticalLevel": 0, "Id": "13ee80cc-2a32-40ce-a357-e297c5a37394", "UserName": "sample string 17", "UserID": "c28dc30e-3441-4a0e-83fd-b2091818c9e0", "CreatedBy": "sample string 19", "CreatedOn": "2025-05-20T21:14:26.4576556+04:00", "ClientID": "2d7e042d-4e71-4927-a9dd-7afd262ddb05", "ClientName": "sample string 22", "PartnerID": "8fd5ef6b-e745-4395-b99c-d53fb99f0ba9", "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">2d7e042d-4e71-4927-a9dd-7afd262ddb05</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:14:26.4576556+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">13ee80cc-2a32-40ce-a357-e297c5a37394</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">8fd5ef6b-e745-4395-b99c-d53fb99f0ba9</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">c28dc30e-3441-4a0e-83fd-b2091818c9e0</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName> <AssignedToID>b5960f15-6da4-45ee-a445-9757b3220848</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>1fa76334-249a-4e91-8cec-a1f1ee7f7a34</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>1ba35999-b810-41cd-8928-76fe39b87053</CloseBy> <CloseNote>sample string 12</CloseNote> <CloseOn>2025-05-20T21:14:26.4576556+04:00</CloseOn> <CriticalLevel>Low</CriticalLevel> <Description>sample string 4</Description> <DueDate>2025-05-20T21:14:26.4576556+04:00</DueDate> <DueOdometer>11.1</DueOdometer> <IssueID>737df602-2e6b-413e-87aa-96d6ec83f3dd</IssueID> <Odometer>9.1</Odometer> <PrevVehicleID>be8789dd-84de-49a6-9688-e95cf19230ed</PrevVehicleID> <ReportedByID>56c4d01d-4260-4123-8668-e5034e265c95</ReportedByID> <ReportedByName>sample string 6</ReportedByName> <ReportedDate>2025-05-20T21:14:26.4576556+04:00</ReportedDate> <Summary>sample string 3</Summary> <TransactionDetail> <InspectionItemID>5e8e5053-3ea6-4be6-8f35-459ae75bac9c</InspectionItemID> <InspectionOn>2025-05-20T21:14:26.4576556+04:00</InspectionOn> <ServiceID>e861546f-d6e3-481b-9e0a-b3b70827b0b9</ServiceID> <ServiceTypeID>9277c614-27ac-4261-a773-948d86b2dbe2</ServiceTypeID> <Status>None</Status> <WorkOrderID>70e6219a-75f0-49bb-b359-370d56e98b86</WorkOrderID> <WorkOrderOn>2025-05-20T21:14:26.4576556+04:00</WorkOrderOn> </TransactionDetail> <Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <d2p1:ClientID>dc0679ec-4625-456e-a3ba-5208657822d2</d2p1:ClientID> <d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo> <d2p1:DriverID>7bd42769-b108-4b62-af52-aa6442f82ee2</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>e47fed4a-cdd3-424b-8edd-7c45999aaf64</d2p1:PartnerID> <d2p1:VehicleID>e32a3c5d-15b2-44c8-b08a-71626b37bd21</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": "668e4dff-4274-413f-bdf2-4aeddb0d3626", "Value": "sample string 3", "RecordOn": "2025-05-20T21:14:26.4732839+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>668e4dff-4274-413f-bdf2-4aeddb0d3626</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:14:26.4732839+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>