POST api/DealerOutlet/GetDealerbyCity?cityid={cityid}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| cityid | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DealerOutletBLL| Name | Description | Type | Additional information |
|---|---|---|---|
| DealerOutlet_Id | integer |
None. |
|
| DealerGroup_Id | integer |
None. |
|
| OutletType_Id | integer |
None. |
|
| Region_Id | integer |
None. |
|
| City_Id | integer |
None. |
|
| Channel_Id | integer |
None. |
|
| OutletCode | string |
None. |
|
| DealerCode | string |
None. |
|
| OutletName | string |
None. |
|
| OutletAddress | string |
None. |
|
| IsActive | boolean |
None. |
|
| CreationDate | date |
None. |
|
| ModifiedDate | date |
None. |
|
| UserId | integer |
None. |
|
| ModifiedBy | integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"DealerOutlet_Id": 1,
"DealerGroup_Id": 1,
"OutletType_Id": 1,
"Region_Id": 1,
"City_Id": 1,
"Channel_Id": 1,
"OutletCode": "sample string 2",
"DealerCode": "sample string 3",
"OutletName": "sample string 4",
"OutletAddress": "sample string 5",
"IsActive": true,
"CreationDate": "2025-12-01T04:34:30.970522+05:30",
"ModifiedDate": "2025-12-01T04:34:30.970522+05:30",
"UserId": 8,
"ModifiedBy": 1
},
{
"DealerOutlet_Id": 1,
"DealerGroup_Id": 1,
"OutletType_Id": 1,
"Region_Id": 1,
"City_Id": 1,
"Channel_Id": 1,
"OutletCode": "sample string 2",
"DealerCode": "sample string 3",
"OutletName": "sample string 4",
"OutletAddress": "sample string 5",
"IsActive": true,
"CreationDate": "2025-12-01T04:34:30.970522+05:30",
"ModifiedDate": "2025-12-01T04:34:30.970522+05:30",
"UserId": 8,
"ModifiedBy": 1
}
]
application/xml, text/xml
Sample:
<ArrayOfDealerOutletBLL xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel">
<DealerOutletBLL>
<Channel_Id>1</Channel_Id>
<City_Id>1</City_Id>
<CreationDate>2025-12-01T04:34:30.970522+05:30</CreationDate>
<DealerCode>sample string 3</DealerCode>
<DealerGroup_Id>1</DealerGroup_Id>
<DealerOutlet_Id>1</DealerOutlet_Id>
<IsActive>true</IsActive>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-01T04:34:30.970522+05:30</ModifiedDate>
<OutletAddress>sample string 5</OutletAddress>
<OutletCode>sample string 2</OutletCode>
<OutletName>sample string 4</OutletName>
<OutletType_Id>1</OutletType_Id>
<Region_Id>1</Region_Id>
<UserId>8</UserId>
</DealerOutletBLL>
<DealerOutletBLL>
<Channel_Id>1</Channel_Id>
<City_Id>1</City_Id>
<CreationDate>2025-12-01T04:34:30.970522+05:30</CreationDate>
<DealerCode>sample string 3</DealerCode>
<DealerGroup_Id>1</DealerGroup_Id>
<DealerOutlet_Id>1</DealerOutlet_Id>
<IsActive>true</IsActive>
<ModifiedBy>1</ModifiedBy>
<ModifiedDate>2025-12-01T04:34:30.970522+05:30</ModifiedDate>
<OutletAddress>sample string 5</OutletAddress>
<OutletCode>sample string 2</OutletCode>
<OutletName>sample string 4</OutletName>
<OutletType_Id>1</OutletType_Id>
<Region_Id>1</Region_Id>
<UserId>8</UserId>
</DealerOutletBLL>
</ArrayOfDealerOutletBLL>