POST api/host/promotionplacements

Request Information

URI Parameters

None.

Body Parameters

PromotionPlacement
NameDescriptionTypeAdditional information
Identifier

Collection of byte

None.

IdentifierGuid

globally unique identifier

None.

Code

string

String length: inclusive between 0 and 20

Description

string

String length: inclusive between 0 and 50

IsAdvertised

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "identifier": "3LbsSTy7lEuzghokMUZITA==",
  "identifierGuid": "49ecb6dc-bb3c-4b94-b382-1a243146484c",
  "code": "sample string 2",
  "description": "sample string 3",
  "isAdvertised": true
}

application/xml, text/xml

Sample:
<PromotionPlacement xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EziManager.Models.EMC.Campaigns">
  <Code>sample string 2</Code>
  <Description>sample string 3</Description>
  <Identifier>3LbsSTy7lEuzghokMUZITA==</Identifier>
  <IdentifierGuid>49ecb6dc-bb3c-4b94-b382-1a243146484c</IdentifierGuid>
  <IsAdvertised>true</IsAdvertised>
</PromotionPlacement>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.