POST api/branding/uploademailtemplate

Upload the data to create a Email Document Template for a Brand. Processes this branding API request. The parameter and response sections describe the data exchanged with the API.

Request Information

URI Parameters

None.

Body Parameters

The brand template save data contract supplied with the request.

BrandTemplateSaveDataContract
NameDescriptionTypeAdditional information
BrandId

The unique identifier of the related brand resource.

integer

None.

Data

The data value.

string

None.

FileName

The file name value.

string

None.

Description

The description value.

string

None.

Tags

The collection of tags.

Collection of TagDataContract

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Sample not available.

application/json, text/json

Sample:
{
  "BrandId": 1,
  "Data": "sample string 1",
  "FileName": "sample string 2",
  "Description": "sample string 3",
  "Tags": [
    {
      "Name": "sample string 1",
      "SystemStatusName": "sample string 2",
      "TagType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Id": 3
    },
    {
      "Name": "sample string 1",
      "SystemStatusName": "sample string 2",
      "TagType": {
        "Id": 1,
        "Name": "sample string 2",
        "SystemName": "sample string 3"
      },
      "Id": 3
    }
  ]
}

Response Information

Resource Description

The response returned after the operation completes.

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

The version value.

Version

None.

Content

The content value.

HttpContent

None.

StatusCode

The status code classification.

HttpStatusCode

None.

ReasonPhrase

The reason phrase value.

string

None.

Headers

The collection of headers.

Collection of Object

None.

RequestMessage

The request message value.

HttpRequestMessage

None.

IsSuccessStatusCode

Indicates whether this item is success status code.

boolean

None.