PUT api/sendit/checkAddress

Request Information

URI Parameters

None.

Body Parameters

Address
NameDescriptionTypeAdditional information
consigneeName

string

None.

buildingName

string

None.

addressLine1

string

None.

addressLine2

string

None.

city

string

None.

countryCode

string

None.

postalCode

string

None.

stateProvince

string

None.

Request Formats

application/json, text/json

Sample:
{
  "consigneeName": "sample string 1",
  "buildingName": "sample string 2",
  "addressLine1": "sample string 3",
  "addressLine2": "sample string 4",
  "city": "sample string 5",
  "countryCode": "sample string 6",
  "postalCode": "sample string 7",
  "stateProvince": "sample string 8"
}

application/xml, text/xml

Sample:
<Address xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UPSConnector.Address">
  <addressLine1>sample string 3</addressLine1>
  <addressLine2>sample string 4</addressLine2>
  <buildingName>sample string 2</buildingName>
  <city>sample string 5</city>
  <consigneeName>sample string 1</consigneeName>
  <countryCode>sample string 6</countryCode>
  <postalCode>sample string 7</postalCode>
  <stateProvince>sample string 8</stateProvince>
</Address>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'Address'.

Response Information

Resource Description

string

Response Formats

application/json, text/json

Sample:
"sample string"

application/xml, text/xml

Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string</string>