Http方法:POST
路由:api/Base_Consignor/BindStorage

绑定仓库,并返回新增后的ID值

请求参数

None.

Body Parameters

货主对象

ApiBase_Consignor
参数名称参数描述类型附加信息
ConsignorCode

string

None

Enable

integer

None

Storage_Id

integer

None

Request Formats

application/json, text/json

Sample:
{
  "ConsignorCode": "sample string 1",
  "Enable": 1,
  "Storage_Id": 1
}

返回响应信息

绑定仓库,并返回新增后的ID值

ResultInfoOfInt32
参数名称参数描述类型附加信息
Result

boolean

None

State

string

None

Dynamic

Object

None

Msg

string

None

Data

integer

None

Response Formats

application/json, text/json

Sample:
{
  "Result": true,
  "State": "sample string 2",
  "Dynamic": {},
  "Msg": "sample string 4",
  "Data": 5
}