Http方法:POST
路由:api/Base_Storage/Add

新增仓库信息,如果有此仓库,更新,无此仓库,添加。

请求参数

None.

Body Parameters

仓库信息对象

Base_StorageModel
参数名称参数描述类型附加信息
Storage_Id

仓库ID

integer

None

StorageCode

仓库编码

string

None

StorageName

仓库名称

string

None

StorageAddress

仓库地址

string

None

StorageUrl

接口地址

string

None

Request Formats

application/json, text/json

Sample:
{
  "Storage_Id": 1,
  "StorageCode": "sample string 2",
  "StorageName": "sample string 3",
  "StorageAddress": "sample string 4",
  "StorageUrl": "sample string 5"
}

返回响应信息

新增仓库信息,如果有此仓库,更新,无此仓库,添加。

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
}