POST AdminApi/Marketing/SaveDisccount

Request Information

URI Parameters

None.

Body Parameters

MarketingDiscount
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

DiscountRange

decimal number

None.

DiscountMoney

decimal number

None.

CreateDate

string

None.

IsDiscount

boolean

None.

MemberGroups

Collection of string

None.

Titles

Collection of MutiLanguage

None.

Title

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "1a94bba3-7a30-4bdd-b74f-0d205d8b9e08",
  "DiscountRange": 2.0,
  "DiscountMoney": 3.0,
  "CreateDate": "sample string 4",
  "IsDiscount": true,
  "MemberGroups": [
    "sample string 1",
    "sample string 2"
  ],
  "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"
    }
  ],
  "Title": "sample string 6"
}

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": {}
}