POST GetPreditiveStats

Request Information

URI Parameters

None.

Body Parameters

Collection of ChannelsData
NameDescriptionTypeAdditional information
CID

integer

None.

ChannelMasterId

integer

None.

Name

string

None.

URL

string

None.

ResultsPerPage

integer

None.

isActive

boolean

None.

IsMetaSite

boolean

None.

OrderId

integer

None.

IsMobileChannel

boolean

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "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:
[{"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:
<ArrayOfChannelsData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Account">
  <ChannelsData>
    <CID>1</CID>
    <ChannelMasterId>1</ChannelMasterId>
    <IsMetaSite>true</IsMetaSite>
    <IsMobileChannel>true</IsMobileChannel>
    <Name>sample string 2</Name>
    <OrderId>6</OrderId>
    <ResultsPerPage>1</ResultsPerPage>
    <URL>sample string 3</URL>
    <isActive>true</isActive>
  </ChannelsData>
  <ChannelsData>
    <CID>1</CID>
    <ChannelMasterId>1</ChannelMasterId>
    <IsMetaSite>true</IsMetaSite>
    <IsMobileChannel>true</IsMobileChannel>
    <Name>sample string 2</Name>
    <OrderId>6</OrderId>
    <ResultsPerPage>1</ResultsPerPage>
    <URL>sample string 3</URL>
    <isActive>true</isActive>
  </ChannelsData>
</ArrayOfChannelsData>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'List`1'.

Response Information

Resource Description

ResponseOfListOfPredictiveStat
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

Collection of PredictiveStat

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": [
    {
      "Channel": "sample string 1",
      "AvgRate": 2.0
    },
    {
      "Channel": "sample string 1",
      "AvgRate": 2.0
    }
  ]
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":[{"Channel":"sample string 1","AvgRate":2.0},{"Channel":"sample string 1","AvgRate":2.0}]}

application/xml, text/xml

Sample:
<ResponseOfArrayOfPredictiveStato6l0nDaI 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.Shopping">
    <d2p1:PredictiveStat>
      <d2p1:AvgRate>2</d2p1:AvgRate>
      <d2p1:Channel>sample string 1</d2p1:Channel>
    </d2p1:PredictiveStat>
    <d2p1:PredictiveStat>
      <d2p1:AvgRate>2</d2p1:AvgRate>
      <d2p1:Channel>sample string 1</d2p1:Channel>
    </d2p1:PredictiveStat>
  </Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfArrayOfPredictiveStato6l0nDaI>