POST marketinggroup/AddMarketingGroup

Request Information

URI Parameters

None.

Body Parameters

MarketingGroup
NameDescriptionTypeAdditional information
GroupId

integer

None.

GroupName

string

None.

GroupDescription

string

None.

Active

boolean

None.

TenantId

integer

None.

TOSOURCE

string

None.

Request Formats

application/json, text/json

Sample:
{
  "GroupId": 1,
  "GroupName": "sample string 2",
  "GroupDescription": "sample string 3",
  "Active": true,
  "TenantId": 5,
  "TOSOURCE": "sample string 6"
}

text/html

Sample:
{"GroupId":1,"GroupName":"sample string 2","GroupDescription":"sample string 3","Active":true,"TenantId":5,"TOSOURCE":"sample string 6"}

application/xml, text/xml

Sample:
<MarketingGroup xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.MarketingGroups">
  <Active>true</Active>
  <GroupDescription>sample string 3</GroupDescription>
  <GroupId>1</GroupId>
  <GroupName>sample string 2</GroupName>
  <TOSOURCE>sample string 6</TOSOURCE>
  <TenantId>5</TenantId>
</MarketingGroup>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html, application/xml, text/xml

Sample:

Sample not available.