GET api/UserManagement/GetAddressList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of AddressViewModel
NameDescriptionTypeAdditional information
AddressId

globally unique identifier

None.

UserId

globally unique identifier

None.

Title

string

None.

PostalAddress

string

None.

PostalCode

string

None.

Tel

string

None.

Latitude

decimal number

None.

Longitude

decimal number

None.

City

CityViewModel

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "AddressId": "1ea809cb-379b-4d13-bd48-ee18010278d7",
    "UserId": "95297c03-80de-4e0e-8413-b0009fdf8924",
    "Title": "sample string 3",
    "PostalAddress": "sample string 4",
    "PostalCode": "sample string 5",
    "Tel": "sample string 6",
    "Latitude": 1.1,
    "Longitude": 1.1,
    "City": {
      "ProvinceId": "sample string 1",
      "CityId": 2,
      "Title": "sample string 3"
    }
  },
  {
    "AddressId": "1ea809cb-379b-4d13-bd48-ee18010278d7",
    "UserId": "95297c03-80de-4e0e-8413-b0009fdf8924",
    "Title": "sample string 3",
    "PostalAddress": "sample string 4",
    "PostalCode": "sample string 5",
    "Tel": "sample string 6",
    "Latitude": 1.1,
    "Longitude": 1.1,
    "City": {
      "ProvinceId": "sample string 1",
      "CityId": 2,
      "Title": "sample string 3"
    }
  }
]

text/html

Sample:
[{"AddressId":"1ea809cb-379b-4d13-bd48-ee18010278d7","UserId":"95297c03-80de-4e0e-8413-b0009fdf8924","Title":"sample string 3","PostalAddress":"sample string 4","PostalCode":"sample string 5","Tel":"sample string 6","Latitude":1.1,"Longitude":1.1,"City":{"ProvinceId":"sample string 1","CityId":2,"Title":"sample string 3"}},{"AddressId":"1ea809cb-379b-4d13-bd48-ee18010278d7","UserId":"95297c03-80de-4e0e-8413-b0009fdf8924","Title":"sample string 3","PostalAddress":"sample string 4","PostalCode":"sample string 5","Tel":"sample string 6","Latitude":1.1,"Longitude":1.1,"City":{"ProvinceId":"sample string 1","CityId":2,"Title":"sample string 3"}}]

application/xml, text/xml

Sample:
<ArrayOfAddressViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fruta.ViewModels">
  <AddressViewModel>
    <AddressId>1ea809cb-379b-4d13-bd48-ee18010278d7</AddressId>
    <City>
      <CityId>2</CityId>
      <ProvinceId>sample string 1</ProvinceId>
      <Title>sample string 3</Title>
    </City>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
    <PostalAddress>sample string 4</PostalAddress>
    <PostalCode>sample string 5</PostalCode>
    <Tel>sample string 6</Tel>
    <Title>sample string 3</Title>
    <UserId>95297c03-80de-4e0e-8413-b0009fdf8924</UserId>
  </AddressViewModel>
  <AddressViewModel>
    <AddressId>1ea809cb-379b-4d13-bd48-ee18010278d7</AddressId>
    <City>
      <CityId>2</CityId>
      <ProvinceId>sample string 1</ProvinceId>
      <Title>sample string 3</Title>
    </City>
    <Latitude>1.1</Latitude>
    <Longitude>1.1</Longitude>
    <PostalAddress>sample string 4</PostalAddress>
    <PostalCode>sample string 5</PostalCode>
    <Tel>sample string 6</Tel>
    <Title>sample string 3</Title>
    <UserId>95297c03-80de-4e0e-8413-b0009fdf8924</UserId>
  </AddressViewModel>
</ArrayOfAddressViewModel>