POST api/price-rules/save-price-rules

Request Information

URI Parameters

None.

Body Parameters

PriceRules
NameDescriptionTypeAdditional information
SEQ_NO

integer

None.

NAME

string

None.

VALID_DATE

date

None.

DISPLAY_COND

string

None.

SELECTED_CONTROL_ID

string

None.

TRANS_DATE

date

None.

ALERT_DAYS

integer

None.

USER_SEQ

integer

None.

WHERE_COND

string

None.

RULES_BY_SEQ

integer

None.

DISCOUNT

decimal number

None.

TEXT_ITEM

TEXT_FIELD

None.

SELECT_ITEM

Collection of SELECT_FIELD

None.

LOGIN_USER_SEQ

integer

None.

TOKEN_NO

string

None.

Request Formats

application/json, text/json

Sample:
{
  "SEQ_NO": 1,
  "NAME": "sample string 2",
  "VALID_DATE": "2022-11-28T22:36:16.7679145-05:00",
  "DISPLAY_COND": "sample string 3",
  "SELECTED_CONTROL_ID": "sample string 4",
  "TRANS_DATE": "2022-11-28T22:36:16.7679145-05:00",
  "ALERT_DAYS": 1,
  "USER_SEQ": 1,
  "WHERE_COND": "sample string 5",
  "RULES_BY_SEQ": 1,
  "DISCOUNT": 1.0,
  "TEXT_ITEM": {
    "TEXT_FIELD_SEQ_NO": 1,
    "FROM_SIZE": 1.0,
    "TO_SIZE": 1.0,
    "NO_BGM": true,
    "NO_BLACK": true,
    "USER_SEQ": 1,
    "TOKAN_NO": 1,
    "COLOR_GROUP": "sample string 1",
    "CLARITY_GROUP": "sample string 2",
    "SEQ_NO": "sample string 3",
    "STONE_NO": "sample string 4",
    "KEY_TO_SYMBOLS": true,
    "FROM_NET_RATE": 1.0,
    "FROM_NET_VALUE": 1.0,
    "FROM_TABLE_PER": 1.0,
    "FROM_DEPTH_PER": 1.0,
    "FROM_LENGTH": 1.0,
    "FROM_WIDTH": 1.0,
    "FROM_DEPTH": 1.0,
    "FROM_CR_ANGLE": 1.0,
    "FROM_PAV_ANGLE": 1.0,
    "FROM_RATIO": 1.0,
    "FROM_CR_HEIGHT": 1.0,
    "FROM_PAV_HEIGHT": 1.0,
    "TO_NET_RATE": 1.0,
    "TO_NET_VALUE": 1.0,
    "TO_TABLE_PER": 1.0,
    "TO_DEPTH_PER": 1.0,
    "TO_LENGTH": 1.0,
    "TO_WIDTH": 1.0,
    "TO_DEPTH": 1.0,
    "TO_CR_ANGLE": 1.0,
    "TO_PAV_ANGLE": 1.0,
    "TO_RATIO": 1.0,
    "TO_CR_HEIGHT": 1.0,
    "TO_PAV_HEIGHT": 1.0,
    "HAVE_VIDEO": true,
    "LOGO_INSCRIPTION": true
  },
  "SELECT_ITEM": [
    {
      "SEQ_NO": 1,
      "COLUMN": "sample string 2",
      "VALUE": "sample string 3"
    },
    {
      "SEQ_NO": 1,
      "COLUMN": "sample string 2",
      "VALUE": "sample string 3"
    }
  ],
  "LOGIN_USER_SEQ": 6,
  "TOKEN_NO": "sample string 7"
}

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

Response Information

Resource Description

ResponseMessage
NameDescriptionTypeAdditional information
STATUS

string

None.

MESSAGE

string

None.

VALUE

string

None.

Response Formats

application/json, text/json

Sample:
{
  "STATUS": "sample string 1",
  "MESSAGE": "sample string 2",
  "VALUE": "sample string 3"
}