POST UpdateExtractedDescriptions?sID={sID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
sID

integer

Required

Body Parameters

Collection of ExtractedChannelPropertyDescriptionEntity
NameDescriptionTypeAdditional information
ChannelId

integer

None.

ChannelName

string

None.

propertyDescriptions

Collection of ExtractedPropertyDescription

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ChannelId": 1,
    "ChannelName": "sample string 2",
    "propertyDescriptions": [
      {
        "PropertyId": 1,
        "Descriptions": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "PropertyId": 1,
        "Descriptions": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ]
  },
  {
    "ChannelId": 1,
    "ChannelName": "sample string 2",
    "propertyDescriptions": [
      {
        "PropertyId": 1,
        "Descriptions": [
          "sample string 1",
          "sample string 2"
        ]
      },
      {
        "PropertyId": 1,
        "Descriptions": [
          "sample string 1",
          "sample string 2"
        ]
      }
    ]
  }
]

text/html

Sample:
[{"ChannelId":1,"ChannelName":"sample string 2","propertyDescriptions":[{"PropertyId":1,"Descriptions":["sample string 1","sample string 2"]},{"PropertyId":1,"Descriptions":["sample string 1","sample string 2"]}]},{"ChannelId":1,"ChannelName":"sample string 2","propertyDescriptions":[{"PropertyId":1,"Descriptions":["sample string 1","sample string 2"]},{"PropertyId":1,"Descriptions":["sample string 1","sample string 2"]}]}]

application/xml, text/xml

Sample:
<ArrayOfExtractedChannelPropertyDescriptionEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PGH.NxtGN.BO.TagMapping">
  <ExtractedChannelPropertyDescriptionEntity>
    <ChannelId>1</ChannelId>
    <ChannelName>sample string 2</ChannelName>
    <propertyDescriptions>
      <ExtractedPropertyDescription>
        <Descriptions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Descriptions>
        <PropertyId>1</PropertyId>
      </ExtractedPropertyDescription>
      <ExtractedPropertyDescription>
        <Descriptions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Descriptions>
        <PropertyId>1</PropertyId>
      </ExtractedPropertyDescription>
    </propertyDescriptions>
  </ExtractedChannelPropertyDescriptionEntity>
  <ExtractedChannelPropertyDescriptionEntity>
    <ChannelId>1</ChannelId>
    <ChannelName>sample string 2</ChannelName>
    <propertyDescriptions>
      <ExtractedPropertyDescription>
        <Descriptions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Descriptions>
        <PropertyId>1</PropertyId>
      </ExtractedPropertyDescription>
      <ExtractedPropertyDescription>
        <Descriptions xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:string>sample string 1</d5p1:string>
          <d5p1:string>sample string 2</d5p1:string>
        </Descriptions>
        <PropertyId>1</PropertyId>
      </ExtractedPropertyDescription>
    </propertyDescriptions>
  </ExtractedChannelPropertyDescriptionEntity>
</ArrayOfExtractedChannelPropertyDescriptionEntity>

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

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>