Take.API

<back to all web services

UpdateWarehouseRequest

The following routes are available for this service:
GET,POST/warehouse/UpdateWarehouse修改仓库
UpdateWarehouseRequest Parameters:
NameParameterData TypeRequiredDescription
WarehouseCodebodystringYes仓库编码
WarehouseNamebodystringYes仓库名称
PhoneNumberbodystringYes联系人电话
UserNamebodystringYes联系人姓名
ProvincebodyintYes地址省份
CitybodyintYes地址市
AreabodyintYes地址区县
AddressbodystringYes地址详情
RemarksbodystringNo备注
UpdateBybodystringYes修改人
IsDirectlyOutOfWarehousebodyintYes是否直接出仓
CodeNamebodystringYes仓库代码
CuttingOrderTimebodystringNo截单时间
BusinessTypebodystringYes业务类型
OrderNumberbodyintNo排序
IsReceiveOrderMailbodyint?No是否接收订单邮件
EmailbodystringNo邮箱
UpdateWarehouseResponse Parameters:
NameParameterData TypeRequiredDescription
IsOKformboolYes是否成功
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformintYes返回编码,200之外的值都表示有错误
ErrorMsgformstringYes返回的消息

To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/UpdateWarehouseRequest HTTP/1.1 
Host: bookinglogin.hart-worldwide.com 
Content-Type: application/json
Content-Length: length

{"WarehouseCode":"String","WarehouseName":"String","PhoneNumber":"String","UserName":"String","Province":0,"City":0,"Area":0,"Address":"String","Remarks":"String","UpdateBy":"String","IsDirectlyOutOfWarehouse":0,"CodeName":"String","CuttingOrderTime":"String","BusinessType":"String","OrderNumber":0,"IsReceiveOrderMail":0,"Email":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"IsOK":false,"ErrorCode":0,"ErrorMsg":"String"}