pem.APS.getUserServiceInstances

This method is supported by Operations starting from version 5.4.4.

This method returns the list of Application Service Instances of the specified Service User.

The method has the following input parameters:

Name

Type

Short Description

user_id

int

Service User ID

[application_instance_id]

int

Application Instance ID. This parameter is optional. If the parameter is specified, the Application Service Instances of the specified Application Instance are only returned by the method.

[service_id]

string

Application Service ID. This parameter is optional. If the parameter specified, the Application Service Instances of the specified Application Service are only returned by the method.

The Application Service ID of the required Application Service can be obtained in the following ways:

Note: Service User ID is not displayed in Operations control panel. You may use the pem.getUserByLogin or pem.getUsers methods to obtain the ID of the required Service User. Also, you may use the Operations Public API methods, which contain Service User ID(s) in the list of the output parameters.

The method returns an array of the following structures:

Name

Type

Short Description

service_instance_id

int

Application Service Instance ID

application_instance_id

int

ID of the Application Instance, which the Application Service Instance belongs to.

service_id

string

ID of the Application Service which the Application Service Instance belongs to.

Note: This method can also be called under Reseller permissions.