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": "bc437458-d89c-4f57-a43b-3d565af7e232", "Name": "sample string 2", "VehicleNo": "sample string 3", "Odometer": 4, "ModelName": "sample string 5", "DriverID": "99e6276c-aa3a-42f5-9195-3422b367cfa8", "DriverName": "sample string 7", "DriverContactNo": "sample string 8", "IMEINo": "sample string 9", "ClientID": "ae23a4dd-0a7a-4ed2-a26e-cd92ec90d9a9", "PartnerID": "8f3a8964-aca2-4da5-a620-a358b2b09e9f" }, "IssueID": "2c05ae9e-456a-43fd-b540-154529bf2b64", "ReportedDate": "2025-08-08T15:33:38.3778229+04:00", "Summary": "sample string 3", "Description": "sample string 4", "ReportedByID": "c39492df-29ba-427e-9b64-81d54f9082d9", "ReportedByName": "sample string 6", "AssignedToID": "f7696ae3-7144-4304-8996-b6ff8a673ad2", "AssignedToName": "sample string 8", "Odometer": 9.1, "DueDate": "2025-08-08T15:33:38.3778229+04:00", "DueOdometer": 11.1, "Attachment": { "AttachmentID": "fc309163-f687-4de1-8081-dc085480782a", "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": "04f2410b-7e1b-41bd-8a0f-52aa43fd1b74", "ServiceTypeID": "f1b4561b-80ea-4c54-aca9-fde52b6fd86f", "WorkOrderOn": "2025-08-08T15:33:38.3778229+04:00", "WorkOrderID": "130e3613-0ba4-45a3-9a01-5fe75b447835", "InspectionOn": "2025-08-08T15:33:38.3778229+04:00", "InspectionItemID": "0ac1eae4-09ae-42e8-97a4-cadfd2836239" }, "PrevVehicleID": "f8f3d019-eb9c-4119-aa2d-586ff7ecc6ea", "CloseBy": "180e8b47-659d-4e14-81f8-b89ba04c0734", "CloseOn": "2025-08-08T15:33:38.3778229+04:00", "CriticalLevel": 0, "Id": "bdd502df-5c9c-40b3-9b0f-7442627bf7e7", "UserName": "sample string 17", "UserID": "06ee8305-eba5-4f73-9062-5850bfab8ee9", "CreatedBy": "sample string 19", "CreatedOn": "2025-08-08T15:33:38.3778229+04:00", "ClientID": "892d3ed9-7329-4552-bc86-1473f874eeaa", "ClientName": "sample string 22", "PartnerID": "b6dcba6f-8167-400d-82cb-9c768d92d126", "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">892d3ed9-7329-4552-bc86-1473f874eeaa</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-08-08T15:33:38.3778229+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">bdd502df-5c9c-40b3-9b0f-7442627bf7e7</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">b6dcba6f-8167-400d-82cb-9c768d92d126</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">06ee8305-eba5-4f73-9062-5850bfab8ee9</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName> <AssignedToID>f7696ae3-7144-4304-8996-b6ff8a673ad2</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>fc309163-f687-4de1-8081-dc085480782a</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>180e8b47-659d-4e14-81f8-b89ba04c0734</CloseBy> <CloseNote>sample string 12</CloseNote> <CloseOn>2025-08-08T15:33:38.3778229+04:00</CloseOn> <CriticalLevel>Low</CriticalLevel> <Description>sample string 4</Description> <DueDate>2025-08-08T15:33:38.3778229+04:00</DueDate> <DueOdometer>11.1</DueOdometer> <IssueID>2c05ae9e-456a-43fd-b540-154529bf2b64</IssueID> <Odometer>9.1</Odometer> <PrevVehicleID>f8f3d019-eb9c-4119-aa2d-586ff7ecc6ea</PrevVehicleID> <ReportedByID>c39492df-29ba-427e-9b64-81d54f9082d9</ReportedByID> <ReportedByName>sample string 6</ReportedByName> <ReportedDate>2025-08-08T15:33:38.3778229+04:00</ReportedDate> <Summary>sample string 3</Summary> <TransactionDetail> <InspectionItemID>0ac1eae4-09ae-42e8-97a4-cadfd2836239</InspectionItemID> <InspectionOn>2025-08-08T15:33:38.3778229+04:00</InspectionOn> <ServiceID>04f2410b-7e1b-41bd-8a0f-52aa43fd1b74</ServiceID> <ServiceTypeID>f1b4561b-80ea-4c54-aca9-fde52b6fd86f</ServiceTypeID> <Status>None</Status> <WorkOrderID>130e3613-0ba4-45a3-9a01-5fe75b447835</WorkOrderID> <WorkOrderOn>2025-08-08T15:33:38.3778229+04:00</WorkOrderOn> </TransactionDetail> <Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <d2p1:ClientID>ae23a4dd-0a7a-4ed2-a26e-cd92ec90d9a9</d2p1:ClientID> <d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo> <d2p1:DriverID>99e6276c-aa3a-42f5-9195-3422b367cfa8</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>8f3a8964-aca2-4da5-a620-a358b2b09e9f</d2p1:PartnerID> <d2p1:VehicleID>bc437458-d89c-4f57-a43b-3d565af7e232</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": "2dda9cb2-0eaf-4b4a-a0df-9edcdceb94c8", "Value": "sample string 3", "RecordOn": "2025-08-08T15:33:38.3778229+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>2dda9cb2-0eaf-4b4a-a0df-9edcdceb94c8</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-08-08T15:33:38.3778229+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>