Take.API

<back to all web services

InsetPointAddressRequest

The following routes are available for this service:
GET,POST/pointAddress/InsertPointAddress创建提货点信息
InsetPointAddressRequest Parameters:
NameParameterData TypeRequiredDescription
PointCodebodystringYes提货点代码
PointNamebodystringYes提货点名称
UserNamebodystringYes联系人姓名
PhoneNumberbodystringYes联系人电话
ProvincebodyintYes地址省份
CitybodyintYes地址市
AreabodyintYes地址区县
AddressbodystringYes地址详情
RemarksbodystringNo备注
CreateBybodystringYes创建人
InsetPointAddressResponse 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/InsetPointAddressRequest HTTP/1.1 
Host: bookinglogin.hart-worldwide.com 
Content-Type: application/json
Content-Length: length

{"PointCode":"String","PointName":"String","UserName":"String","PhoneNumber":"String","Province":0,"City":0,"Area":0,"Address":"String","Remarks":"String","CreateBy":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

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