GET api/Vehicle/GetVehicleForChannel?ChannelId={ChannelId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
ChannelId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of VehicleInfoName | Description | Type | Additional information |
---|---|---|---|
Vehicle_Id | integer |
None. |
|
VehicleCode | string |
None. |
|
VehicleName | string |
None. |
|
IsActive | boolean |
None. |
|
CreatedBy | integer |
None. |
|
CreatedOn | date |
None. |
|
ModifiedBy | integer |
None. |
|
ModifiedOn | date |
None. |
|
Channel_Id | integer |
None. |
|
ChannelName | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Vehicle_Id": 1, "VehicleCode": "sample string 2", "VehicleName": "sample string 3", "IsActive": true, "CreatedBy": 5, "CreatedOn": "2024-12-23T03:30:12.0186821+05:30", "ModifiedBy": 1, "ModifiedOn": "2024-12-23T03:30:12.0186821+05:30", "Channel_Id": 1, "ChannelName": "sample string 6" }, { "Vehicle_Id": 1, "VehicleCode": "sample string 2", "VehicleName": "sample string 3", "IsActive": true, "CreatedBy": 5, "CreatedOn": "2024-12-23T03:30:12.0186821+05:30", "ModifiedBy": 1, "ModifiedOn": "2024-12-23T03:30:12.0186821+05:30", "Channel_Id": 1, "ChannelName": "sample string 6" } ]
application/xml, text/xml
Sample:
<ArrayOfVehicleInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel"> <VehicleInfo> <ChannelName>sample string 6</ChannelName> <Channel_Id>1</Channel_Id> <CreatedBy>5</CreatedBy> <CreatedOn>2024-12-23T03:30:12.0186821+05:30</CreatedOn> <IsActive>true</IsActive> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2024-12-23T03:30:12.0186821+05:30</ModifiedOn> <VehicleCode>sample string 2</VehicleCode> <VehicleName>sample string 3</VehicleName> <Vehicle_Id>1</Vehicle_Id> </VehicleInfo> <VehicleInfo> <ChannelName>sample string 6</ChannelName> <Channel_Id>1</Channel_Id> <CreatedBy>5</CreatedBy> <CreatedOn>2024-12-23T03:30:12.0186821+05:30</CreatedOn> <IsActive>true</IsActive> <ModifiedBy>1</ModifiedBy> <ModifiedOn>2024-12-23T03:30:12.0186821+05:30</ModifiedOn> <VehicleCode>sample string 2</VehicleCode> <VehicleName>sample string 3</VehicleName> <Vehicle_Id>1</Vehicle_Id> </VehicleInfo> </ArrayOfVehicleInfo>