POST api/DealerGroup/GetDealerGroupListFromRegion?Region={Region}&Channel={Channel}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Region

integer

Required

Channel

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DealerGroupModel
NameDescriptionTypeAdditional information
DealerGroup_Id

integer

None.

City_Id

integer

None.

DealerGroupName

string

None.

DealerGroupCode

string

None.

DealerGroupAddress

string

None.

IsActive

boolean

None.

CreationDate

date

None.

ModifiedDate

date

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "DealerGroup_Id": 1,
    "City_Id": 1,
    "DealerGroupName": "sample string 2",
    "DealerGroupCode": "sample string 3",
    "DealerGroupAddress": "sample string 4",
    "IsActive": true,
    "CreationDate": "2024-12-23T02:35:34.3425858+05:30",
    "ModifiedDate": "2024-12-23T02:35:34.3425858+05:30",
    "CreatedBy": 7,
    "ModifiedBy": 1
  },
  {
    "DealerGroup_Id": 1,
    "City_Id": 1,
    "DealerGroupName": "sample string 2",
    "DealerGroupCode": "sample string 3",
    "DealerGroupAddress": "sample string 4",
    "IsActive": true,
    "CreationDate": "2024-12-23T02:35:34.3425858+05:30",
    "ModifiedDate": "2024-12-23T02:35:34.3425858+05:30",
    "CreatedBy": 7,
    "ModifiedBy": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfDealerGroupModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel">
  <DealerGroupModel>
    <City_Id>1</City_Id>
    <CreatedBy>7</CreatedBy>
    <CreationDate>2024-12-23T02:35:34.3425858+05:30</CreationDate>
    <DealerGroupAddress>sample string 4</DealerGroupAddress>
    <DealerGroupCode>sample string 3</DealerGroupCode>
    <DealerGroupName>sample string 2</DealerGroupName>
    <DealerGroup_Id>1</DealerGroup_Id>
    <IsActive>true</IsActive>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2024-12-23T02:35:34.3425858+05:30</ModifiedDate>
  </DealerGroupModel>
  <DealerGroupModel>
    <City_Id>1</City_Id>
    <CreatedBy>7</CreatedBy>
    <CreationDate>2024-12-23T02:35:34.3425858+05:30</CreationDate>
    <DealerGroupAddress>sample string 4</DealerGroupAddress>
    <DealerGroupCode>sample string 3</DealerGroupCode>
    <DealerGroupName>sample string 2</DealerGroupName>
    <DealerGroup_Id>1</DealerGroup_Id>
    <IsActive>true</IsActive>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2024-12-23T02:35:34.3425858+05:30</ModifiedDate>
  </DealerGroupModel>
</ArrayOfDealerGroupModel>