POST api/HTMLManagement?VendorID={VendorID}&VendorPassword={VendorPassword}&APIGUID={APIGUID}
Adds HTML template to folder
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
VendorID | string |
Required |
|
VendorPassword | string |
Required |
|
APIGUID | string |
Required |
Body Parameters
HTML structure
HTMLTemplateName | Description | Type | Additional 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:
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |