GET api/DealerOutlet/GetDealerOutletBasedOnGroup?DealerGroupId={DealerGroupId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
DealerGroupId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of Sp_GetDealerOutletDetail
NameDescriptionTypeAdditional information
DealerOutlet_Id

integer

None.

DealerCode

string

None.

OutletCode

string

None.

OutletName

string

None.

OutletAddress

string

None.

ChannelName

string

None.

Channel_Id

integer

None.

City_Id

integer

None.

CityName

string

None.

DealerGroup_Id

integer

None.

DealerGroupName

string

None.

DealerGroupCode

string

None.

Region_Id

integer

None.

RegionName

string

None.

RegionCode

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DealerOutlet_Id": 1,
    "DealerCode": "sample string 2",
    "OutletCode": "sample string 3",
    "OutletName": "sample string 4",
    "OutletAddress": "sample string 5",
    "ChannelName": "sample string 6",
    "Channel_Id": 1,
    "City_Id": 1,
    "CityName": "sample string 7",
    "DealerGroup_Id": 1,
    "DealerGroupName": "sample string 8",
    "DealerGroupCode": "sample string 9",
    "Region_Id": 1,
    "RegionName": "sample string 10",
    "RegionCode": "sample string 11"
  },
  {
    "DealerOutlet_Id": 1,
    "DealerCode": "sample string 2",
    "OutletCode": "sample string 3",
    "OutletName": "sample string 4",
    "OutletAddress": "sample string 5",
    "ChannelName": "sample string 6",
    "Channel_Id": 1,
    "City_Id": 1,
    "CityName": "sample string 7",
    "DealerGroup_Id": 1,
    "DealerGroupName": "sample string 8",
    "DealerGroupCode": "sample string 9",
    "Region_Id": 1,
    "RegionName": "sample string 10",
    "RegionCode": "sample string 11"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSp_GetDealerOutletDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel">
  <Sp_GetDealerOutletDetail>
    <ChannelName>sample string 6</ChannelName>
    <Channel_Id>1</Channel_Id>
    <CityName>sample string 7</CityName>
    <City_Id>1</City_Id>
    <DealerCode>sample string 2</DealerCode>
    <DealerGroupCode>sample string 9</DealerGroupCode>
    <DealerGroupName>sample string 8</DealerGroupName>
    <DealerGroup_Id>1</DealerGroup_Id>
    <DealerOutlet_Id>1</DealerOutlet_Id>
    <OutletAddress>sample string 5</OutletAddress>
    <OutletCode>sample string 3</OutletCode>
    <OutletName>sample string 4</OutletName>
    <RegionCode>sample string 11</RegionCode>
    <RegionName>sample string 10</RegionName>
    <Region_Id>1</Region_Id>
  </Sp_GetDealerOutletDetail>
  <Sp_GetDealerOutletDetail>
    <ChannelName>sample string 6</ChannelName>
    <Channel_Id>1</Channel_Id>
    <CityName>sample string 7</CityName>
    <City_Id>1</City_Id>
    <DealerCode>sample string 2</DealerCode>
    <DealerGroupCode>sample string 9</DealerGroupCode>
    <DealerGroupName>sample string 8</DealerGroupName>
    <DealerGroup_Id>1</DealerGroup_Id>
    <DealerOutlet_Id>1</DealerOutlet_Id>
    <OutletAddress>sample string 5</OutletAddress>
    <OutletCode>sample string 3</OutletCode>
    <OutletName>sample string 4</OutletName>
    <RegionCode>sample string 11</RegionCode>
    <RegionName>sample string 10</RegionName>
    <Region_Id>1</Region_Id>
  </Sp_GetDealerOutletDetail>
</ArrayOfSp_GetDealerOutletDetail>