EMUN1 ASP.NET

<back to all web services

ReorderProductList

The following routes are available for this service:
All Verbs/service/ReorderProductList
ReorderProductList Parameters:
NameParameterData TypeRequiredDescription
ListIdquerystringNo
ProductIdquerystringNo
NewPositionqueryintNo
ProductList Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
LabelformstringNo
DescriptionformstringNo
ExpiresOnformDateTimeNo
CreatedByformstringNo
CreatedOnformDateTimeNo
LastModifiedOnformDateTimeNo
LastModifiedByformstringNo
PositionformintNo
UserformUserNo
RetailerAuthorizationformDictionary<string, bool>No
ItemsformHashSet<string>No
TagsformHashSet<string>No
VisibilityformHashSet<ProductListVisibility>No
ItemCountformintNo
ExpiredformboolNo
ListTypeformstringNo
EntityBase<K> Parameters:
NameParameterData TypeRequiredDescription
IdformKNo
User Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
RetailerIdformstringNo
DisplayNameformstringNo
UserNameformstringNo
EmailformstringNo
FullNameformstringNo
PhoneNumberformstringNo
ProfileImageUrlformstringNo

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.

POST /service/ReorderProductList HTTP/1.1 
Host: www.bernhardthospitality.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<ReorderProductList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Products">
  <ListId>String</ListId>
  <NewPosition>0</NewPosition>
  <ProductId>String</ProductId>
</ReorderProductList>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ProductList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Emun.Products">
  <Id xmlns="http://schemas.datacontract.org/2004/07/ServiceStack">String</Id>
  <CreatedBy>String</CreatedBy>
  <CreatedOn>0001-01-01T00:00:00</CreatedOn>
  <Description>String</Description>
  <ExpiresOn>0001-01-01T00:00:00</ExpiresOn>
  <Items xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Items>
  <Label>String</Label>
  <LastModifiedBy>String</LastModifiedBy>
  <LastModifiedOn>0001-01-01T00:00:00</LastModifiedOn>
  <ListType>String</ListType>
  <Position>0</Position>
  <RetailerAuthorization xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:KeyValueOfstringboolean>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>false</d2p1:Value>
    </d2p1:KeyValueOfstringboolean>
  </RetailerAuthorization>
  <Tags xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>String</d2p1:string>
  </Tags>
  <User>
    <DisplayName>String</DisplayName>
    <Email>String</Email>
    <FullName>String</FullName>
    <Id>String</Id>
    <PhoneNumber>String</PhoneNumber>
    <RetailerId>String</RetailerId>
    <UserName>String</UserName>
  </User>
  <Visibility>
    <ProductListVisibility>OrderEntry</ProductListVisibility>
  </Visibility>
</ProductList>