pem.addServiceTemplate

This method is supported by POA starting from version 2.6.3.

This method allows to create new Service Template.

The method has the following input parameters:

Name

Type

Short Description

owner_id

int

Specifies the ID of the owner of the new Service Template.

name

string

Name of the new Service Template.

[descr]

string

Description of the new Service Template.

resources

array of struct

Array of resources, which are included to Service Template.

  • resource_type_id

int

ID of Resource Type.

  • [subscription_id]

int

ID of the Subscription to take the Resource Types from.

The method has the following output parameters:

Name

Type

Short Description

st_id

int

ID of the created Service Template