POST communication/uploadBrochure

Request Information

URI Parameters

None.

Body Parameters

BrochureUpload
NameDescriptionTypeAdditional information
FileName

string

None.

FileString

string

None.

TenantId

integer

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "FileName": "sample string 1",
  "FileString": "sample string 2",
  "TenantId": 3,
  "UserId": 4
}

text/html

Sample:
{"FileName":"sample string 1","FileString":"sample string 2","TenantId":3,"UserId":4}

application/xml, text/xml

Sample:
<BrochureUpload xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Communication">
  <FileName>sample string 1</FileName>
  <FileString>sample string 2</FileString>
  <TenantId>3</TenantId>
  <UserId>4</UserId>
</BrochureUpload>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.