EMUN1 ASP.NET

<back to all web services

ApplyShippingLocation

Requires Authentication
The following routes are available for this service:
All Verbs/service/ApplyShippingLocation
ApplyShippingLocation Parameters:
NameParameterData TypeRequiredDescription
CartIdquerystringNo
UseAsBillingqueryboolNo
UpdatequeryboolNo
SetAsDefaultqueryboolNo
DropShipqueryboolNo
StoreSizequerystringNo
AddressInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
CompanyNameformstringNo
PersonNameformPersonNameInfoNo
AddressformstringNo
Address1formstringNo
Address2formstringNo
CityformstringNo
StateformstringNo
ZipformstringNo
CountryformstringNo
PhoneformstringNo
FaxformstringNo
EmailformstringNo
StoreSizeformstringNo
Custom2formstringNo
AccountTypeformstringNo
MetaformDictionary<string, string>No
PersonNameInfo Parameters:
NameParameterData TypeRequiredDescription
SalutationformstringNo
FirstformstringNo
MiddleformstringNo
LastformstringNo
SuffixformstringNo
FullformstringNo

To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /service/ApplyShippingLocation HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ApplyShippingLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Shopping">
  <AccountType xmlns="http://schemas.datacontract.org/2004/07/Emun">String</AccountType>
  <Address xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Address>
  <Address1 xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Address1>
  <Address2 xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Address2>
  <City xmlns="http://schemas.datacontract.org/2004/07/Emun">String</City>
  <CompanyName xmlns="http://schemas.datacontract.org/2004/07/Emun">String</CompanyName>
  <Country xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Country>
  <Custom2 xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Custom2>
  <Email xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Email>
  <Fax xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Fax>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Id>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Emun">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <PersonName xmlns="http://schemas.datacontract.org/2004/07/Emun">
    <First>String</First>
    <Full>String String String String String</Full>
    <Last>String</Last>
    <Middle>String</Middle>
    <Salutation>String</Salutation>
    <Suffix>String</Suffix>
  </PersonName>
  <Phone xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Phone>
  <State xmlns="http://schemas.datacontract.org/2004/07/Emun">String</State>
  <StoreSize i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Emun" />
  <Zip xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Zip>
  <CartId>String</CartId>
  <DropShip>false</DropShip>
  <SetAsDefault>false</SetAsDefault>
  <StoreSize>String</StoreSize>
  <Update>false</Update>
  <UseAsBilling>false</UseAsBilling>
</ApplyShippingLocation>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ShippingLocationApplied xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Shopping">
  <AccountType xmlns="http://schemas.datacontract.org/2004/07/Emun">String</AccountType>
  <Address xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Address>
  <Address1 xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Address1>
  <Address2 xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Address2>
  <City xmlns="http://schemas.datacontract.org/2004/07/Emun">String</City>
  <CompanyName xmlns="http://schemas.datacontract.org/2004/07/Emun">String</CompanyName>
  <Country xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Country>
  <Custom2 xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Custom2>
  <Email xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Email>
  <Fax xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Fax>
  <Id xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Id>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Emun">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <PersonName xmlns="http://schemas.datacontract.org/2004/07/Emun">
    <First>String</First>
    <Full>String String String String String</Full>
    <Last>String</Last>
    <Middle>String</Middle>
    <Salutation>String</Salutation>
    <Suffix>String</Suffix>
  </PersonName>
  <Phone xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Phone>
  <State xmlns="http://schemas.datacontract.org/2004/07/Emun">String</State>
  <StoreSize i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/Emun" />
  <Zip xmlns="http://schemas.datacontract.org/2004/07/Emun">String</Zip>
  <CartId>String</CartId>
  <DropShip>false</DropShip>
  <SetAsDefault>false</SetAsDefault>
  <StoreSize>String</StoreSize>
  <Update>false</Update>
  <UseAsBilling>false</UseAsBilling>
</ShippingLocationApplied>