POST api/ShippingAddresses

Documentation for 'Post'.

Request Information

Parameters

NameDescriptionAdditional information
addressPost
Documentation for 'addressPost'.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "row": 1,
  "customerId": "sample string 2",
  "name": "sample string 3",
  "address1": "sample string 4",
  "address2": "sample string 5",
  "city": "sample string 6",
  "state": "sample string 7",
  "country": "sample string 8",
  "zip": "sample string 9",
  "shipToId": "sample string 10"
}

text/html

Sample:
{"row":1,"customerId":"sample string 2","name":"sample string 3","address1":"sample string 4","address2":"sample string 5","city":"sample string 6","state":"sample string 7","country":"sample string 8","zip":"sample string 9","shipToId":"sample string 10"}

application/xml, text/xml

Sample:
<AddressPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AAJV.Api.Models">
  <address1>sample string 4</address1>
  <address2>sample string 5</address2>
  <city>sample string 6</city>
  <country>sample string 8</country>
  <customerId>sample string 2</customerId>
  <name>sample string 3</name>
  <row>1</row>
  <shipToId>sample string 10</shipToId>
  <state>sample string 7</state>
  <zip>sample string 9</zip>
</AddressPost>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Response body formats

application/json, text/json, text/html

Sample:
"sample string 1"

application/xml, text/xml

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