POST api/CustomPicking/AddStandardizedLabel

Request Information

URI Parameters

None.

Body Parameters

CustomPickingStandardizedLabelFullInfo
NameDescriptionTypeAdditional information
Id

integer

None.

PickingName

string

None.

FontSize

integer

None.

ShowFieldName

boolean

None.

Details

Collection of CustomPickingCustomColumn

None.

PickingId

integer

None.

LabelType

StandardizedLabelTypeEnum

None.

AppendGoodsLabel

boolean

None.

ContentLayout

StandardizedLabelContentLayoutEnum

None.

PaperWidth

integer

None.

PaperHeight

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "PickingName": "sample string 2",
  "FontSize": 3,
  "ShowFieldName": true,
  "Details": [
    {
      "Id": 1,
      "PickingId": 2,
      "DetailId": 3,
      "InfoType": "Order",
      "ShowWay": "Written",
      "IsShow": true,
      "Name": "sample string 5",
      "Content": "sample string 6",
      "Sort": 7,
      "FontSize": 8,
      "FontStyle": "Normal"
    },
    {
      "Id": 1,
      "PickingId": 2,
      "DetailId": 3,
      "InfoType": "Order",
      "ShowWay": "Written",
      "IsShow": true,
      "Name": "sample string 5",
      "Content": "sample string 6",
      "Sort": 7,
      "FontSize": 8,
      "FontStyle": "Normal"
    }
  ],
  "PickingId": 5,
  "LabelType": "Top",
  "AppendGoodsLabel": true,
  "ContentLayout": "Single",
  "PaperWidth": 7,
  "PaperHeight": 8
}

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

Response Information

Resource Description

ResponseResultOfBoolean
NameDescriptionTypeAdditional information
Status

boolean

None.

ErrorCode

string

None.

ErrorMessage

string

None.

Data

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": true,
  "ErrorCode": "sample string 2",
  "ErrorMessage": "sample string 3",
  "Data": true
}