POST AdminApi/PromoteEmail/Save

Request Information

URI Parameters

None.

Body Parameters

PromoteEmailInfoView
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

From

string

None.

Tos

Collection of string

None.

Subjects

Collection of MutiLanguage

None.

ContentSubjects

Collection of MutiLanguage

None.

TopMessages

Collection of MutiLanguage

None.

BottomMessages

Collection of MutiLanguage

None.

Contacts

Collection of MutiLanguage

None.

Titles

Collection of MutiLanguage

None.

ImgSize

ImageSizeType

None.

ExpectSendDate

date

None.

Langs

Collection of string

None.

Products

Collection of EmailerProductView

None.

Action

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "7d1d4d76-52c3-4366-b0b3-a188ae24b0cf",
  "From": "sample string 2",
  "Tos": [
    "sample string 1",
    "sample string 2"
  ],
  "Subjects": [
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    },
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    }
  ],
  "ContentSubjects": [
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    },
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    }
  ],
  "TopMessages": [
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    },
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    }
  ],
  "BottomMessages": [
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    },
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    }
  ],
  "Contacts": [
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    },
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    }
  ],
  "Titles": [
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    },
    {
      "Lang": {
        "Text": "sample string 1",
        "Code": "sample string 2",
        "Id": 3
      },
      "Language": 0,
      "Desc": "sample string 1"
    }
  ],
  "ImgSize": 0,
  "ExpectSendDate": "2021-05-11 14:06:56",
  "Langs": [
    "sample string 1",
    "sample string 2"
  ],
  "Products": [
    {
      "Id": "8fb1acac-e1b9-4776-8c6a-0f12a1707444",
      "ProductCode": "sample string 2",
      "NameTransId": "c6420922-d088-4afc-8ad0-9dc1084ea7ff",
      "MerchantNameTransId": "4f2009de-0422-4198-92f1-33bc6aea628e",
      "ProductNames": [
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        },
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        }
      ],
      "ProductName": "sample string 5",
      "MerchantNames": [
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        },
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        }
      ],
      "MerchantName": "sample string 6",
      "PromotionRuleTransId": "eb2f3588-e261-438a-a395-5a4799a20b72",
      "RuleTitles": [
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        },
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        }
      ],
      "RuleTitle": "sample string 8",
      "ListPrice": 9.0,
      "SalesPrice": 10.0,
      "Image": "sample string 11",
      "ProductLink": "sample string 12"
    },
    {
      "Id": "8fb1acac-e1b9-4776-8c6a-0f12a1707444",
      "ProductCode": "sample string 2",
      "NameTransId": "c6420922-d088-4afc-8ad0-9dc1084ea7ff",
      "MerchantNameTransId": "4f2009de-0422-4198-92f1-33bc6aea628e",
      "ProductNames": [
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        },
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        }
      ],
      "ProductName": "sample string 5",
      "MerchantNames": [
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        },
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        }
      ],
      "MerchantName": "sample string 6",
      "PromotionRuleTransId": "eb2f3588-e261-438a-a395-5a4799a20b72",
      "RuleTitles": [
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        },
        {
          "Lang": {
            "Text": "sample string 1",
            "Code": "sample string 2",
            "Id": 3
          },
          "Language": 0,
          "Desc": "sample string 1"
        }
      ],
      "RuleTitle": "sample string 8",
      "ListPrice": 9.0,
      "SalesPrice": 10.0,
      "Image": "sample string 11",
      "ProductLink": "sample string 12"
    }
  ],
  "Action": "sample string 3"
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Succeeded": true,
  "Message": "sample string 2",
  "ReturnValue": {}
}