EMUN1 ASP.NET

<back to all web services

RequestContact

ContactRequest Parameters:
NameParameterData TypeRequiredDescription
RequestTypeformstringNo
TaxIdformstringNo
WebsiteformstringNo
MailingformAddressInfoNo
ShippingformAddressInfoNo
BillingformAddressInfoNo
CompanyNameformstringNo
ContactNameformstringNo
PhoneformstringNo
OrderNumberformstringNo
SubmittedOnformDateTimeNo
MetaformDictionary<string, string>No
EmailRequest Parameters:
NameParameterData TypeRequiredDescription
StubbornVendorIdformstringNo
SendToformstringNo
SubjectformstringNo
SubjectOverWriteformstringNo
MessageformstringNo
ReplyToformstringNo
BccformstringNo
CcformstringNo
BodyformstringNo
ToEmailformstringNo
ToformstringNo
FromformstringNo
FromEmailformstringNo
ReplyToListformIEnumerable<string>No
RecipientsformIEnumerable<string>No
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 .soap12 suffix or ?format=soap12

HTTP + SOAP12

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

POST /soap12 HTTP/1.1 
Host: www.bernhardthospitality.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<RequestContact xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Shopping">
  <Bcc xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Bcc>
  <Body xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Body>
  <Cc xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Cc>
  <From xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</From>
  <FromEmail xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</FromEmail>
  <Message xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Message>
  <Recipients xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack" />
  <ReplyTo xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</ReplyTo>
  <ReplyToList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack" />
  <SendTo xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</SendTo>
  <StubbornVendorId xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</StubbornVendorId>
  <Subject xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Subject>
  <SubjectOverWrite xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</SubjectOverWrite>
  <To xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</To>
  <ToEmail xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</ToEmail>
  <Billing xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun">
    <d2p1:AccountType>String</d2p1:AccountType>
    <d2p1:Address>String</d2p1:Address>
    <d2p1:Address1>String</d2p1:Address1>
    <d2p1:Address2>String</d2p1:Address2>
    <d2p1:City>String</d2p1:City>
    <d2p1:CompanyName>String</d2p1:CompanyName>
    <d2p1:Country>String</d2p1:Country>
    <d2p1:Custom2>String</d2p1:Custom2>
    <d2p1:Email>String</d2p1:Email>
    <d2p1:Fax>String</d2p1:Fax>
    <d2p1:Id>String</d2p1:Id>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
    <d2p1:PersonName>
      <d2p1:First>String</d2p1:First>
      <d2p1:Full>String String String String String</d2p1:Full>
      <d2p1:Last>String</d2p1:Last>
      <d2p1:Middle>String</d2p1:Middle>
      <d2p1:Salutation>String</d2p1:Salutation>
      <d2p1:Suffix>String</d2p1:Suffix>
    </d2p1:PersonName>
    <d2p1:Phone>String</d2p1:Phone>
    <d2p1:State>String</d2p1:State>
    <d2p1:StoreSize>String</d2p1:StoreSize>
    <d2p1:Zip>String</d2p1:Zip>
  </Billing>
  <CompanyName>String</CompanyName>
  <ContactName>String</ContactName>
  <Mailing xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun">
    <d2p1:AccountType>String</d2p1:AccountType>
    <d2p1:Address>String</d2p1:Address>
    <d2p1:Address1>String</d2p1:Address1>
    <d2p1:Address2>String</d2p1:Address2>
    <d2p1:City>String</d2p1:City>
    <d2p1:CompanyName>String</d2p1:CompanyName>
    <d2p1:Country>String</d2p1:Country>
    <d2p1:Custom2>String</d2p1:Custom2>
    <d2p1:Email>String</d2p1:Email>
    <d2p1:Fax>String</d2p1:Fax>
    <d2p1:Id>String</d2p1:Id>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
    <d2p1:PersonName>
      <d2p1:First>String</d2p1:First>
      <d2p1:Full>String String String String String</d2p1:Full>
      <d2p1:Last>String</d2p1:Last>
      <d2p1:Middle>String</d2p1:Middle>
      <d2p1:Salutation>String</d2p1:Salutation>
      <d2p1:Suffix>String</d2p1:Suffix>
    </d2p1:PersonName>
    <d2p1:Phone>String</d2p1:Phone>
    <d2p1:State>String</d2p1:State>
    <d2p1:StoreSize>String</d2p1:StoreSize>
    <d2p1:Zip>String</d2p1:Zip>
  </Mailing>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <OrderNumber>String</OrderNumber>
  <Phone>String</Phone>
  <RequestType>String</RequestType>
  <Shipping xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun">
    <d2p1:AccountType>String</d2p1:AccountType>
    <d2p1:Address>String</d2p1:Address>
    <d2p1:Address1>String</d2p1:Address1>
    <d2p1:Address2>String</d2p1:Address2>
    <d2p1:City>String</d2p1:City>
    <d2p1:CompanyName>String</d2p1:CompanyName>
    <d2p1:Country>String</d2p1:Country>
    <d2p1:Custom2>String</d2p1:Custom2>
    <d2p1:Email>String</d2p1:Email>
    <d2p1:Fax>String</d2p1:Fax>
    <d2p1:Id>String</d2p1:Id>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
    <d2p1:PersonName>
      <d2p1:First>String</d2p1:First>
      <d2p1:Full>String String String String String</d2p1:Full>
      <d2p1:Last>String</d2p1:Last>
      <d2p1:Middle>String</d2p1:Middle>
      <d2p1:Salutation>String</d2p1:Salutation>
      <d2p1:Suffix>String</d2p1:Suffix>
    </d2p1:PersonName>
    <d2p1:Phone>String</d2p1:Phone>
    <d2p1:State>String</d2p1:State>
    <d2p1:StoreSize>String</d2p1:StoreSize>
    <d2p1:Zip>String</d2p1:Zip>
  </Shipping>
  <SubmittedOn>0001-01-01T00:00:00</SubmittedOn>
  <TaxId>String</TaxId>
  <Website>String</Website>
