WebApi

<back to all web services

VirtualRooftopListRequest

The following routes are available for this service:
GET/users/{UserId}/rooftopsGet list of VirtualRooftops for credentials provided in authorization header.*UserID provided is not actually used in any queries.
OPTIONS/users/{UserId}/rooftops
GET/rooftopsGet list of VirtualRooftops for credentials provided in authorization header.
OPTIONS/rooftops

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/VirtualRooftopListRequest HTTP/1.1 
Host: api.homenetiol.com 
Content-Type: application/xml
Content-Length: length

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

<VirtualRooftopListResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages.Inventory">
  <MessageDetails i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages" />
  <ResponseMessageKind xmlns="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Messages">None</ResponseMessageKind>
  <ResellerVirtualRooftop xmlns:d2p1="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Models">
    <d2p1:Address1>String</d2p1:Address1>
    <d2p1:Address2>String</d2p1:Address2>
    <d2p1:City>String</d2p1:City>
    <d2p1:FaxNumber>String</d2p1:FaxNumber>
    <d2p1:LogoURL>String</d2p1:LogoURL>
    <d2p1:Name>String</d2p1:Name>
    <d2p1:PhoneNumber>String</d2p1:PhoneNumber>
    <d2p1:State>String</d2p1:State>
    <d2p1:VirtualRooftopId>0</d2p1:VirtualRooftopId>
    <d2p1:VirtualRooftopType>Unknown</d2p1:VirtualRooftopType>
    <d2p1:ZipCode>String</d2p1:ZipCode>
  </ResellerVirtualRooftop>
  <VirtualRooftops xmlns:d2p1="http://schemas.datacontract.org/2004/07/HNI.InventoryOnline.WebIOL.WebApi.Common.Models" i:nil="true" />
</VirtualRooftopListResponse>