POST api/branding/uploademailtemplate

Request Information

URI Parameters

None.

Body Parameters

BrandTemplateSaveDataContract
NameDescriptionTypeAdditional information
BrandId

integer

None.

Data

string

None.

FileName

string

None.

Description

string

None.

Tags

Collection of TagDataContract

None.

Request Formats

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
    }
  ]
}

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

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.