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 .jsv suffix or ?format=jsv

HTTP + JSV

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

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

{
	VirtualRooftopId: 0,
	IncludeResellerDefinitions: False
}
HTTP/1.1 200 OK
Content-Type: text/jsv
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
}