Skip to content

services meteringSettingsRouteService

Kristijan Horvat edited this page Jan 23, 2017 · 2 revisions

baasicMeteringSettingsRouteService

Baasic Metering Settings Route Service provides Baasic route templates which can be expanded to Baasic REST URIs. Various services can use Baasic Metering settings Route Service to obtain a needed routes while other routes will be obtained through HAL. By convention, all route services use the same function names as their corresponding services.


baasicMeteringSettingsRouteService.get()

Parses get route; this route doesn't expose any properties.

Example:

baasicMeteringSettingsRouteService.get.expand({});               

baasicMeteringSettingsRouteService.parse()

Parses and expands URI templates based on RFC6570 specifications. For more information please visit the project GitHub page.

Example:

baasicMeteringSettingsRouteService.parse('<route>/{?embed,fields,options}').expand({embed: '<embedded-resource>'});

Notes:

  • Refer to the Baasic REST API for detailed information about available Baasic REST API end-points.
  • URI Template syntax enables expanding the Baasic route templates to Baasic REST URIs providing it with an object that contains URI parameters.
  • All end-point objects are transformed by the associated route service.

(c) 2017 Mono Ltd

Author: Mono Ltd

License: MIT