POST Account/CopyChannelExpressionMapping

Request Information

URI Parameters

None.

Body Parameters

ChannelManipulation
NameDescriptionTypeAdditional information
SID

integer

None.

BaseChannelId

integer

None.

BaseChannelName

string

None.

CopyFromChannelId

integer

None.

CopyFromChannelName

string

None.

NewChannelId

integer

None.

NewChannelName

string

None.

Operation

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SID": 1,
  "BaseChannelId": 2,
  "BaseChannelName": "sample string 3",
  "CopyFromChannelId": 4,
  "CopyFromChannelName": "sample string 5",
  "NewChannelId": 6,
  "NewChannelName": "sample string 7",
  "Operation": "sample string 8"
}

text/html

Sample:
{"SID":1,"BaseChannelId":2,"BaseChannelName":"sample string 3","CopyFromChannelId":4,"CopyFromChannelName":"sample string 5","NewChannelId":6,"NewChannelName":"sample string 7","Operation":"sample string 8"}

application/xml, text/xml

Sample:
<ChannelManipulation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Account">
  <BaseChannelId>2</BaseChannelId>
  <BaseChannelName>sample string 3</BaseChannelName>
  <CopyFromChannelId>4</CopyFromChannelId>
  <CopyFromChannelName>sample string 5</CopyFromChannelName>
  <NewChannelId>6</NewChannelId>
  <NewChannelName>sample string 7</NewChannelName>
  <Operation>sample string 8</Operation>
  <SID>1</SID>
</ChannelManipulation>

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 'ChannelManipulation'.

Response Information

Resource Description

ResponseOfBoolean
NameDescriptionTypeAdditional information
Message

string

None.

Status

boolean

None.

Body

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Message": "sample string 1",
  "Status": true,
  "Body": true
}

text/html

Sample:
{"Message":"sample string 1","Status":true,"Body":true}

application/xml, text/xml

Sample:
<ResponseOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.Common">
  <Body>true</Body>
  <Message>sample string 1</Message>
  <Status>true</Status>
</ResponseOfboolean>