POST api/HTMLManagement?VendorID={VendorID}&VendorPassword={VendorPassword}&APIGUID={APIGUID}

Adds HTML template to folder

Request Information

URI Parameters

NameDescriptionTypeAdditional information
VendorID

string

Required

VendorPassword

string

Required

APIGUID

string

Required

Body Parameters

HTML structure

HTMLTemplate
NameDescriptionTypeAdditional information
HTMLTemplateName

string

None.

HTML

string

None.

DefaultTemplate

boolean

None.

QueueTemplate

boolean

None.

EmployeeTemplate

boolean

None.

CompanyKey

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "HTMLTemplateName": "sample string 1",
  "HTML": "sample string 2",
  "DefaultTemplate": true,
  "QueueTemplate": true,
  "EmployeeTemplate": true,
  "CompanyKey": 6
}

application/xml, text/xml

Sample:
<HTMLTemplate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VMSRXChange.DataClassesCommunicationRequest">
  <CompanyKey>6</CompanyKey>
  <DefaultTemplate>true</DefaultTemplate>
  <EmployeeTemplate>true</EmployeeTemplate>
  <HTML>sample string 2</HTML>
  <HTMLTemplateName>sample string 1</HTMLTemplateName>
  <QueueTemplate>true</QueueTemplate>
</HTMLTemplate>

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.