POST api/providerAddresses

Request Information

URI Parameters

None.

Body Parameters

providerAddress
NameDescriptionTypeAdditional information
providerId

integer

None.

country

string

None.

city

string

None.

street

string

None.

number

string

None.

zip

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "providerId": 1,
  "country": "sample string 2",
  "city": "sample string 3",
  "street": "sample string 4",
  "number": "sample string 5",
  "zip": 1
}

application/xml, text/xml

Sample:
<providerAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mustCnoAuth">
  <city>sample string 3</city>
  <country>sample string 2</country>
  <number>sample string 5</number>
  <providerId>1</providerId>
  <street>sample string 4</street>
  <zip>1</zip>
</providerAddress>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

providerAddress
NameDescriptionTypeAdditional information
providerId

integer

None.

country

string

None.

city

string

None.

street

string

None.

number

string

None.

zip

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "providerId": 1,
  "country": "sample string 2",
  "city": "sample string 3",
  "street": "sample string 4",
  "number": "sample string 5",
  "zip": 1
}

application/xml, text/xml

Sample:
<providerAddress xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/mustCnoAuth">
  <city>sample string 3</city>
  <country>sample string 2</country>
  <number>sample string 5</number>
  <providerId>1</providerId>
  <street>sample string 4</street>
  <zip>1</zip>
</providerAddress>