EMUN1 ASP.NET

<back to all web services

QueryProductCollections

QueryProductCollections Parameters:
NameParameterData TypeRequiredDescription
IdpathstringNo
QueryBase Parameters:
NameParameterData TypeRequiredDescription
Skipformint?No
Takeformint?No
OrderByformstringNo
OrderByDescformstringNo
IncludeformstringNo
FieldsformstringNo
MetaformDictionary<string, string>No
ProductCollection Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
TypeformstringNo
LabelformstringNo
ShortRomanceformstringNo
LongRomanceformstringNo
FabricformstringNo
FinishformstringNo
LeatherformstringNo
CharacteristicsCareformstringNo
NextCollectionIdformstringNo
VideoUrlformstringNo
PositionformintNo
GalleryImageUrlsformHashSet<string>No
BedroomPiecesformHashSet<string>No
DiningPiecesformHashSet<string>No
LivingPiecesformHashSet<string>No
WorkspacePiecesformHashSet<string>No
SeatingPiecesformHashSet<string>No
CocktailAccentTablesformHashSet<string>No
AccentPillowsformHashSet<string>No
FurnitureCoversformHashSet<string>No
FinishShownformHashSet<string>No
FabricShownformHashSet<string>No
LeatherShownformIEnumerable<string>No
ProductImagesformList<ProductImage>No
CalculatedTagsformIEnumerable<ProductTag>No
TagsformDictionary<string, HashSet<String>>No
EntityBase<K> Parameters:
NameParameterData TypeRequiredDescription
IdformKNo
ProductImage Parameters:
NameParameterData TypeRequiredDescription
ProductIdformstringNo
PositionformintNo
CreatedOnformDateTimeNo
ProductTag Parameters:
NameParameterData TypeRequiredDescription
ProductIdformstringNo
TagKindformstringNo
TagLabelformstringNo
ParentTagKindformstringNo
ParentTagLabelformstringNo
GeneratedformboolNo
PositionformintNo
QueryResponse<T> Parameters:
NameParameterData TypeRequiredDescription
OffsetformintNo
TotalformintNo
ResultsformList<T>No
MetaformDictionary<string, string>No
ResponseStatusformResponseStatusNo

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.bernhardt.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>

<QueryProductCollections xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Products">
  <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>
  <Id>String</Id>
</QueryProductCollections>

    </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>

