Take.API

<back to all web services

UpdateOrderRequest

The following routes are available for this service:
GET,POST/order/UpdateOrder修改提货订单
UpdateOrderRequest Parameters:
NameParameterData TypeRequiredDescription
OrderNumberbodystringYes提货订单编号
CorporateNamebodystringNo公司名称
BookingNumberbodystringYes商品订单编号
BoxNmberbodyintYes总箱数
BoxWeightbodyfloatYes总毛重(单位KG)
BoxCubebodyfloatYes总立方(单位立方)
LinkManbodystringYes提货点联系人
PhoneNumberbodystringYes提货点联系人手机
ProvincebodyintYes地址省份
CitybodyintYes地址市
AreabodyintYes地址区县
AddressbodystringYes地址详情
RemarksbodystringNo备注
UpdateBybodystringNo修改人
GoodCargoTimebodyDateTime?No货好时间
UpdateOrderResponse 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 .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/UpdateOrderRequest HTTP/1.1 
Host: bookinglogin.hart-worldwide.com 
Content-Type: text/jsv
Content-Length: length

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

{
	IsOK: False,
	ErrorCode: 0,
	ErrorMsg: String
}