POST api/CustomerGroupsDiscount/InsCustomerGroupsDiscount
Request Information
URI Parameters
None.
Body Parameters
MasterCustomerGroupsDiscount| Name | Description | Type | Additional 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
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.