pem.getServiceTemplateList

This method is supported by Operations starting from version 5.2

This method allows retrieving a list of service templates with filter on owner ID, status (active or not) and modification date.

The method has the following input parameters:

Name

Type

Short Description

owner_id

int

ID of account that owns the service template.

active

boolean

The required parameter that returns:

  • 1 – only active service templates.
  • 0 – all service templates (both active and not active).

[m_time]

int

Service template modification time starting from which service templates are filtered into the method output. Must be specified in the number of seconds since 1970-01-01 00:00:00 UTC (Unix time format).

This method returns an array of the following structures:

Name

Type

Short Description

st_id

int

Service template ID.

name

string

Service template name.

description

string

Service template description.

active

boolean

Is the service template active (can be subscribed).

owner_id

int

ID of account that owns the service template.

CloudBlue, an Ingram Micro business, uses cookies to improve the usability of our site. By continuing to use this site and/or logging in you are accepting the use of these cookies. For more information, visit our Privacy Policy.