PUT 17.0/database/emailitems/{emailid}/{marketingemailitemid}

Description

Update existing Email Items

URI Parameters

Name Description Type Additional information
emailID

integer

Required

marketingEmailItemID

integer

Required

Name Description Type Additional information
EmailID

integer

None.

MarketingEmailItemID

integer

None.

DisplayOrder

integer

None.

application/json, text/json

Sample:
{
  "emailID": 1,
  "marketingEmailItemID": 1,
  "displayOrder": 1
}

application/xml, text/xml

Sample:
<EmailItemsUpdate xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <EmailID>1</EmailID>
  <MarketingEmailItemID>1</MarketingEmailItemID>
  <DisplayOrder>1</DisplayOrder>
</EmailItemsUpdate>

application/x-www-form-urlencoded

Sample:

Sample not available.

Name Description Type Additional information
EmailID

integer

None.

MarketingEmailItemID

integer

None.

DisplayOrder

integer

None.

application/json, text/json

Sample:
{
  "emailID": 1,
  "marketingEmailItemID": 2,
  "displayOrder": 3
}

application/xml, text/xml

Sample:
<EmailItems xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <EmailID>1</EmailID>
  <MarketingEmailItemID>2</MarketingEmailItemID>
  <DisplayOrder>3</DisplayOrder>
</EmailItems>