Take.API

<back to all web services

WarehouseRouteIdRequest

The following routes are available for this service:
GET,POST/warehouse/SearchWarehouseRouteId根据路线编码获取仓库信息
WarehouseRouteIdRequest Parameters:
NameParameterData TypeRequiredDescription
RouteIDbodystringYes路线编码
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformintYes返回编码,200之外的值都表示有错误
ErrorMsgformstringYes返回的消息
WarehouseCodeResponse Parameters:
NameParameterData TypeRequiredDescription
WarehouseInfoformWarehouseModelYes仓库信息集合
WarehouseModel Parameters:
NameParameterData TypeRequiredDescription
WarehouseIDformGuidYes仓库编号
WarehouseCodeformstringYes仓库编码
WarehouseNameformstringYes仓库名称
CodeNameformstringYes仓库代码
CuttingOrderTimeformstringYes截单时间
PhoneNumberformstringYes联系人电话
UserNameformstringYes联系人姓名
ProvinceformintYes地址省份
CityformintYes地址市
AreaformintYes地址区县
AddressformstringYes地址详情
Longitudeformfloat?Yes经度
Latitudeformfloat?Yes纬度
RemarksformstringYes备注
CreateByformstringYes创建人
CreateDTformDateTimeYes创建时间
UpdateByformstringYes修改人
UpdateDTformDateTime?Yes修改时间
IsDirectlyOutOfWarehouseformintYes是否直接出仓
BusinessTypeformstringYes业务类型
OrderNumberformint?No排序
IsReceiveOrderMailformint?No是否接收订单邮件
EmailformstringNo邮箱
WarehouseTypeformstringNo类型

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

HTTP + JSV

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

POST /jsv/reply/WarehouseRouteIdRequest HTTP/1.1 
Host: bookinglogin.hart-worldwide.com 
Content-Type: text/jsv
Content-Length: length

{
	RouteID: String,
	ErrorCode: 0,
	ErrorMsg: String
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	WarehouseInfo: 
	{
		WarehouseID: 00000000000000000000000000000000,
		WarehouseCode: String,
		WarehouseName: String,
		CodeName: String,
		CuttingOrderTime: String,
		PhoneNumber: String,
		UserName: String,
		Province: 0,
		City: 0,
		Area: 0,
		Address: String,
		Longitude: 0,
		Latitude: 0,
		Remarks: String,
		CreateBy: String,
		CreateDT: 0001-01-01,
		UpdateBy: String,
		UpdateDT: 0001-01-01,
		IsDirectlyOutOfWarehouse: 0,
		BusinessType: String,
		OrderNumber: 0,
		IsReceiveOrderMail: 0,
		Email: String,
		WarehouseType: String
	},
	ErrorCode: 0,
	ErrorMsg: String
}