GET api/Channel/GetChannelListForDDL?ChannelId={ChannelId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ChannelId

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of ChannlModel
NameDescriptionTypeAdditional information
Channel_Id

integer

None.

ChannelCode

string

None.

ChannelName

string

None.

IsActive

boolean

None.

CreationDate

date

None.

ModifiedDate

date

None.

CreatedBy

integer

None.

ModifiedBy

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Channel_Id": 1,
    "ChannelCode": "sample string 2",
    "ChannelName": "sample string 3",
    "IsActive": true,
    "CreationDate": "2024-12-23T03:32:38.3844146+05:30",
    "ModifiedDate": "2024-12-23T03:32:38.3844146+05:30",
    "CreatedBy": 6,
    "ModifiedBy": 1
  },
  {
    "Channel_Id": 1,
    "ChannelCode": "sample string 2",
    "ChannelName": "sample string 3",
    "IsActive": true,
    "CreationDate": "2024-12-23T03:32:38.3844146+05:30",
    "ModifiedDate": "2024-12-23T03:32:38.3844146+05:30",
    "CreatedBy": 6,
    "ModifiedBy": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfChannlModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProjectBLL.CustomModel">
  <ChannlModel>
    <ChannelCode>sample string 2</ChannelCode>
    <ChannelName>sample string 3</ChannelName>
    <Channel_Id>1</Channel_Id>
    <CreatedBy>6</CreatedBy>
    <CreationDate>2024-12-23T03:32:38.3844146+05:30</CreationDate>
    <IsActive>true</IsActive>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2024-12-23T03:32:38.3844146+05:30</ModifiedDate>
  </ChannlModel>
  <ChannlModel>
    <ChannelCode>sample string 2</ChannelCode>
    <ChannelName>sample string 3</ChannelName>
    <Channel_Id>1</Channel_Id>
    <CreatedBy>6</CreatedBy>
    <CreationDate>2024-12-23T03:32:38.3844146+05:30</CreationDate>
    <IsActive>true</IsActive>
    <ModifiedBy>1</ModifiedBy>
    <ModifiedDate>2024-12-23T03:32:38.3844146+05:30</ModifiedDate>
  </ChannlModel>
</ArrayOfChannlModel>