WebApi

<back to all web services

PhotoPackageRequest

The following routes are available for this service:
GET/photopackages/{photoPackageId}Returns a zip file containing the all photo guides within the specified photo package.Archive will include a file packages.json, which has the photo guide data, as well as all images relating to the photo guides included.
OPTIONS/photopackages/{photoPackageId}
GET/proxy/v1/photopackages/{photoPackageId}Returns a zip file containing the all photo guides within the specified photo package.Archive will include a file packages.json, which has the photo guide data, as well as all images relating to the photo guides included.

To override the Content-type in your clients 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 /xml/reply/PhotoPackageRequest HTTP/1.1 
Host: api.homenetiol.com 
Content-Type: application/xml
Content-Length: length

<PhotoPackageRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.MessageHandlers.Mobile">
  <PhotoPackageId xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">0</PhotoPackageId>
</PhotoPackageRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<ContentStreamResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.ServiceStack">
  <Options xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
</ContentStreamResult>