EMUN1 ASP.NET

<back to all web services

AddSwatchListItem

Requires Authentication
AddSwatchListItem Parameters:
NameParameterData TypeRequiredDescription
SwatchIdquerystringNo
ListIdquerystringNo
AddSwatchListItemResponse Parameters:
NameParameterData TypeRequiredDescription
statusformstringNo
swatchformSwatchNo
Swatch Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
SwatchAltID1formstringNo
SwatchAltID2formstringNo
StatusformstringNo
AppStatusformstringNo
GradeformstringNo
ColorformstringNo
TypeformstringNo
UOMformstringNo
QtyAvailableformdoubleNo
AvailableformDateTimeNo
DiscontinuedformDateTimeNo
SalesPriceformdoubleNo
IntroDateformstringNo
Custom2formstringNo
Custom3formstringNo
VendorIdformstringNo
DescriptionformstringNo
ContentformstringNo
ScotchGuardformboolNo
VerticalRepeatformstringNo
HorizontalRepeatformstringNo
MetaformDictionary<string, string>No
TagsformDictionary<string, HashSet<String>>No
EntityBase<K> Parameters:
NameParameterData TypeRequiredDescription
IdformKNo

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

HTTP + SOAP11

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

POST /soap11 HTTP/1.1 
Host: www.bernhardt.com 
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: AddSwatchListItem

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

<AddSwatchListItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Products">
  <ListId>String</ListId>
  <SwatchId>String</SwatchId>
</AddSwatchListItem>

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

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

<AddSwatchListItemResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Products">
  <status>String</status>
  <swatch>
    <Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
    <AppStatus>String</AppStatus>
    <Available>0001-01-01T00:00:00</Available>
    <Color>String</Color>
    <Content>String</Content>
    <Custom2>String</Custom2>
    <Custom3>String</Custom3>
    <Description>String</Description>
    <Discontinued>0001-01-01T00:00:00</Discontinued>
    <Grade>String</Grade>
    <HorizontalRepeat>String</HorizontalRepeat>
    <IntroDate>String</IntroDate>
    <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>
    <QtyAvailable>0</QtyAvailable>
    <SalesPrice>0</SalesPrice>
    <ScotchGuard>false</ScotchGuard>
    <Status>String</Status>
    <SwatchAltID1>String</SwatchAltID1>
    <SwatchAltID2>String</SwatchAltID2>
    <Tags xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d3p1:Key>String</d3p1:Key>
        <d3p1:Value>
          <d3p1:string>String</d3p1:string>
        </d3p1:Value>
      </d3p1:KeyValueOfstringArrayOfstringty7Ep6D1>
    </Tags>
    <Type>String</Type>
    <UOM>String</UOM>
    <VendorId>String</VendorId>
    <VerticalRepeat>String</VerticalRepeat>
  </swatch>
</AddSwatchListItemResponse>

    </soap:Body>
</soap:Envelope>