<QueryResponseOfProductCollectionHJ2Sph_Pt 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.Products">
    <d2p1:ProductCollection>
      <Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
      <d2p1:AccentPillows xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:AccentPillows>
      <d2p1:BedroomPieces xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:BedroomPieces>
      <d2p1:CalculatedTags>
        <d2p1:ProductTag>
          <d2p1:Generated>false</d2p1:Generated>
          <d2p1:ParentTagKind i:nil="true" />
          <d2p1:ParentTagLabel i:nil="true" />
          <d2p1:Position>0</d2p1:Position>
          <d2p1:ProductId i:nil="true" />
          <d2p1:TagKind>Finishes</d2p1:TagKind>
          <d2p1:TagLabel>String</d2p1:TagLabel>
        </d2p1:ProductTag>
        <d2p1:ProductTag>
          <d2p1:Generated>false</d2p1:Generated>
          <d2p1:ParentTagKind i:nil="true" />
          <d2p1:ParentTagLabel i:nil="true" />
          <d2p1:Position>1</d2p1:Position>
          <d2p1:ProductId i:nil="true" />
          <d2p1:TagKind>Fabrics</d2p1:TagKind>
          <d2p1:TagLabel>String</d2p1:TagLabel>
        </d2p1:ProductTag>
        <d2p1:ProductTag>
          <d2p1:Generated>false</d2p1:Generated>
          <d2p1:ParentTagKind i:nil="true" />
          <d2p1:ParentTagLabel i:nil="true" />
          <d2p1:Position>2</d2p1:Position>
          <d2p1:ProductId i:nil="true" />
          <d2p1:TagKind>Seating</d2p1:TagKind>
          <d2p1:TagLabel>String</d2p1:TagLabel>
        </d2p1:ProductTag>
        <d2p1:ProductTag>
          <d2p1:Generated>false</d2p1:Generated>
          <d2p1:ParentTagKind i:nil="true" />
          <d2p1:ParentTagLabel i:nil="true" />
          <d2p1:Position>3</d2p1:Position>
          <d2p1:ProductId i:nil="true" />
          <d2p1:TagKind>Cocktail &amp; Accent Tables</d2p1:TagKind>
          <d2p1:TagLabel>String</d2p1:TagLabel>
        </d2p1:ProductTag>
        <d2p1:ProductTag>
          <d2p1:Generated>false</d2p1:Generated>
          <d2p1:ParentTagKind i:nil="true" />
          <d2p1:ParentTagLabel i:nil="true" />
          <d2p1:Position>4</d2p1:Position>
          <d2p1:ProductId i:nil="true" />
          <d2p1:TagKind>Dining</d2p1:TagKind>
          <d2p1:TagLabel>String</d2p1:TagLabel>
        </d2p1:ProductTag>
        <d2p1:ProductTag>
          <d2p1:Generated>false</d2p1:Generated>
          <d2p1:ParentTagKind i:nil="true" />
          <d2p1:ParentTagLabel i:nil="true" />
          <d2p1:Position>5</d2p1:Position>
          <d2p1:ProductId i:nil="true" />
          <d2p1:TagKind>Living</d2p1:TagKind>
          <d2p1:TagLabel>String</d2p1:TagLabel>
        </d2p1:ProductTag>
        <d2p1:ProductTag>
          <d2p1:Generated>false</d2p1:Generated>
          <d2p1:ParentTagKind i:nil="true" />
          <d2p1:ParentTagLabel i:nil="true" />
          <d2p1:Position>6</d2p1:Position>
          <d2p1:ProductId i:nil="true" />
          <d2p1:TagKind>Bedroom</d2p1:TagKind>
          <d2p1:TagLabel>String</d2p1:TagLabel>
        </d2p1:ProductTag>
        <d2p1:ProductTag>
          <d2p1:Generated>false</d2p1:Generated>
          <d2p1:ParentTagKind i:nil="true" />
          <d2p1:ParentTagLabel i:nil="true" />
          <d2p1:Position>7</d2p1:Position>
          <d2p1:ProductId i:nil="true" />
          <d2p1:TagKind>Accent Pillows</d2p1:TagKind>
          <d2p1:TagLabel>String</d2p1:TagLabel>
        </d2p1:ProductTag>
        <d2p1:ProductTag>
          <d2p1:Generated>false</d2p1:Generated>
          <d2p1:ParentTagKind i:nil="true" />
          <d2p1:ParentTagLabel i:nil="true" />
          <d2p1:Position>8</d2p1:Position>
          <d2p1:ProductId i:nil="true" />
          <d2p1:TagKind>Furniture Covers</d2p1:TagKind>
          <d2p1:TagLabel>String</d2p1:TagLabel>
        </d2p1:ProductTag>
      </d2p1:CalculatedTags>
      <d2p1:CharacteristicsCare>String</d2p1:CharacteristicsCare>
      <d2p1:CocktailAccentTables xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:CocktailAccentTables>
      <d2p1:DiningPieces xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:DiningPieces>
      <d2p1:Fabric>String</d2p1:Fabric>
      <d2p1:FabricShown xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:FabricShown>
      <d2p1:Finish>String</d2p1:Finish>
      <d2p1:FinishShown xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:FinishShown>
      <d2p1:FurnitureCovers xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:FurnitureCovers>
      <d2p1:GalleryImageUrls xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:GalleryImageUrls>
      <d2p1:Label>String</d2p1:Label>
      <d2p1:Leather>String</d2p1:Leather>
      <d2p1:LeatherShown xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
      <d2p1:LivingPieces xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:LivingPieces>
      <d2p1:LongRomance>String</d2p1:LongRomance>
      <d2p1:NextCollectionId>String</d2p1:NextCollectionId>
      <d2p1:Position>0</d2p1:Position>
      <d2p1:ProductImages>
        <d2p1:ProductImage>
          <d2p1:CreatedOn>0001-01-01T00:00:00</d2p1:CreatedOn>
          <d2p1:Position>0</d2p1:Position>
          <d2p1:ProductId>String</d2p1:ProductId>
        </d2p1:ProductImage>
      </d2p1:ProductImages>
      <d2p1:SeatingPieces xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:string>String</d4p1:string>
      </d2p1:SeatingPieces>
      <d2p1:ShortRomance>String</d2p1:ShortRomance>
      <d2p1:Tags xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>Accent Pillows</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>Bedroom</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>Cocktail &amp; Accent Tables</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>Dining</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>Fabrics</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>Finishes</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>Furniture Covers</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>Living</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>Seating</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
        <d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
          <d4p1:Key>String</d4p1:Key>
          <d4p1:Value>
            <d4p1:string>String</d4p1:string>
          </d4p1:Value>
        </d4p1:KeyValueOfstringArrayOfstringty7Ep6D1>
      </d2p1:Tags>
      <d2p1:Type>String</d2p1:Type>
      <d2p1:VideoUrl>String</d2p1:VideoUrl>
      <d2p1:WorkspacePieces xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
    </d2p1:ProductCollection>
  </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>
</QueryResponseOfProductCollectionHJ2Sph_Pt>

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