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": "9a644cd2-4f8c-4c85-9403-3cafef7616f6", "Name": "sample string 2", "VehicleNo": "sample string 3", "Odometer": 4, "ModelName": "sample string 5", "DriverID": "25d4d49a-d963-4e25-8c30-1483432e6fa5", "DriverName": "sample string 7", "DriverContactNo": "sample string 8", "IMEINo": "sample string 9", "ClientID": "01ae97bc-e3b7-4933-a6a7-43f219a87694", "PartnerID": "72d372dd-02f0-41e1-b409-97cc4b7a3a9c" }, "IssueID": "19994265-6427-4a67-86c9-6cbde13b22cb", "ReportedDate": "2025-09-16T19:22:18.8508597+04:00", "Summary": "sample string 3", "Description": "sample string 4", "ReportedByID": "e4a64018-d5b1-436b-8a8a-a5ff4ee70fac", "ReportedByName": "sample string 6", "AssignedToID": "8ffa893c-d6fe-4444-90bb-e68f6f849b09", "AssignedToName": "sample string 8", "Odometer": 9.1, "DueDate": "2025-09-16T19:22:18.8508597+04:00", "DueOdometer": 11.1, "Attachment": { "AttachmentID": "43f5dcf3-e35f-4a72-a6e7-08110ddb1824", "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": "b6174dfc-b573-45bc-b14a-8c08f077784d", "ServiceTypeID": "616ffb83-daf7-4b44-b3c5-8bad3146416b", "WorkOrderOn": "2025-09-16T19:22:18.8508597+04:00", "WorkOrderID": "6c9862e6-ff7b-446b-bf6e-f1479350974f", "InspectionOn": "2025-09-16T19:22:18.8508597+04:00", "InspectionItemID": "0d354da4-0ab7-468f-ae87-5a75d82c5f55" }, "PrevVehicleID": "59a0e8ef-1e39-4d4a-b003-8cacf0929955", "CloseBy": "9eb8b07d-ea70-43b7-8033-8fe0e34849da", "CloseOn": "2025-09-16T19:22:18.8508597+04:00", "CriticalLevel": 0, "Id": "85d1ab9b-de96-470e-ad05-a1f1aefc3ca0", "UserName": "sample string 17", "UserID": "65d690c4-04c5-4692-980c-880ddd1e99b1", "CreatedBy": "sample string 19", "CreatedOn": "2025-09-16T19:22:18.8508597+04:00", "ClientID": "8173178c-b11e-4157-8078-2d4a9a3794d6", "ClientName": "sample string 22", "PartnerID": "b3e87eb5-d98d-4d38-ac85-37be9276ca06", "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">8173178c-b11e-4157-8078-2d4a9a3794d6</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:18.8508597+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">85d1ab9b-de96-470e-ad05-a1f1aefc3ca0</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">b3e87eb5-d98d-4d38-ac85-37be9276ca06</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">65d690c4-04c5-4692-980c-880ddd1e99b1</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName> <AssignedToID>8ffa893c-d6fe-4444-90bb-e68f6f849b09</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>43f5dcf3-e35f-4a72-a6e7-08110ddb1824</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>9eb8b07d-ea70-43b7-8033-8fe0e34849da</CloseBy> <CloseNote>sample string 12</CloseNote> <CloseOn>2025-09-16T19:22:18.8508597+04:00</CloseOn> <CriticalLevel>Low</CriticalLevel> <Description>sample string 4</Description> <DueDate>2025-09-16T19:22:18.8508597+04:00</DueDate> <DueOdometer>11.1</DueOdometer> <IssueID>19994265-6427-4a67-86c9-6cbde13b22cb</IssueID> <Odometer>9.1</Odometer> <PrevVehicleID>59a0e8ef-1e39-4d4a-b003-8cacf0929955</PrevVehicleID> <ReportedByID>e4a64018-d5b1-436b-8a8a-a5ff4ee70fac</ReportedByID> <ReportedByName>sample string 6</ReportedByName> <ReportedDate>2025-09-16T19:22:18.8508597+04:00</ReportedDate> <Summary>sample string 3</Summary> <TransactionDetail> <InspectionItemID>0d354da4-0ab7-468f-ae87-5a75d82c5f55</InspectionItemID> <InspectionOn>2025-09-16T19:22:18.8508597+04:00</InspectionOn> <ServiceID>b6174dfc-b573-45bc-b14a-8c08f077784d</ServiceID> <ServiceTypeID>616ffb83-daf7-4b44-b3c5-8bad3146416b</ServiceTypeID> <Status>None</Status> <WorkOrderID>6c9862e6-ff7b-446b-bf6e-f1479350974f</WorkOrderID> <WorkOrderOn>2025-09-16T19:22:18.8508597+04:00</WorkOrderOn> </TransactionDetail> <Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <d2p1:ClientID>01ae97bc-e3b7-4933-a6a7-43f219a87694</d2p1:ClientID> <d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo> <d2p1:DriverID>25d4d49a-d963-4e25-8c30-1483432e6fa5</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>72d372dd-02f0-41e1-b409-97cc4b7a3a9c</d2p1:PartnerID> <d2p1:VehicleID>9a644cd2-4f8c-4c85-9403-3cafef7616f6</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": "c156b492-e03d-4dc1-8fc1-53b336380c6d", "Value": "sample string 3", "RecordOn": "2025-09-16T19:22:18.8664786+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>c156b492-e03d-4dc1-8fc1-53b336380c6d</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:18.8664786+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>