Take.API

<back to all web services

SearchWarehouseRequest

The following routes are available for this service:
GET,POST/warehouse/SearchWarehousePageList仓库分页查询
SearchWarehouseRequest Parameters:
NameParameterData TypeRequiredDescription
ProvincebodyintNo省份
CitybodyintNo
AreabodyintNo区县
RequestPaging Parameters:
NameParameterData TypeRequiredDescription
PageSizeformintYes每页最多记录数(默认每页20条)
PageIndexformintYes页索引
WarehouseListResponse Parameters:
NameParameterData TypeRequiredDescription
WarehouserModelsformList<WarehouseModel>Yes仓库信息集合
ResponsePaging Parameters:
NameParameterData TypeRequiredDescription
PageSizeformintYes每页最多记录数
PageIndexformintYes页索引
RowCountformintYes总记录数
PageCountformintYes总页数
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformintYes返回编码,200之外的值都表示有错误
ErrorMsgformstringYes返回的消息
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/SearchWarehouseRequest HTTP/1.1 
Host: bookinglogin.hart-worldwide.com 
Content-Type: text/jsv
Content-Length: length

{
	Province: 0,
	City: 0,
	Area: 0,
	PageSize: 0,
	PageIndex: 0
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	WarehouserModels: 
	[
		{
			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
		}
	],
	PageSize: 0,
	PageIndex: 0,
	RowCount: 0,
	PageCount: 0,
	ErrorCode: 0,
	ErrorMsg: String
}