PUT api/MailShot

Request Information

URI Parameters

None.

Body Parameters

MailshotImageFile
NameDescriptionTypeAdditional information
FileName

string

None.

Base64

string

None.

Reference

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FileName": "sample string 1",
  "Base64": "sample string 2",
  "Reference": "sample string 3"
}

application/xml, text/xml

Sample:
<MailshotImageFile xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PrismAPI.Controllers">
  <Base64>sample string 2</Base64>
  <FileName>sample string 1</FileName>
  <Reference>sample string 3</Reference>
</MailshotImageFile>

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

Response Information

Resource Description

ActionResult

None.

Response Formats

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

Sample:

Sample not available.