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": "cabec258-e030-47fa-aea1-438de20f3c28", "Name": "sample string 2", "VehicleNo": "sample string 3", "Odometer": 4, "ModelName": "sample string 5", "DriverID": "f842a9d3-4c7f-439f-8e8d-8122ceaf9813", "DriverName": "sample string 7", "DriverContactNo": "sample string 8", "IMEINo": "sample string 9", "ClientID": "baa98e54-8092-424d-870e-b6e692950933", "PartnerID": "db6005a8-7713-4832-9981-43a88848de8a" }, "IssueID": "3d6a4f00-b6e2-4f89-9cfb-5821ad5d67bd", "ReportedDate": "2025-08-08T15:35:40.3532677+04:00", "Summary": "sample string 3", "Description": "sample string 4", "ReportedByID": "93ef9cf2-0709-43d6-9bc5-3d1af48bb53a", "ReportedByName": "sample string 6", "AssignedToID": "ec2ccaed-1366-40fe-812a-9c9ae9d7215d", "AssignedToName": "sample string 8", "Odometer": 9.1, "DueDate": "2025-08-08T15:35:40.3532677+04:00", "DueOdometer": 11.1, "Attachment": { "AttachmentID": "6c7f3a87-80bb-4113-ae14-e2abb14b542d", "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": "9dafd58a-39df-4bc6-b14c-1a43b22c7899", "ServiceTypeID": "ac22bdf8-53f6-48a3-9c60-01132ba8f292", "WorkOrderOn": "2025-08-08T15:35:40.3532677+04:00", "WorkOrderID": "b7d40fab-af81-4b78-a3cf-ed218adf6f54", "InspectionOn": "2025-08-08T15:35:40.3532677+04:00", "InspectionItemID": "e2bce741-e4c0-496d-949e-754b23e849ee" }, "PrevVehicleID": "7d897772-15c5-47d0-87fe-6e7dfaa250ba", "CloseBy": "eca03dfc-55f4-4af9-8587-46b5f471f93b", "CloseOn": "2025-08-08T15:35:40.3532677+04:00", "CriticalLevel": 0, "Id": "2ed742d1-fe35-409b-933d-e5b65d38dd69", "UserName": "sample string 17", "UserID": "f0248acf-ee4e-4305-a7d4-bcb288c0dc9f", "CreatedBy": "sample string 19", "CreatedOn": "2025-08-08T15:35:40.3532677+04:00", "ClientID": "a3be8d44-1ccc-40a0-970f-383e0e2d634e", "ClientName": "sample string 22", "PartnerID": "cba375fe-7787-484d-bc8d-3ee7d5259b5d", "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">a3be8d44-1ccc-40a0-970f-383e0e2d634e</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:35:40.3532677+04:00</CreatedOn> <Id xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">2ed742d1-fe35-409b-933d-e5b65d38dd69</Id> <PartnerID xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">cba375fe-7787-484d-bc8d-3ee7d5259b5d</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">f0248acf-ee4e-4305-a7d4-bcb288c0dc9f</UserID> <UserName xmlns="http://schemas.datacontract.org/2004/07/Fleetroot.Entity">sample string 17</UserName> <AssignedToID>ec2ccaed-1366-40fe-812a-9c9ae9d7215d</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>6c7f3a87-80bb-4113-ae14-e2abb14b542d</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>eca03dfc-55f4-4af9-8587-46b5f471f93b</CloseBy> <CloseNote>sample string 12</CloseNote> <CloseOn>2025-08-08T15:35:40.3532677+04:00</CloseOn> <CriticalLevel>Low</CriticalLevel> <Description>sample string 4</Description> <DueDate>2025-08-08T15:35:40.3532677+04:00</DueDate> <DueOdometer>11.1</DueOdometer> <IssueID>3d6a4f00-b6e2-4f89-9cfb-5821ad5d67bd</IssueID> <Odometer>9.1</Odometer> <PrevVehicleID>7d897772-15c5-47d0-87fe-6e7dfaa250ba</PrevVehicleID> <ReportedByID>93ef9cf2-0709-43d6-9bc5-3d1af48bb53a</ReportedByID> <ReportedByName>sample string 6</ReportedByName> <ReportedDate>2025-08-08T15:35:40.3532677+04:00</ReportedDate> <Summary>sample string 3</Summary> <TransactionDetail> <InspectionItemID>e2bce741-e4c0-496d-949e-754b23e849ee</InspectionItemID> <InspectionOn>2025-08-08T15:35:40.3532677+04:00</InspectionOn> <ServiceID>9dafd58a-39df-4bc6-b14c-1a43b22c7899</ServiceID> <ServiceTypeID>ac22bdf8-53f6-48a3-9c60-01132ba8f292</ServiceTypeID> <Status>None</Status> <WorkOrderID>b7d40fab-af81-4b78-a3cf-ed218adf6f54</WorkOrderID> <WorkOrderOn>2025-08-08T15:35:40.3532677+04:00</WorkOrderOn> </TransactionDetail> <Vehicle xmlns:d2p1="http://schemas.datacontract.org/2004/07/Fleetroot.Entity"> <d2p1:ClientID>baa98e54-8092-424d-870e-b6e692950933</d2p1:ClientID> <d2p1:DriverContactNo>sample string 8</d2p1:DriverContactNo> <d2p1:DriverID>f842a9d3-4c7f-439f-8e8d-8122ceaf9813</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>db6005a8-7713-4832-9981-43a88848de8a</d2p1:PartnerID> <d2p1:VehicleID>cabec258-e030-47fa-aea1-438de20f3c28</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": "6e06b8c7-86fb-453b-8d69-6827e37d0ac6", "Value": "sample string 3", "RecordOn": "2025-08-08T15:35:40.3532677+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>6e06b8c7-86fb-453b-8d69-6827e37d0ac6</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:35:40.3532677+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>