POST api/Address

Request Information

URI Parameters

None.

Body Parameters

Address
NameDescriptionTypeAdditional information
AddressId

integer

None.

Street1

string

None.

City

string

None.

State

string

None.

County

string

None.

Country

string

None.

Zip_Code

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AddressId": 1,
  "Street1": "sample string 2",
  "City": "sample string 3",
  "State": "sample string 4",
  "County": "sample string 5",
  "Country": "sample string 6",
  "Zip_Code": "sample string 7"
}

application/xml, text/xml

Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Models">
  <AddressId>1</AddressId>
  <City>sample string 3</City>
  <Country>sample string 6</Country>
  <County>sample string 5</County>
  <State>sample string 4</State>
  <Street1>sample string 2</Street1>
  <Zip_Code>sample string 7</Zip_Code>
</Address>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Address
NameDescriptionTypeAdditional information
AddressId

integer

None.

Street1

string

None.

City

string

None.

State

string

None.

County

string

None.

Country

string

None.

Zip_Code

string

None.

Response Formats

application/json, text/json

Sample:
{
  "AddressId": 1,
  "Street1": "sample string 2",
  "City": "sample string 3",
  "State": "sample string 4",
  "County": "sample string 5",
  "Country": "sample string 6",
  "Zip_Code": "sample string 7"
}

application/xml, text/xml

Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Estimate.Models">
  <AddressId>1</AddressId>
  <City>sample string 3</City>
  <Country>sample string 6</Country>
  <County>sample string 5</County>
  <State>sample string 4</State>
  <Street1>sample string 2</Street1>
  <Zip_Code>sample string 7</Zip_Code>
</Address>