RHP_API

<back to all web services

GetStoreProducts

Gets all current products.

Requires Authentication
The following routes are available for this service:
GET/Product/Store

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.

GET /Product/Store HTTP/1.1 
Host: tstsrvs.redhotpie.com.au 
Accept: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ArrayOfStoreProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RHP.ServiceHelper.Model">
  <StoreProduct>
    <Category>String</Category>
    <Description>String</Description>
    <Group>String</Group>
    <MainImage>
      <Filename>String</Filename>
      <Height>0</Height>
      <Width>0</Width>
    </MainImage>
    <Name>String</Name>
    <Price>
      <StoreProductPrice>
        <Currency xmlns:d5p1="http://schemas.datacontract.org/2004/07/RHP.Model">
          <d5p1:Code>String</d5p1:Code>
          <d5p1:CurrencyID>0</d5p1:CurrencyID>
          <d5p1:Name>String</d5p1:Name>
          <d5p1:Symbol>String</d5p1:Symbol>
        </Currency>
        <Price>0</Price>
      </StoreProductPrice>
    </Price>
    <ProductStock>
      <StoreProductStock>
        <Colour>
          <Abbreviation>String</Abbreviation>
          <ID>0</ID>
          <Name>String</Name>
        </Colour>
        <Quantity>0</Quantity>
        <Size>
          <Abbreviation>String</Abbreviation>
          <ID>0</ID>
          <Name>String</Name>
        </Size>
        <StoreProductStockID>0</StoreProductStockID>
      </StoreProductStock>
    </ProductStock>
    <RequiresShiping>false</RequiresShiping>
    <SortNumber>0</SortNumber>
    <StoreProductID>0</StoreProductID>
  </StoreProduct>
</ArrayOfStoreProduct>