POST api/CustomerGroupsDiscount/InsCustomerGroupsDiscount

Request Information

URI Parameters

None.

Body Parameters

MasterCustomerGroupsDiscount
NameDescriptionTypeAdditional information
cusgrp

Collection of cusgrp

None.

good_id

Collection of goods

None.

detail

Collection of detail

None.

good_discount_flag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "cusgrp": [
    {
      "cusgrp_id": 1
    },
    {
      "cusgrp_id": 1
    }
  ],
  "good_id": [
    {
      "good_id": 1
    },
    {
      "good_id": 1
    }
  ],
  "detail": [
    {
      "weight_start": 1.0,
      "weight_finished": 1.0,
      "discount_bath": 1.0
    },
    {
      "weight_start": 1.0,
      "weight_finished": 1.0,
      "discount_bath": 1.0
    }
  ],
  "good_discount_flag": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.