POST V2/Promotion/GetPromotionCodeFrontViewV2

Request Information

URI Parameters

None.

Body Parameters

PromotionCodeCond
NameDescriptionTypeAdditional information
Code

string

None.

ProductList

Collection of PromotionCodeProdCond

None.

Request Formats

application/json, text/json

Sample:
{
  "Code": "sample string 1",
  "ProductList": [
    {
      "Sku": "sample string 1",
      "UnitPrice": 2.0,
      "Qty": 3
    },
    {
      "Sku": "sample string 1",
      "UnitPrice": 2.0,
      "Qty": 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 'PromotionCodeCond'.

Response Information

Resource Description

SystemResult
NameDescriptionTypeAdditional information
Succeeded

boolean

None.

Message

string

None.

ReturnValue

Object

None.

Code

integer

None.

Response Formats

application/json, text/json

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