</RequestContact>

    </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
    <soap12:Body>

<ContactRequested xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Shopping">
  <Bcc xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Bcc>
  <Body xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Body>
  <Cc xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Cc>
  <From xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</From>
  <FromEmail xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</FromEmail>
  <Message xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Message>
  <Recipients xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack" />
  <ReplyTo xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</ReplyTo>
  <ReplyToList xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/ServiceStack" />
  <SendTo xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</SendTo>
  <StubbornVendorId xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</StubbornVendorId>
  <Subject xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Subject>
  <SubjectOverWrite xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</SubjectOverWrite>
  <To xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</To>
  <ToEmail xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</ToEmail>
  <Billing xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun">
    <d2p1:AccountType>String</d2p1:AccountType>
    <d2p1:Address>String</d2p1:Address>
    <d2p1:Address1>String</d2p1:Address1>
    <d2p1:Address2>String</d2p1:Address2>
    <d2p1:City>String</d2p1:City>
    <d2p1:CompanyName>String</d2p1:CompanyName>
    <d2p1:Country>String</d2p1:Country>
    <d2p1:Custom2>String</d2p1:Custom2>
    <d2p1:Email>String</d2p1:Email>
    <d2p1:Fax>String</d2p1:Fax>
    <d2p1:Id>String</d2p1:Id>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
    <d2p1:PersonName>
      <d2p1:First>String</d2p1:First>
      <d2p1:Full>String String String String String</d2p1:Full>
      <d2p1:Last>String</d2p1:Last>
      <d2p1:Middle>String</d2p1:Middle>
      <d2p1:Salutation>String</d2p1:Salutation>
      <d2p1:Suffix>String</d2p1:Suffix>
    </d2p1:PersonName>
    <d2p1:Phone>String</d2p1:Phone>
    <d2p1:State>String</d2p1:State>
    <d2p1:StoreSize>String</d2p1:StoreSize>
    <d2p1:Zip>String</d2p1:Zip>
  </Billing>
  <CompanyName>String</CompanyName>
  <ContactName>String</ContactName>
  <Mailing xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun">
    <d2p1:AccountType>String</d2p1:AccountType>
    <d2p1:Address>String</d2p1:Address>
    <d2p1:Address1>String</d2p1:Address1>
    <d2p1:Address2>String</d2p1:Address2>
    <d2p1:City>String</d2p1:City>
    <d2p1:CompanyName>String</d2p1:CompanyName>
    <d2p1:Country>String</d2p1:Country>
    <d2p1:Custom2>String</d2p1:Custom2>
    <d2p1:Email>String</d2p1:Email>
    <d2p1:Fax>String</d2p1:Fax>
    <d2p1:Id>String</d2p1:Id>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
    <d2p1:PersonName>
      <d2p1:First>String</d2p1:First>
      <d2p1:Full>String String String String String</d2p1:Full>
      <d2p1:Last>String</d2p1:Last>
      <d2p1:Middle>String</d2p1:Middle>
      <d2p1:Salutation>String</d2p1:Salutation>
      <d2p1:Suffix>String</d2p1:Suffix>
    </d2p1:PersonName>
    <d2p1:Phone>String</d2p1:Phone>
    <d2p1:State>String</d2p1:State>
    <d2p1:StoreSize>String</d2p1:StoreSize>
    <d2p1:Zip>String</d2p1:Zip>
  </Mailing>
  <Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Meta>
  <OrderNumber>String</OrderNumber>
  <Phone>String</Phone>
  <RequestType>String</RequestType>
  <Shipping xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun">
    <d2p1:AccountType>String</d2p1:AccountType>
    <d2p1:Address>String</d2p1:Address>
    <d2p1:Address1>String</d2p1:Address1>
    <d2p1:Address2>String</d2p1:Address2>
    <d2p1:City>String</d2p1:City>
    <d2p1:CompanyName>String</d2p1:CompanyName>
    <d2p1:Country>String</d2p1:Country>
    <d2p1:Custom2>String</d2p1:Custom2>
    <d2p1:Email>String</d2p1:Email>
    <d2p1:Fax>String</d2p1:Fax>
    <d2p1:Id>String</d2p1:Id>
    <d2p1:Meta xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringstring>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>String</d3p1:Value>
      </d3p1:KeyValueOfstringstring>
    </d2p1:Meta>
    <d2p1:PersonName>
      <d2p1:First>String</d2p1:First>
      <d2p1:Full>String String String String String</d2p1:Full>
      <d2p1:Last>String</d2p1:Last>
      <d2p1:Middle>String</d2p1:Middle>
      <d2p1:Salutation>String</d2p1:Salutation>
      <d2p1:Suffix>String</d2p1:Suffix>
    </d2p1:PersonName>
    <d2p1:Phone>String</d2p1:Phone>
    <d2p1:State>String</d2p1:State>
    <d2p1:StoreSize>String</d2p1:StoreSize>
    <d2p1:Zip>String</d2p1:Zip>
  </Shipping>
  <SubmittedOn>0001-01-01T00:00:00</SubmittedOn>
  <TaxId>String</TaxId>
  <Website>String</Website>
</ContactRequested>

    </soap12:Body>
</soap12:Envelope>