GET api/Address

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of Address
NameDescriptionTypeAdditional information
Id

integer

None.

HomeNumber

string

String length: inclusive between 0 and 5

Street

string

String length: inclusive between 0 and 50

Barangay

string

String length: inclusive between 0 and 100

CityOrMunicipality

string

String length: inclusive between 0 and 100

Province

string

String length: inclusive between 0 and 100

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "homeNumber": "sample string 2",
    "street": "sample string 3",
    "barangay": "sample string 4",
    "cityOrMunicipality": "sample string 5",
    "province": "sample string 6"
  },
  {
    "id": 1,
    "homeNumber": "sample string 2",
    "street": "sample string 3",
    "barangay": "sample string 4",
    "cityOrMunicipality": "sample string 5",
    "province": "sample string 6"
  }
]

text/html

Sample:
[{"id":1,"homeNumber":"sample string 2","street":"sample string 3","barangay":"sample string 4","cityOrMunicipality":"sample string 5","province":"sample string 6"},{"id":1,"homeNumber":"sample string 2","street":"sample string 3","barangay":"sample string 4","cityOrMunicipality":"sample string 5","province":"sample string 6"}]

application/xml, text/xml

Sample:
<ArrayOfAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models">
  <Address>
    <Barangay>sample string 4</Barangay>
    <CityOrMunicipality>sample string 5</CityOrMunicipality>
    <HomeNumber>sample string 2</HomeNumber>
    <Id>1</Id>
    <Province>sample string 6</Province>
    <Street>sample string 3</Street>
  </Address>
  <Address>
    <Barangay>sample string 4</Barangay>
    <CityOrMunicipality>sample string 5</CityOrMunicipality>
    <HomeNumber>sample string 2</HomeNumber>
    <Id>1</Id>
    <Province>sample string 6</Province>
    <Street>sample string 3</Street>
  </Address>
</ArrayOfAddress>