POST api/Address/GetAddressByID

获取地址

Request Information

URI Parameters

None.

Body Parameters

GetAddressParam
NameDescriptionTypeAdditional information
id

地址ID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

获取地址

ApiResultModelAddress
NameDescriptionTypeAdditional information
userAddress

地址列表

RerurnUserAddress

None.

code

0:正确 100:错误 403:需要重新登录

integer

None.

msg

string

None.

submsg

输出的错误信息

string

None.

isinvitation

登陆时候是否需要弹窗填些邀请码 1:需要

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "userAddress": {
    "id": 1,
    "userid": 2,
    "name": "sample string 3",
    "phone": "sample string 4",
    "province": "sample string 5",
    "city": "sample string 6",
    "area": "sample string 7",
    "street": "sample string 8",
    "isdefault": true,
    "createdate": "2020-10-28T16:43:32.0906228+08:00"
  },
  "code": 1,
  "msg": "sample string 2",
  "submsg": "sample string 3",
  "isinvitation": 4
}