GET api/User/{id}
获取地址详情
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
None.
Response Information
Resource Description
DeliveryAddressEntity| Name | Description | Type | Additional information |
|---|---|---|---|
| DeliveryAddressID | globally unique identifier |
None. |
|
| AccountID | globally unique identifier |
None. |
|
| IsDefault | boolean |
None. |
|
| CityId | integer |
None. |
|
| Linkman | string |
None. |
|
| Phone | string |
None. |
|
| Mobile | string |
None. |
|
| PostCode | string |
None. |
|
| Address | string |
None. |
|
| Explain | string |
None. |
|
| CreateTime | date |
None. |
|
| UpdateTime | date |
None. |
|
| AddrName | string |
None. |
|
| AddrDistrict | string |
None. |
|
| AddrDeail | string |
None. |
|
| Lng | decimal number |
None. |
|
| Lat | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
{
"DeliveryAddressID": "d6cd588b-470f-43a9-8b15-b77bd1cc24a3",
"AccountID": "95292dda-465a-4ec5-8662-33f8cbe15606",
"IsDefault": true,
"CityId": 3,
"Linkman": "sample string 4",
"Phone": "sample string 5",
"Mobile": "sample string 6",
"PostCode": "sample string 7",
"Address": "sample string 8",
"Explain": "sample string 9",
"CreateTime": "2025-12-18T12:14:02.3157472+08:00",
"UpdateTime": "2025-12-18T12:14:02.3157472+08:00",
"AddrName": "sample string 12",
"AddrDistrict": "sample string 13",
"AddrDeail": "sample string 14",
"Lng": 1.1,
"Lat": 1.1
}
application/xml, text/xml
Sample:
<DeliveryAddressEntity xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WST.Distributors.Entity"> <DeliveryAddressID>d6cd588b-470f-43a9-8b15-b77bd1cc24a3</DeliveryAddressID> <AccountID>95292dda-465a-4ec5-8662-33f8cbe15606</AccountID> <IsDefault>true</IsDefault> <CityId>3</CityId> <Linkman>sample string 4</Linkman> <Phone>sample string 5</Phone> <Mobile>sample string 6</Mobile> <PostCode>sample string 7</PostCode> <Address>sample string 8</Address> <Explain>sample string 9</Explain> <CreateTime>2025-12-18T12:14:02.3157472+08:00</CreateTime> <UpdateTime>2025-12-18T12:14:02.3157472+08:00</UpdateTime> <AddrName>sample string 12</AddrName> <AddrDistrict>sample string 13</AddrDistrict> <AddrDeail>sample string 14</AddrDeail> <Lng>1.1</Lng> <Lat>1.1</Lat> </DeliveryAddressEntity>