POST api/Address
Request Information
URI Parameters
None.
Body Parameters
AddressName | Description | Type | Additional 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 |
Request 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" }
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"}
application/xml, text/xml
Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UBBEAMS.Infrastructure.Models"> <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>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.