WebApi

<back to all web services

ServiceDefinitionListRequest

The following routes are available for this service:
GET/enterprise/service-definitions/{VirtualRooftopId}Get list of service definitions.
OPTIONS/enterprise/service-definitions/{VirtualRooftopId}

To override the Content-type in your clients HTTP Accept Header, append the .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /json/reply/ServiceDefinitionListRequest HTTP/1.1 
Host: api.homenetiol.com 
Content-Type: application/json
Content-Length: length

{"VirtualRooftopId":0,"IncludeResellerDefinitions":false}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"VirtualRooftopId":0,"IncludeResellerDefinitions":false,"Definitions":[{"ServiceDefinitionId":0,"ResellerVirtualRooftopId":0,"VirtualRooftopId":0,"AccountingCode":"String","Description":"String","Price":0,"ServiceType":"New"}],"ResellerDefinitions":[{"ServiceDefinitionId":0,"ResellerVirtualRooftopId":0,"VirtualRooftopId":0,"AccountingCode":"String","Description":"String","Price":0,"ServiceType":"New"}],"ResponseMessageKind":"None"}