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>
<CheckPromotions xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Shopping">
<Fields xmlns="http://schemas.servicestack.net/types">String</Fields>
<Include xmlns="http://schemas.servicestack.net/types">String</Include>
<Meta xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.servicestack.net/types">
<d2p1:KeyValueOfstringstring>
<d2p1:Key>String</d2p1:Key>
<d2p1:Value>String</d2p1:Value>
</d2p1:KeyValueOfstringstring>
</Meta>
<OrderBy xmlns="http://schemas.servicestack.net/types">String</OrderBy>
<OrderByDesc xmlns="http://schemas.servicestack.net/types">String</OrderByDesc>
<Skip xmlns="http://schemas.servicestack.net/types">0</Skip>
<Take xmlns="http://schemas.servicestack.net/types">0</Take>
<CartId>String</CartId>
</CheckPromotions>
</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>
<QueryResponseOfPromotionstVTqDje5 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.servicestack.net/types">
<Offset>0</Offset>
<Total>0</Total>
<Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/Emun.Data.Models">
<d2p1:Promotions>
<d2p1:CreatedBy>String</d2p1:CreatedBy>
<d2p1:Status>String</d2p1:Status>
<d2p1:curSalesPrice>0</d2p1:curSalesPrice>
<d2p1:dblDiscountDollar>0</d2p1:dblDiscountDollar>
<d2p1:dblDiscountPercent>0</d2p1:dblDiscountPercent>
<d2p1:dblMaxQualifyAmount>0</d2p1:dblMaxQualifyAmount>
<d2p1:dblQualifyAmount>0</d2p1:dblQualifyAmount>
<d2p1:dtmEndDate>0001-01-01T00:00:00</d2p1:dtmEndDate>
<d2p1:dtmShipAfter>0001-01-01T00:00:00</d2p1:dtmShipAfter>
<d2p1:dtmShipBefore>0001-01-01T00:00:00</d2p1:dtmShipBefore>
<d2p1:dtmStartDate>0001-01-01T00:00:00</d2p1:dtmStartDate>
<d2p1:intNumShipDays>0</d2p1:intNumShipDays>
<d2p1:intPriority>0</d2p1:intPriority>
<d2p1:intQualifyQuantity>0</d2p1:intQualifyQuantity>
<d2p1:strAdvancedCriteria>String</d2p1:strAdvancedCriteria>
<d2p1:strBrandID>String</d2p1:strBrandID>
<d2p1:strCategory>String</d2p1:strCategory>
<d2p1:strDiscountFrom>String</d2p1:strDiscountFrom>
<d2p1:strFreeProduct>String</d2p1:strFreeProduct>
<d2p1:strGeneratedFrom>String</d2p1:strGeneratedFrom>
<d2p1:strNote>String</d2p1:strNote>
<d2p1:strOrderSource>String</d2p1:strOrderSource>
<d2p1:strPriceList>String</d2p1:strPriceList>
<d2p1:strProductID>String</d2p1:strProductID>
<d2p1:strProductLineID>String</d2p1:strProductLineID>
<d2p1:strPromotionCode>String</d2p1:strPromotionCode>
<d2p1:strPromotionDesc>String</d2p1:strPromotionDesc>
<d2p1:strPromotionType>String</d2p1:strPromotionType>
<d2p1:strRewardType>String</d2p1:strRewardType>
<d2p1:strSpecialTerm>String</d2p1:strSpecialTerm>
<d2p1:strSubCategory>String</d2p1:strSubCategory>
<d2p1:strWarehouse>String</d2p1:strWarehouse>
<d2p1:ysnAllowCancelDate>false</d2p1:ysnAllowCancelDate>
<d2p1:ysnAllowDiscountReplace>false</d2p1:ysnAllowDiscountReplace>
<d2p1:ysnAllowTermReplace>false</d2p1:ysnAllowTermReplace>
<d2p1:ysnApplyWholeOrder>false</d2p1:ysnApplyWholeOrder>
<d2p1:ysnCombineDiscount>false</d2p1:ysnCombineDiscount>
<d2p1:ysnDisplayOnCheckout>false</d2p1:ysnDisplayOnCheckout>
<d2p1:ysnExistingTermQualifies>false</d2p1:ysnExistingTermQualifies>
<d2p1:ysnIncludeInMultiOrder>false</d2p1:ysnIncludeInMultiOrder>
<d2p1:ysnMultipleOrders>false</d2p1:ysnMultipleOrders>
<d2p1:ysnNotAllowDiscountOnPriceTierItems>false</d2p1:ysnNotAllowDiscountOnPriceTierItems>
<d2p1:ysnOneTimeUse>false</d2p1:ysnOneTimeUse>
<d2p1:ysnReplaceDiscount>false</d2p1:ysnReplaceDiscount>
<d2p1:ysnRequireEmail>false</d2p1:ysnRequireEmail>
<d2p1:ysnSameShipDate>false</d2p1:ysnSameShipDate>
</d2p1:Promotions>
</Results>
<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>
<ResponseStatus>
<ErrorCode>String</ErrorCode>
<Message>String</Message>
<StackTrace>String</StackTrace>
<Errors>
<ResponseError>
<ErrorCode>String</ErrorCode>
<FieldName>String</FieldName>
<Message>String</Message>
<Meta xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d5p1:KeyValueOfstringstring>
<d5p1:Key>String</d5p1:Key>
<d5p1:Value>String</d5p1:Value>
</d5p1:KeyValueOfstringstring>
</Meta>
</ResponseError>
</Errors>
<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>
</Meta>
</ResponseStatus>
</QueryResponseOfPromotionstVTqDje5>
</soap12:Body>
</soap12:Envelope>