POST api/MarketingList

Request Information

URI Parameters

None.

Body Parameters

ListQuery
NameDescriptionTypeAdditional information
Query

string

None.

ListName

string

None.

ListType

integer

None.

ListOwner

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Query": "sample string 1",
  "ListName": "sample string 2",
  "ListType": 3,
  "ListOwner": "sample string 4",
  "Description": "sample string 5"
}

application/xml, text/xml

Sample:
<ListQuery xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TheCityUKDynamics.Controllers">
  <Description>sample string 5</Description>
  <ListName>sample string 2</ListName>
  <ListOwner>sample string 4</ListOwner>
  <ListType>3</ListType>
  <Query>sample string 1</Query>
</ListQuery>

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

Response Information

Resource Description

globally unique identifier

Response Formats

application/json, text/json

Sample:
"73e6abb2-6d33-45eb-bf4b-93112c627ced"

application/xml, text/xml

Sample:
<guid xmlns="http://schemas.microsoft.com/2003/10/Serialization/">73e6abb2-6d33-45eb-bf4b-93112c627ced</guid>