GET Account/GetChannelList?SID={SID}&isMetaSite={isMetaSite}&bForceFresh={bForceFresh}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
SID

integer

Required

isMetaSite

boolean

Default value is True

bForceFresh

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

ResponseOfListOfChannelsData
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

Collection of ChannelsData

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": [
    {
      "CID": 1,
      "ChannelMasterId": 1,
      "Name": "sample string 2",
      "URL": "sample string 3",
      "ResultsPerPage": 1,
      "isActive": true,
      "IsMetaSite": true,
      "OrderId": 6,
      "IsMobileChannel": true
    },
    {
      "CID": 1,
      "ChannelMasterId": 1,
      "Name": "sample string 2",
      "URL": "sample string 3",
      "ResultsPerPage": 1,
      "isActive": true,
      "IsMetaSite": true,
      "OrderId": 6,
      "IsMobileChannel": true
    }
  ]
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":[{"CID":1,"ChannelMasterId":1,"Name":"sample string 2","URL":"sample string 3","ResultsPerPage":1,"isActive":true,"IsMetaSite":true,"OrderId":6,"IsMobileChannel":true},{"CID":1,"ChannelMasterId":1,"Name":"sample string 2","URL":"sample string 3","ResultsPerPage":1,"isActive":true,"IsMetaSite":true,"OrderId":6,"IsMobileChannel":true}]}

application/xml, text/xml

Sample:
<ResponseOfArrayOfChannelsDataILgr5ZvH xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
  <Body xmlns:d2p1="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Account">
    <d2p1:ChannelsData>
      <d2p1:CID>1</d2p1:CID>
      <d2p1:ChannelMasterId>1</d2p1:ChannelMasterId>
      <d2p1:IsMetaSite>true</d2p1:IsMetaSite>
      <d2p1:IsMobileChannel>true</d2p1:IsMobileChannel>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:OrderId>6</d2p1:OrderId>
      <d2p1:ResultsPerPage>1</d2p1:ResultsPerPage>
      <d2p1:URL>sample string 3</d2p1:URL>
      <d2p1:isActive>true</d2p1:isActive>
    </d2p1:ChannelsData>
    <d2p1:ChannelsData>
      <d2p1:CID>1</d2p1:CID>
      <d2p1:ChannelMasterId>1</d2p1:ChannelMasterId>
      <d2p1:IsMetaSite>true</d2p1:IsMetaSite>
      <d2p1:IsMobileChannel>true</d2p1:IsMobileChannel>
      <d2p1:Name>sample string 2</d2p1:Name>
      <d2p1:OrderId>6</d2p1:OrderId>
      <d2p1:ResultsPerPage>1</d2p1:ResultsPerPage>
      <d2p1:URL>sample string 3</d2p1:URL>
      <d2p1:isActive>true</d2p1:isActive>
    </d2p1:ChannelsData>
  </Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfArrayOfChannelsDataILgr5ZvH>