Take.API

<back to all web services

InsetOrderRequest

The following routes are available for this service:
GET,POST/order/InsertOrder创建提货订单
InsetOrderRequest Parameters:
NameParameterData TypeRequiredDescription
BookingNumberbodystringNo商品订单编号
CorporateNamebodystringNo公司名称
BoxNmberbodyintYes总箱数
BoxWeightbodyfloatYes总毛重(单位KG)
BoxCubebodyfloatYes总立方(单位立方)
LinkManbodystringYes提货点联系人
PhoneNumberbodystringYes提货点联系人手机
ProvincebodyintYes地址省份
CitybodyintYes地址市
AreabodyintYes地址区县
AddressbodystringYes地址详情
RemarksbodystringNo备注
CreateBybodystringNo创建人
GoodCargoTimebodyDateTime?No货好时间
InsetOrderResponse Parameters:
NameParameterData TypeRequiredDescription
OutputOrdersformList<OutputOrder>Yes执行结果
ResponseBase Parameters:
NameParameterData TypeRequiredDescription
ErrorCodeformintYes返回编码,200之外的值都表示有错误
ErrorMsgformstringYes返回的消息
OutputOrder Parameters:
NameParameterData TypeRequiredDescription
OrderNumberformstringYes提货订单编号
BookingNumberformstringYes商品订单编号

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/InsetOrderRequest HTTP/1.1 
Host: bookinglogin.hart-worldwide.com 
Content-Type: text/jsv
Content-Length: length

{
	BookingNumber: String,
	CorporateName: String,
	BoxNmber: 0,
	BoxWeight: 0,
	BoxCube: 0,
	LinkMan: String,
	PhoneNumber: String,
	Province: 0,
	City: 0,
	Area: 0,
	Address: String,
	Remarks: String,
	CreateBy: String,
	GoodCargoTime: 0001-01-01
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	OutputOrders: 
	[
		{
			OrderNumber: String,
			BookingNumber: String
		}
	],
	ErrorCode: 0,
	ErrorMsg: String
}