POST api/PackingInstruction/SavePackingInstruction

Request Information

URI Parameters

None.

Body Parameters

SavePackingInstructionModel
NameDescriptionTypeAdditional information
action

string

None.

pack_inst_id

integer

None.

userId

integer

None.

brand_id

string

None.

category_id

string

None.

packing_type

string

None.

multiple_product_code

boolean

None.

pcs_per_box

integer

None.

allowed_left_over_boxes

integer

None.

excess_packing_percent

decimal number

None.

pageIndex

integer

None.

status

boolean

None.

errMsg

string

None.

Request Formats

application/json, text/json

Sample:
{
  "action": "sample string 1",
  "pack_inst_id": 2,
  "userId": 3,
  "brand_id": "sample string 4",
  "category_id": "sample string 5",
  "packing_type": "sample string 6",
  "multiple_product_code": true,
  "pcs_per_box": 8,
  "allowed_left_over_boxes": 9,
  "excess_packing_percent": 10.0,
  "pageIndex": 11,
  "status": true,
  "errMsg": "sample string 13"
}

application/xml, text/xml

Sample:
<SavePackingInstructionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/dbScanPack">
  <action>sample string 1</action>
  <allowed_left_over_boxes>9</allowed_left_over_boxes>
  <brand_id>sample string 4</brand_id>
  <category_id>sample string 5</category_id>
  <errMsg>sample string 13</errMsg>
  <excess_packing_percent>10</excess_packing_percent>
  <multiple_product_code>true</multiple_product_code>
  <pack_inst_id>2</pack_inst_id>
  <packing_type>sample string 6</packing_type>
  <pageIndex>11</pageIndex>
  <pcs_per_box>8</pcs_per_box>
  <status>true</status>
  <userId>3</userId>
</SavePackingInstructionModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.