C Partner Relationship Management SOAP-based Web Services Interface

This interface is deprecated and will be removed in a future release. Oracle recommends that you use the REST-based interfaces instead.

This appendix describes the SOAP-based Web Service interface that Oracle Communications Services Gatekeeper supports. You use this interface to extend and customize the GUIs supplied with pre-6.0 Services Gatekeeper releases.

About the Interface Functionality

The functionality in the Web services interface is organized in the following way:

Base Service Error Messages

Individual interfaces have their own error messages. These error messages are common across all interfaces:

  • "The appAccount in registered PENDING state"

  • "The spAccount in registered PENDING state"

  • "The AppInstGroup isn't in update pending status"

  • "The AppAccount not in update pending status"

  • "access failed"

  • "The AppInstanceGrp not exist"

  • "The AppInstanceGrp not belong to the AppAccount"

  • "Application not existed"

  • "the Application doesn't belong to the SpAccount"

  • "Application in register pending status"

  • "The AppAccount not exist"

  • "The AppAccount doesn't belong to the Sp"

  • "Sp Account in register pending state"

  • "Sp Account in register pending state"

Interface: SpLogin

Services Gatekeeper supports the following functionality in the Service Provider Login Web Service interface:

  • Login/logout capabilities for backward compatibility only

  • A way for prospective service providers to request a Service Provider Account

The endpoint for this interface is:

http://host:port/prm_sp/services/SpLogin

where the value of host and port depend on the Services Gatekeeper deployment.

registerSpAccountReq

The registerSpAccountReq method is used to request a new Service Provider Account. When this request has been approved by the operator, the Service Provider can log in to the Partner Relationship Management module. For more information on the approval by the operator, see "registerSpAccountRes".

Method Signature

registerSpAccountReq(spAccountId, spAccount, password)

Input Parameters

Table C-1 describes the input parameters:

Table C-1 registerSpAccountReq Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The desired ID the Service Provider Account.

spAccount

tns1:SpAccount

Data structure with details on the Service Provider account. See "SpAccount".

password

xsd:string

The password associated with the Service Provider login account.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

Complex Data Types

The Service Provider Login Web Service interface uses the following complex data types.

SpAccount

Table C-2 describes of a Service Provider Account, including contact details.

Table C-2 Contents of an SpAccount

Element name Data Type Description

Name

xsd:string

Name of the Service Provider.

Address

xsd:string

Address of the Service Provider.

EMailAddress

xsd:string

E-mail address of the Service Provider.

ContactPerson

xsd:string

Contact person at the Service provider.

PhoneNumber

xsd:string

Phone number to the Service Provider.

Properties

mpl:ArrayOf_tns1_Property

Customer relationship management (CRM)/Partner relationship management (PRM) application-defined name value pairs. See "Property".


Property

This is an array of name-value pairs. This data type is used in several other data types specific for this interface. The properties are accessible from the Service Provider interface and the Operator interface, so they can be used for communicating information between the Service Provider and the Operator.

Table C-3 describes the elements of a property.

Table C-3 Property Elements

Element name Data Type Description

Name

xsd:string

Name of the property, with the value defined in Value. Unique with the array.

Value

xsd:string

The data associated with Name.


Interface: OpLogin

The Operator Login Web Service in Services Gatekeeper's Partner Relationship Management module is provided for backward compatibility only. The current implement of PRM is sessionless.

The endpoint for this interface is:

http://<host>:<port>/prm_op/services/OpLogin

Where the value of host and port depend on the Services Gatekeeper deployment.

Interface: SpService

The Service Provider Service Web Service provides the Service Provider with operations for handling Service Provider Accounts, Application Accounts, and Applications Instances in Services Gatekeeper.

The endpoint for this interface is:

http://host:port/prm_sp/services/SpService

where the value of host and port depend on the Services Gatekeeper deployment.

SpService Error Messages

This interface can generate these error messages:

  • "changeSpAccountPassword failed"

  • "setAppInstGroupPassword failed"

  • "getAppAccountSla failed"

  • "getSpAccountSla failed"

  • "getAppAccountSlaByType failed"

  • "getSpAccountSlaByType failed"

  • "getAppInstGroupState failed"

  • "getAppInstGroup failed"

  • "listAppInstGroups failed"

  • "deactivateAppInstGroup failed"

  • "activateAppinstGroup failed"

  • "deactivateAppAccount failed"

  • "activateAppAccount failed"

  • "getAppAccountState failed"

  • "getAppAccount failed"

  • "listAppAccounts failed"

  • "Only ACTIVE status can be updated"

  • "Only DEACTIVE status can be deleted!"

  • "the AppAcount existed already!"

deleteSpAccountReq

The deleteSpAccountReq method makes a request to delete the Service Provider Account. The request must be approved before the Service Provider Account is deleted. This is done by the operator, using "deleteSpAccountRes".

Method Signature

deleteSpAccountReq()

Input Parameters

This operation takes no input parameters.

Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The Service Provider Account's state cannot be deleted. For a Service Provider Account to be deleted, it must be in the INACTIVE state.

deactivateSpAccount

Deactivates the Service Provider Account, which changes the state of the account to INACTIVE.

Method Signature

deactivateSpAccount()

Input Parameters

This operation takes no input parameters.

Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The Service Provider Account is not in an appropriate state to allow the account to be deactivated.

activateSpAccount

Activates the Service Provider Account. which changes the state of the account to ACTIVE.

Method Signature

activateSpAccount()

Input Parameters

This operation takes no input parameters.

Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The Service Provider Account is not in an appropriate state to allow the account to be activated.

getSpAccount

Retrieves details about the Service Provider Account. The details include contact details and customer relationship management (CRM)/partner relationship management (PRM) application-defined properties in the form of name-value pairs.

Method Signature

getSpAccount()

Input Parameters

This operation takes no input parameters.

Return Parameters

A data structure with details on the Service Provider account. See "SpAccount".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

getSpAccountState

Retrieves the state of the Service Provider Account. This operation takes no input parameters.

Method Signature

getSpAccountState()

Input Parameters

This operation takes no input parameters.

Return Parameters

Information of the state of the Service Provider Account. See "State".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

registerAppAccountReq

Requests registration of an Application Account for the Service Provider Account. This request must be approved by the Operator: see "registerAppAccountRes".

Method Signature

deleteSpAccountReq(appAcountId, appAccount)

Input Parameters

Table C-4 describes the input parameters.

Table C-4 registerAppAccountReq Input Parameters

Parameter Name Type Description

appAccountId

xsd:string

The ID of the Application Account.

appAccount

tns1:AppAccount

A data structure with details about the Application Account, including CRM/PRM application-defined properties in the form of name-value pairs. See "AppAccount".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The application account is not in the correct state to be registered.

deleteAppAccountReq

Requests deletion of an Application Account associated with the Service Provider Account. The request must be approved by the Operator before the Application Account is deleted using "deleteAppAccountRes". The Application Account must be in state INACTIVE in order for this call to be accepted.

Method Signature

deleteAppAccountReq(appAcountId)

Where appAcountId is the ID of the application account.

Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The application account is not in the right state to be deleted. The application account must be in the INACTIVE state before it can be deleted.

updateSpAccountReq

Requests an update of the Service Provider Account with new data.

Method Signature

updateSpAccountReq(spAccountId, spAccount)

Input Parameters

Table C-5 describes the input parameters.

Table C-5 updateSpAccountReq Input Parameters

Parameter Name Type Description

spAccountID

xsd:string

The ID of the service provider account.

spAccount

tns1:AppAccount

The data structure with details on the Service Provider Account, including CRM/PRM application-defined properties in the form of name-value pairs. See "SpAccount".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The Service Provider Account is in an incorrect state and cannot be updated.

updateAppAccountReq

Requests an update to an Application Account associated with the Service Provider with new data.

Method Signature

updateAppAccount(appAcountId, appAccount)

Input Parameters

Table C-6 describes the input parameters.

Table C-6 updateAppAccount Input Parameters

Parameter Name Type Description

appAccountId

xsd:string

The ID of the Application Account.

appAccount

tns1:AppAccount

A data structure with details about the Application Account, including CRM/PRM application-defined properties in the form of name-value pairs. See "AppAccount".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The application account is in an invalid state and cannot be updated.

updateAppInstGroupReq

Requests an update on an Application Instance. The request must be approved by the Operator. See "updateAppInstGroupRes".

Method Signature

updateAppInstGroupReq(appAcountId, appInstGroupId, appInstGroup)

Input Parameters

Table C-7 describes the input parameters.

Table C-7 updateAppInstGroupReq Input Parameters

Parameter Name Type Description

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance.

appInstGroup

tns1:AppInstGroup

A data-structure with the Application Instance CRM/PRM application-defined properties in the form of name-value pairs. See "AppInstGroup".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The application instance is in an invalid state and an update request cannot be made.

deleteAppInstGroupReq

Requests a deletion of an Application Instance. The request must be approved by the Operator. This is done using "deleteAppInstGroupRes".

Method Signature

deleteAppInstGroupReq(appAcountId, appInstGroupId)

Input Parameters

Table C-8 describes the input parameters.

Table C-8 deleteAppInstGroupReq Input Parameters

Parameter Name Type Description

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The application instance is in an invalid state and the deletion request cannot be processed.

listAppAccounts

Lists all Application Account IDs for the Service Provider. The result is filtered based on the state of the Application Account.

Method Signature

listAppAccounts(state)

Where state indicates the states on which to filter the result. See "State".

Return Parameters

Returns a list of application account IDs in a string array.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

getAppAccount

Retrieves details about a specific Application Account. The operation returns a data structure with details on the Application Account, including CRM/PRM application-defined properties in the form of name-value pairs.

Method Signature

getAppAccount(appAccountId)

Where appAccountId is the ID of the application account.

Return Parameters

Returns a data structure with details about the Application Account. See "AppAccount".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

getAppAccountState

Retrieves the state of a specific Application Account.

Method Signature

getAppAccountState(appAccountId)

Where appAccountId is the ID of the application account.

Return Parameters

Returns information on the state of the Application Account. See "State".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

activateAppAccount

Activate an Application Account, which changes the state of the account to ACTIVE. The current state of the account must be INACTIVE.

Method Signature

activateAppAccount(appAcountId)

Where appAcountId is the ID of the application account.

Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The application account is in an invalid state and cannot be activated.

deactivateAppAccount

Deactivates an Application Account, which changes the state of the account to INACTIVE. The current state of the account must be ACTIVE.

Method Signature

deactivateAppAccount(appAcountId)

Where appAcountId is the ID of the application account.

Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The application account is in an invalid state and cannot be deactivated.

activateAppInstGroup

Activates an Application Instance, which changes the state of the instance to ACTIVE.

Method Signature

activateAppInstGroup(appAcountId, appInstGroupId)

Input Parameters

Table C-9 describes the input parameters.

Table C-9 activateAppInstGroup Input Parameters

Parameter Name Type Description

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The Application Instance is not in an appropriate state to allow the account to be activated.

getAppInstGroupState

Gets the state of an Application Instance.

Method Signature

getAppInstGroupState(appAcountId, appInstGroupId)

Input Parameters

Table C-10 describes the input parameters.

Table C-10 getAppInstGroupState Input Parameters

Parameter Name Type Description

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance.


Return Parameters

Returns the state of the Application Instance. See "State".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

deactivateAppInstGroup

Deactivates an Application Instance, which changes the state of the group to INACTIVE.

Method Signature

deactivateAppInstGroup(appAcountId, appInstGroupId)

Input Parameters

Table C-11 describes the input parameters.

Table C-11 deactivateAppInstGroup Input Parameters

Parameter Name Type Description

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The Application Instance is not in an appropriate state to allow the account to be deactivated.

registerAppInstGroupReq

Requests the registration of an Application Instance for a specific Application Account. When this request has been approved by the Operator (see "registerAppInstGroupRes") an application has all credentials necessary to be authenticated on the traffic interfaces of the Services Gatekeeper.

Method Signature

registerAppInstGroup(appAcountId, appInstGroupId, appInstGroup, password)

Input Parameters

Table C-12 describes the input parameters.

Table C-12 registerAppInstGroup Input Parameters

Parameter Name Type Description

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance to be registered.

appInstGroup

tns1:AppInstGroup

The CRM/PRM application-defined properties in the form of name-value pairs. See "AppInstGroup".

password

xsd:string

The password the application will use when authenticating on Services Gatekeeper


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

  • INVALID_STATE: The application instance is in an invalid state and cannot be registered.

listAppInstGroups

Lists all Application Instances for an Application Account. Filtering is possible on the state of the Application Instance

Method Signature

listAppInstGroup(appAcountId, state)

Input Parameters

Table C-13 describes the input parameters.

Table C-13 listAppInstGroup Input Parameters

Parameter Name Type Description

appAccountId

xsd:string

The ID of the Application Account.

state

tns1:State

Indicates which states to filter the result on. See "State".


Return Parameters

Returns a list of all Service Application Instance IDs matching the given criteria in a string array.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

getAppInstGroup

Retrieves details about a specific Application Instance.

Method Signature

getAppInstGroup(appAcountId, appInstGroupId)

Input Parameters

Table C-14 describes the input parameters.

Table C-14 getAppInstGroup Input Parameters

Parameter Name Type Description

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance to be registered.


Return Parameters

Returns a data structure with details about the Application Instance. See "AppInstGroup".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

getSpAccountSlaByType

Retrieves an SLA of a given type for the Service Provider Account.

Method Signature

getSpAccountSlaByType(slaType)

Where slaType is the SLA type to retrieve.

Use:

  • service_provider

  • system:geo_service_provider

  • service_provider_node

  • a custom SLA type ID

For information on the different types, see ”Managing SLAs” in Services Gatekeeper Accounts and SLAs Guide.

Return Parameters

Returns the service provider SLA in a string.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

getAppAccountSlaByType

Retrieves an SLA of a given type for the Application Account.

Method Signature

getAppAccountSlaByType(slaType, appAccountId)

Input Parameters

Table C-15 describes the input parameters.

Table C-15 getAppAccountSlaByType Input Parameters

Parameter Name Type Description

slaType

xsd:string

The SLA type to retrieve.

Use:

  • application

  • system:geo_application

  • a custom SLA type ID

For information on the different types, see ”Managing SLAs” in Services Gatekeeper Accounts and SLAs Guide.

appAccountId

xsd:string

The Application Account to retrieve the SLA for.


Return Parameters

Returns the application level SLA in a string.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

setAppInstGroupPassword

Set the password associated with an Application Instance. This password is a part of the credentials an application uses to be authenticated on the traffic interfaces exposed by Services Gatekeeper.

Method Signature

setAppInstGroupPassword(appAccountId, appInstGroupId, newPassword)

Input Parameters

Table C-16 describes the input parameters.

Table C-16 setAppInstGroupPassword Input Parameters

Parameter Name Type Description

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance.

newPassword

xsd:string

The new password.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

changeSpAccountPassword

Change the Service provider Account password. This password is the password the Service Provider use to login to the Service Provider part of the Partner Management Interfaces exposed by Services Gatekeeper.

Method Signature

changeSpAccountPassword(oldPassword, newPassword)

Input Parameters

Table C-17 describes the input parameters.

Table C-17 changeSpAccountPassword Input Parameters

Parameter Name Type Description

oldPassword

xsd:string

The current password.

newPassword

xsd:string

The new password.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

Service Provider Service Complex Data Types

This section describes the complex data types used by the Service Provider Service interface.

AppAccount

Table C-18 provides the description of an Application Account.

Table C-18 appAccount

Element name Data Type Description

Name

xsd:string

Descriptive name of the Application Account.

Description

xsd:string

Short description of the Application Account.

Properties

impl:ArrayOf_tns1_Property

CRM/PRM application-defined name value pairs. See "Property".


AppInstGroup

Table C-19 describes the container for the CRM/PRM application-defined properties.

Table C-19 AppGroup

Element name Data Type Description

Name

xsd:string

Descriptive name of the Application Instance.

Description

xsd:string

Short description of the Application Instance.

SLA

xsd:string

The SLA for the Application Instance.

Is always ”1” as the SLA feature is no longer used.

Properties

mpl:ArrayOf_tns1_Property

CRM/PRM application-defined properties. Name-value pairs. See "Property".


Property

Array of name-value pairs, as shown in Table C-20. This data type is used in several other data types specific for this interface. The properties are accessible from the Service Provider interface and the Operator interface, so they can be used for communicating information between the Service Provider and the Operator.

Table C-20 Property

Element name Data Type Description

Name

xsd:string

Name of the property, with the value defined in Value. Unique with the array.

Value

xsd:string

The data associated with Name.


SpAccount

Table C-21 provides the description of a Service Provider Account, including contact details.

Table C-21 appAccount

Element name Data Type Description

Name

xsd:string

Name of the Service Provider.

Address

xsd:string

Address of the Service Provider.

EMailAddress

xsd:string

E-mail address of the Service Provider.

ContactPerson

xsd:string

Contact person at the Service provider.

PhoneNumber

xsd:string

Phone number to the Service Provider.

Properties

mpl:ArrayOf_tns1_Property

CRM/PRM application-defined name value pairs. See "Property".


State

Defines the state of a Service Provider Account, Service Provider Group, Application Account, Application Group, or Application Instance. Enumeration, as shown in Table C-22.

See "Account States" for more information about states, and transitions between different states.

Table C-22 State

Element name Data Type Description

REGISTERED

xsd:string

The account or group is has been registered. The Operator must respond to this registration request.

ACTIVE

xsd:string

Normal mode.

INACTIVE

N/A

No traffic is allowed through the Services Gatekeeper when the account or group is in this state.

UPDATE_PENDING

N/A

There is a pending update request. The request must be responded to by the Operator.

DELETE_PENDING

N/A

There is a pending delete request on the account or group. The request must be responded to by the Operator

LOCKED

N/A

Only valid for an Applicator Instances. For backward compatibility only. The group can be locked due to too many consecutive failed login attempts from an application.


Interface: OpService

The Operator Service Web Service provides the Operator with operations for handling Service Provider Accounts, Service Provider Groups, Application Accounts, Application Account Groups and Applications Instances in Services Gatekeeper's Partner Relationship Management module.

The endpoint for this interface is:

http://host:port/prm_op/services/OpService

The value of host and port depend on the Services Gatekeeper deployment.

OpService Error Messages

This interface generates these error messages:

  • ”The SP Account not exist”

  • ”Only DEACTIVE status can be deleted!”

  • ”the AppAcount existed already!”

  • ”SP no exist!”

  • ”Application no exist”

listAppGroups

Lists all Application Groups.

Method Signature

listAppGroups()

Input Parameters

This operation takes no input parameters.

Return Parameters

Returns a list of all application group IDs in a string array.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

getAppGroup

Retrieves details about a specific Application Group.

Method Signature

getAppGroup(appGroupId)

Where appGroupId is the ID of the group.

Return Parameters

Returns a data structure with details about the Application Group. See "AppGroup".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

createAppGroupByType

Creates a new Application Group with a certain ID with an associated SLA.

Method Signature

createAppGroupByType(slaType, appGroupId, appGroup)

Input Parameters

Table C-23 describes the input parameters.

Table C-23 createAppGroupByType Input Parameters

Parameter Name Type Description

slaType

xsd:string

The SLA type to update.

Use:

  • application

  • system:geo_application

  • a custom SLA type ID

For information on the different types, see ”Managing SLAs” in Services Gatekeeper Accounts and SLAs Guide.

appGroupId

xsd:string

ID of the Application Group.

appGroup

tns1:AppGroup

A data structure describing the group. See "AppGroup".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

deleteAppGroup

Deletes an Application Group. All Application Accounts must be removed from the group before it can be deleted.

Method Signature

deleteAppGroup(appGroupId)

Where appGroupId is the ID of the group.

Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

moveAppAccountToGroup

Associates an Application Account for a specific Service Provider with an Application Group.

Method Signature

moveAppAccountToGroup(spAccountId, appAccountId, appGroupId)

Input Parameters

Table C-24 describes the input parameters.

Table C-24 moveAppAccountToGroup Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.

appGroupId

xsd:string

The ID of the Application Account Group.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when access to the method is denied.

  • CommonException: Exception thrown if none of the accounts or groups do not exist.

getAppGroupId

Retrieves the ID of the Application Group for a given Service Provider Account and Application Account combination.

Method Signature

getAppGroupId(spAccountId, appAccountId)

Input Parameters

Table C-25 describes the input parameters.

Table C-25 getAppGroupId Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if any of the accounts does not exist or no group is associated.

updateAppGroupByType

Updates an Application Group with a new SLA.

Method Signature

updateAppGroupByType(slaType, appGroupId, appGroup)

Input Parameters

Table C-26 describes the input parameters.

Table C-26 updateAppGroupByType Input Parameters

Parameter Name Type Description

slaType

xsd:string

The SLA type to update.

Use:

  • application

  • system:geo_application

  • a custom SLA type ID

For information on the different types, see ”Managing SLAs” in Services Gatekeeper Accounts and SLAs Guide.

appGroupId

xsd:string

The ID of the group.

appGroup

tns1:AppGroup

The Application-level SLA, and CRM/PRM application-defined properties in the form of name-value pairs. See "AppGroup".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if group does not exist or if the SLA contains errors.

listSpGroups

Lists all Service Provider Groups. This operation requires no input.

Method Signature

updateAppGroupByType()

Input Parameters

This method accepts no parameters.

Return Parameters

Returns a list of all service provider group IDs in a string array.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

getSpGroup

Retrieves details about a specific Service Provider Group.

Method Signature

updateAppGroupByType(spGroupId)

Where spGroupId is the ID of the group.

Return Parameters

Returns a data structure with details about the Service Provider Group. See "SpGroup".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

createSpGroupByType

Creates a new Service Provider Group with a certain ID with a certain SLA type associated.

Method Signature

createSpGroupByType(slaType, spGroupId, spGroup)

Input Parameters

Table C-27 describes the input parameters.

Table C-27 createSpGroupByType Input Parameters

Parameter Name Type Description

slaType

xsd:string

The SLA type to update.

Use:

  • service_provider

  • system:geo_service_provider

  • service_provider_node

  • a custom SLA type ID

For information on the different types, see ”Managing SLAs” in Services Gatekeeper Accounts and SLAs Guide.

spGroupId

xsd:string

ID of the Service Provider Group ID.

spGroup

tns1:SpGroup

A data structure describing the group. See "SpGroup".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

deleteSpGroup

Deletes a Service Provider Group. All Service Provider Accounts associated with the group must be removed before it can be deleted

Method Signature

deleteSpGroup(spGroupId)

Where spGroupId is the ID of the group.

Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if there are Service Provider accounts associated with the group.

moveSpToGroup

Associates a Service Provider Account with a Service Provider Group.

Method Signature

moveSpToGroup(spAccountId, spGroupId)

Input Parameters

Table C-28 describes the input parameters.

Table C-28 moveSpToGroup Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

spGroupId

xsd:string

The ID of the Service provider Group.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if any of the accounts does not exist.

getSpGroupId

Retrieves the ID of the Service Provider Group for a given Service Provider Account.

Method Signature

getSpGroupId(spAccountId)

Where spAccountId is the ID of the group.

Return Parameters

Returns the ID of the service provider group as a string.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the account does not exist.

updateSpGroupByType

Updates a Service Provider Group with a new SLA.

Method Signature

updateSpGroupByType(slaType, spGroupId, spGroup)

Input Parameters

Table C-29 describes the input parameters.

Table C-29 updateSpGroupByType Input Parameters

Parameter Name Type Description

slaType

xsd:String

The SLA type to update.

Use:

  • service_provider

  • system:geo_service_provider

  • service_provider_node

  • a custom SLA type ID

For information on the different types, see ”Managing SLAs” in Services Gatekeeper Accounts and SLAs Guide.

spGroupId

xsd:string

The ID of the group.

spGroup

tns1:SpGroup

The Service Provider-level SLA, and CRM/PRM application-defined properties in the form of name-value pairs. See "SpGroup".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if group does not exist or if the SLA contains errors.

listAppInstGroups

Lists all Application Instances for a given combination of Service Provider Account and Application Account. Filtering is possible on the state of the Application Instance

Method Signature

listAppInstGroups(spAccountId, appAccountId, state)

Input Parameters

Table C-30 describes the input parameters.

Table C-30 listAppInstGroups Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account. Use null to not filter on this parameter.

appAccountId

xsd:string

The ID of the Application Account. Use null to not filter on this parameter.

state

tns1:State

Indicates which states to filter the result on. See "State".


Return Parameters

Returns a data structure containing a references to the Application Instance. See "AppInstGroupRef".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

getAppInstGroup

Retrieves details about a specific Application Instance.

Method Signature

getAppInstGroup(spAccountId, appAccountId, appInstGroupId)

Input Parameters

Table C-31 describes the input parameters.

Table C-31 getAppInstGroup Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance.


Return Parameters

Returns a data structure with details about the Application Instance. See "AppInstGroup".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

getAppInstGroupState

Gets the state of specific Application Instance.

Method Signature

getAppInstGroupState(spAccountId, appAccountId, appInstGroupId)

Input Parameters

Table C-32 describes the input parameters.

Table C-32 getAppInstGroupState Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance.


Return Parameters

Returns the state of the Application Instance. See "State".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

registerAppInstGroupReq

Requests registration of an Application Instance for a specific combination of a Service Provider Account and Application Account. When this request has been approved (see "registerAppInstGroupRes") the newly registered application has all the credentials necessary to be authenticated on the traffic interfaces of the Services Gatekeeper.

Method Signature

registerAppInstGroupReq(spAccountId, appAccountId, appInstGroupId, appInstGroup, password)

Input Parameters

Table C-33 describes the input parameters.

Table C-33 registerAppInstGroupReq Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance to be registered.

appInstGroup

tns1:AppInstGroup

CRM/PRM application-defined properties in the form of name-value pairs.

password

xsd:string

The password the newly created Application Instance will use when authenticating on the Services Gatekeeper


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired or there are communication problems with the underlying platform.

deleteAppInstGroupReq

Requests deletion of an Application Instance. The Application Instance must be in state INACTIVE in order for this call to be accepted. The request must be approved before the Application Instance is deleted. This is done using "deleteAppInstGroupRes".

Method Signature

deleteAppInstGroupReq(spAccountId, appAccountId, appInstGroupId)

Input Parameters

Table C-34 describes the input parameters.

Table C-34 deleteAppInstGroupReq Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account

appInstGroupId

xsd:string

The ID of the Application Instance


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if there is an SLA associated with the combination of Service Provider Accounts, Application Account, and Application Instance associated with the group.

  • INVALID_STATE: This exception is raised if the application is not in an INACTIVE state.

deleteAppInstGroupRes

Responds to a request for deleting an Application Instance for a specific combination of Service Provider Account and Application Account.

It is possible to approve or disapprove the request. Both cases triggers a state transition for the Application Instance. If approved, the Application Instance is deleted, and the Application Instance can no longer be used to authenticate to send the traffic to Services Gatekeeper.

Method Signature

deleteAppInstGroupRes(spAccountId, appAccountId, appInstGroupId)

Input Parameters

Table C-35 describes the input parameters.

Table C-35 deleteAppInstGroupRes Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account

appInstGroupId

xsd:string

The ID of the Application Instance


Return Parameters

See "RequestResponse" for details on the return parameters.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if there is an SLA associated with the combination of Service Provider Accounts, Application Account, and Application Instance associated with the group.

  • INVALID_STATE: This exception is raised if the application is not in an INACTIVE state.

updateAppInstGroup

Updates an Application Instance Group with new data.

Method Signature

updateAppInstGroup(spAccountId, appAccountId, appInstGroupId, appInstGroup)

Input Parameters

Table C-36 describes the input parameters.

Table C-36 updateAppInstGroup Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account

appInstGroupId

xsd:string

The ID of the Application Instance

appInstGroup

tns1:AppInstGroup

A data-structure with the Application Instance SLA and application-defined properties in the form of name-value pairs. See "AppInstGroup".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if group does not exist or if the SLA contains errors.

updateAppInstGroupRes

Responds to a request for updating Application Instance for a specific combination of Service Provider Account and Application Account.

It is possible to approve or disapprove the request. Both cases trigger a state transition for the Application Instance to state ACTIVE. If approved, the Application Instance is updated with the new information.

Method Signature

updateAppInstGroupRes(spAccountId, appAccountId, appInstGroupId)

Input Parameters

Table C-37 describes the input parameters.

Table C-37 updateAppInstGroupRes Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account

appInstGroupId

xsd:string

The ID of the Application Instance


Return Parameters

See "RequestResponse" for details on the return parameters.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if group does not exist or if the SLA contains errors.

getUpdatePendingAppInstGroup

Gets details about an specific Application Instance that is in state UPDATE_PENDING. The details include CRM/PRM application-defined properties in the form of name-value pairs.

Method Signature

getUpdatePendingAppInstGroup(spAccountId, appAccountId, appInstGroupId)

Input Parameters

Table C-38 describes the input parameters.

Table C-38 getUpdatePendingAppInstGroup Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account

appInstGroupId

xsd:string

The ID of the Application Instance


Return Parameters

Returns CRM/PRM application-defined properties in the form of name-value pairs. See "AppInstGroup".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if group does not exist or if the SLA contains errors.

  • INVALID_STATE: This exception is raised if the application is not in an INACTIVE state.

setAppInstGroupPassword

Sets the password associated with an Application Instance. This password is a part of the credentials an application uses to authenticate to send traffic to Services Gatekeeper.

Method Signature

setAppInstGroupPassword(spAccountId, appAccountId, appInstGroupId, newPassowrd)

Input Parameters

Table C-39 describes the input parameters.

Table C-39 setAppInstGroupPassword Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account

appInstGroupId

xsd:string

The ID of the Application Instance

newPassword

xsd:string

The new password.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if group does not exist or if the SLA contains errors.

unlockAppInstGroup

Unlock a locked Application Instance Group. The group may have been locked by too many faulty login attempts to the traffic interfaces exposed by the Services Gatekeeper.

Method Signature

unlockAppInstGroup(spAccountId, appAccountId, appInstGroupId)

Input Parameters

Table C-40 describes the input parameters.

Table C-40 unlockAppInstGroup Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account

appInstGroupId

xsd:string

The ID of the Application Instance


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if group does not exist or if the SLA contains errors.

activateSpAccount

Activates a Service Provider Account, which changes the state of the account to ACTIVE.

Method Signature

activateSpAccount(spAccountId)

Input Parameters

Table C-41 describes the input parameters.

Table C-41 activateSpAccount Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the account does not exist.

  • INVALID_STATE: Exception thrown if the Service Provider Account is not in an appropriate state to allow the account to be activated.

deactivateSpAccount

Deactivates a a Service Provider Account, which changes the state of the account to inactive.

Method Signature

deactivateSpAccount(spAccountId)

Input Parameters

Table C-42 describes the input parameters.

Table C-42 deactivateSpAccount Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the account does not exist.

  • INVALID_STATE: Exception thrown if the Service Provider Account is not in an appropriate state to allow the account to be deactivated.

getSpAccount

Retrieves details about a specific Service Provider Account. The details include contact details and CRM/PRM application-defined properties in the form of name-value pairs.

Method Signature

getSpAccount(spAccountId)

Input Parameters

Table C-43 describes the input parameters.

Table C-43 getSpAccount Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.


Return Parameters

Returns a structure with details on the Service Provider account. See "SpAccount".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the account does not exist.

getSpAccountState

Retrieves the state of a specific Service Provider Account.

Method Signature

getSpAccountState(spAccountId)

Input Parameters

Table C-44 describes the input parameters.

Table C-44 getSpAccountState Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.


Return Parameters

Returns information on the state of the Service Provider account. See "State".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the account does not exist.

registerAppAccountReq

Requests registration for an Application Account for a specific Service Provider Account. When this request has been approved by the Operator (see "registerAppAccountRes") the Application Account can be associated with an Application Account Group and an Application Instance.

Method Signature

registerAppAccountReq(spAccountId, appAccountId, appAccount)

Input Parameters

Table C-45 describes the input parameters.

Table C-45 registerAppAccountReq Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.

appAccount

tns1:AppAccount

A data structure with details on the Application Account, including CRM/PRM application-defined properties in the form of name-value pairs. See "AppAccount".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

  • INVALID_STATE: This exception is raised if the application is in an invalid state.

registerAppAccountRes

Responds to a request to register an Application Account for a specific Service Provider Account. An Application Account Group is also associated with the Application Account.

It is possible to approve or disapprove the request. Both cases trigger a state transition for the Application Account. If approved, the Application Account is transferred into state ACTIVE. If Disapproved, the Application Account is deleted.

Method Signature

registerAppAccountRes(spAccountId, appAccountId, appGroupId, appAccountRef)

Input Parameters

Table C-46 describes the input parameters.

Table C-46 registerAppAccountRes Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.

appGroupId

xsd:string

The ID of the Application Account Group to be associate with the Application Account.

appAccountRef

xsd:string

Internal ID of the Application Account. This ID is used to correlate the Application Account ID with an Operator-internal ID.


Return Parameters

See "RequestResponse" for details on the return parameters.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

  • INVALID_STATE: This exception is raised if the application is in an invalid state.

updateAppAccountRes

Responds to a request to update an Application Account for a specific Service Provider.

It is possible to approve or disapprove the request. Both cases trigger a state transition for the Application Account state to Active. If approved, the Application Account is updated with the new information.

Method Signature

updateAppAccountRes(spAccountId, appAccountId)

Input Parameters

Table C-47 describes the input parameters.

Table C-47 updateAppAccountRes Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.


Return Parameters

See "RequestResponse" for details on the return parameters.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

  • INVALID_STATE: Exception thrown if the status of the Application Account is not in state UPDATE_PENDING.

getUpdatePendingAppAccount

Gets details about pending update requests for a specific combination of Service Provider and Application Account. The details includes descriptions and CRM/PRM application-defined properties in the form of name-value pairs. Valid only for Application Accounts in state UPDATE_PENDING.

Method Signature

getUpdatePendingAppAccount(spAccountId, appAccountId)

Input Parameters

Table C-48 describes the input parameters.

Table C-48 getUpdatePendingAppAccount Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.


Return Parameters

Returns a data structure describing the Application Account. See "AppAccount".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

  • INVALID_STATE: Exception thrown if the status of the Application Account is not in state UPDATE_PENDING.

deleteAppAccountReq

Requests the deletion of an Application Account. In order to be deleted, there must be no Application Instance associated with the combination of Service Provider Account and Application Account. The request must be approved before the Application Account is deleted, which is done using "deleteAppAccountRes". The Application Account must be in state INACTIVE in order for this call to be accepted.

Method Signature

deleteAppAccountReq(spAccountId, appAccountId)

Input Parameters

Table C-49 describes the input parameters.

Table C-49 deleteAppAccountReq Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Application account does not exist.

  • INVALID_STATE: Exception thrown if the status of the Application Account is not in state INACTIVE.

deleteAppAccountRes

Responds to a request to delete an Application Account for a specific Service Provider Account. The Application Account must be in state DELETE_PENDING in order for this call to be accepted.

It is possible to approve or disapprove the request. Both cases trigger a state transition for the Application Account. If approved, the Application Account is simply deleted. If Disapproved, the Application Account is transferred into state INACTIVE.

Method Signature

deleteAppAccountRes(spAccountId, appAccountId)

Input Parameters

Table C-50 describes the input parameters.

Table C-50 deleteAppAccountRes Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Application account does not exist.

  • INVALID_STATE: Exception thrown if the status of the Application Account is not in state DELETE_PENDING.

updateAppAccount

Updates an Application Account with new data.

Method Signature

updateAppAccount(spAccountId, appAccountId)

Input Parameters

Table C-51 describes the input parameters.

Table C-51 updateAppAccount Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.

appAccount

tns1:AppAccount

Data structure with details on the Application Account, including CRM/PRM application-defined properties in the form of name-value pairs. See "AppAccount".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Application account does not exist.

  • INVALID_STATE: Exception thrown if the status of the Application Account is in an invalid state.

getAppAccount

Retrieves details about a specific Application Account. The return includes a data structure with details on the Application Account, including CRM/PRM application-defined properties in the form of name-value pairs.

Method Signature

getAppAccount(spAccountId, appAccountId)

Input Parameters

Table C-52 describes the input parameters.

Table C-52 getAppAccount Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.


Return Parameters

Returns a data structure with details about the Application Account. See "AppAccount".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Application account does not exist.

getAppAccountState

Retrieves the state of a specific Application Account.

Method Signature

getAppAccountState(spAccountId, appAccountId)

Input Parameters

Table C-53 describes the input parameters.

Table C-53 getAppAccountState Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.


Return Parameters

Returns information of the state of the Application Account. See "State".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Application account does not exist.

activateAppAccount

Activates an Application Account, which changes the state of the account to ACTIVE. The current state of the account must be INACTIVE.

Method Signature

activateAppAccount(spAccountId, appAccountId)

Input Parameters

Table C-54 describes the input parameters.

Table C-54 activateAppAccount Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Application account does not exist.

  • INVALID_STATE: Exception thrown if the state of the Application Account does not allow the account to be activated.

deactivateAppAccount

Deactivates an Application Account, which changes the state of the account to INACTIVE. The current state of the account must be ACTIVE.

Method Signature

deactivateAppAccount(spAccountId, appAccountId)

Input Parameters

Table C-55 describes the input parameters.

Table C-55 deactivateAppAccount Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Application account does not exist.

  • INVALID_STATE: Exception thrown if the state of the Application Account does not allow the account to be deactivated.

registerAppInstGroupRes

Responds to a request to register an Application Instance for a specific combination of a Service Provider Account and Application Group.

It is possible to approve or disapprove the request. Both cases trigger a state transition for the Application Instance. If approved, the Application Instance is transferred into state ACTIVE and the application can authenticate with the traffic interfaces exposed by Services Gatekeeper. If disapproved, the Application Instance is deleted.

Method Signature

registerAppInstGroupRes(spAccountId, appAccountId, appInstGroupId, appInstGroupRef, response)

Input Parameters

Table C-56 describes the input parameters.

Table C-56 registerAppInstGroupRes Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance.

appInstGroupRef

xsd:string

Internal ID of the Application Instance. This ID is used to correlate the Application Instance ID with an Operator-internal ID.

response

tns1:RequestResponse

The response to the request. See "RequestResponse".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Application instance does not exist.

  • INVALID_STATE: Exception thrown if the state of the Application instance is invalid.

activateAppInstGroup

Activates an Application Instance, which changes the state of the Instance to ACTIVE.

Method Signature

activateAppInstGroup(spAccountId, appAccountId, appInstGroupId)

Input Parameters

Table C-57 describes the input parameters.

Table C-57 activateAppInstGroup Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Application instance does not exist.

  • INVALID_STATE: Exception thrown if the state of the Application instance is invalid.

deactivateAppInstGroup

Deactivates an Application Instance, which changes the state of the Instance to INACTIVE.

Method Signature

deactivateAppInstGroup(spAccountId, appAccountId, appInstGroupId)

Input Parameters

Table C-58 describes the input parameters.

Table C-58 deactivateAppInstGroup Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.

appInstGroupId

xsd:string

The ID of the Application Instance.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Application instance does not exist.

  • INVALID_STATE: Exception thrown if the state of the Application instance does not allow the account to be deactivated.

registerSpAccountReq

Requests registration for a Service Provider Account. Contact details are supplied in the request, together with CRM/PRM application-defined properties. This request must be approved by the Operator (see "registerAppAccountRes").

Method Signature

registerSpAccountReq(spAccountId, appAccountId, password)

Input Parameters

Table C-59 describes the input parameters.

Table C-59 registerSpAccountReq Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

appAccountId

xsd:string

The ID of the Application Account.

password

xsd:string

The password the Service Provider will use when authenticating to the Service Provider part of the Partner Relationship Management interface.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

  • INVALID_STATE: Exception thrown if the Service Provider account is not in the correct state.

listAppAccounts

Lists all Application Account IDs for a specific Service Provider. The result is filtered on the state of the Application Account.

Method Signature

listAppAccounts(spAccountId, state)

Input Parameters

Table C-60 describes the input parameters.

Table C-60 listAppAccounts Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

state

tns1:State

Input parameter. Indicates the state on which to filter the result. See "State".


Return Parameters

Returns an array containing references to Application Account Groups. See "AppAccountRef".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if no Application account IDs exist.

listSpAccounts

Lists all Service Provider Account IDs. The result is filtered on the state of state of the Service Provider Account.

Method Signature

listAppAccounts(state)

Input Parameters

Table C-61 describes the input parameters.

Table C-61 listAppAccounts Input Parameters

Parameter Name Type Description

state

tns1:State

Input parameter. Indicates the state on which to filter the result. See "State".


Return Parameters

Returns an array of Service Provider account IDs.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if no Service Provider accounts exist.

registerSpAccountRes

Responds to a request to register a Service Provider Account.

It is possible to approve or disapprove the request. Both cases trigger a state transition for the Service Provider Account. If approved, the Service Provider Account is transferred into state ACTIVE and the Service provider can authenticate with the PRM-SP Web Services. If Disapproved, the Service Provider Account is deleted.

Method Signature

registerSpAccountRes(spAccountId, spGroupId, spAcccountRef, response)

Input Parameters

Table C-62 describes the input parameters.

Table C-62 registerSpAccountRes Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

spGroupId

xsd:string

The ID of the Service Provider Group the Service Provider Account should be associated with.

spAccountRef

xsd:string

Internal ID of the Service Provider. This ID is used to correlate the Service Provider ID with an Operator-internal ID.

response

tns1:RequestResponse

The response to the request. See "RequestResponse".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

  • INVALID_STATE: Exception thrown if the status of the Service Provider account is not in state REGISTERED.

deleteSpAccountReq

Requests deletion of a Service Provider Account. In order to be deleted, the Service Provider Account must be state INACTIVE. The request must be approved before the Service Provider Account it is deleted. This is done using "deleteSpAccountRes".

Method Signature

deleteSpAccountReq(spAccountId)

Input Parameters

Table C-63 describes the input parameters.

Table C-63 deleteSpAccountReq Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

  • INVALID_STATE: Exception thrown if the status of the Service Provider account is not in state INACTIVE.

deleteSpAccountRes

Responds to a request to delete a Service Provider Account. The Service Provider Account must be in state DELETE_PENDING in order for this call to be accepted.

It is possible to approve or disapprove the request. Both cases trigger a state transition for the Service Provider Account. If approved, the Service Provider Account is simply deleted. If disapproved, the Service Provider Account is transferred into state INACTIVE.

Method Signature

deleteSpAccountRes(spAccountId, response)

Input Parameters

Table C-64 describes the input parameters.

Table C-64 deleteSpAccountRes Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

response

tns1:RequestResponse

The response to the request. See "RequestResponse".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

  • INVALID_STATE: Exception thrown if the status of the Service Provider account is not in state INACTIVE.

updateSpAccount

Updates a Service Provider Account with new data.

Method Signature

updateSpAccount(spAccountId, spAccount)

Input Parameters

Table C-65 describes the input parameters.

Table C-65 updateSpAccount Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

spAccount

tns1:SpAccount

Data structure with details on the Service Provider Account, including CRM/PRM application-defined properties in the form of name-value pairs. See "SpAccount".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

  • INVALID_STATE: Exception thrown if the Service Provider account is not in a valid state.

updateSpAccountRes

Responds to a request to update a Service Provider Account.

It is possible to approve or disapprove the request. Both cases trigger a state transition for the Service Provider Account to state ACTIVE. If approved, the Service Provider Account is updated with the new information.

Method Signature

updateSpAccountRes(spAccountId, response)

Input Parameters

Table C-66 describes the input parameters.

Table C-66 updateSpAccountRes Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

response

tns1:RequestResponse

The response to the request. See "RequestResponse".


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

  • INVALID_STATE: Exception thrown if the Service Provider account is in state INACTIVE.

getUpdatePendingSpAccount

Gets details about a specific Service Provider account that is in state UPDATE_PENDING. The details include contact information and CRM/PRM application-defined properties in the form of name-value pairs.

Method Signature

getUpdatePendingSpAccount(spAccountId)

Input Parameters

Table C-67 describes the input parameters.

Table C-67 getUpdatePendingSpAccount Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.


Return Parameters

Returns details about contact information and CRM/PRM application-defined properties in the form of name-value pairs. See "SpAccount".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

  • INVALID_STATE: Exception thrown if the Service Provider account is not in state UPDATE_PENDING.

setSpAccountPassword

Sets the password the Service Provider uses to authenticate to use the Partner Relationship Management Interface exposed by Services Gatekeeper.

Method Signature

setSpAccountPassword(spAccountId, newPassword)

Input Parameters

Table C-68 describes the input parameters.

Table C-68 setSpAccountPassword Input Parameters

Parameter Name Type Description

spAccountId

xsd:string

The ID of the Service Provider Account.

newPassword

xsd:string

The new password.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service Provider account does not exist.

changeOpAccountPassword

Changes the password the Operator uses to authenticate with the Partner Relationship Management Interface exposed by Services Gatekeeper. The Operator Account is the one the Operator is currently logged in as.

Method Signature

changeOpAccountPassword(oldPassword, newPassword)

Input Parameters

Table C-69 describes the input parameters.

Table C-69 changeOpAccountPassword Input Parameters

Parameter Name Type Description

oldPassword

xsd:string

The password to be changed.

newPassword

xsd:string

The new password.


Return Parameters

None

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Operator account does not exist.

getUserLevel

Retrieves the user level of the currently logged in Operator Account. Different user levels have different privileges, and are authorized to different sets of operations. This operation takes no input.

Method Signature

getUserLevel()

Input Parameters

This method takes no input.

Return Parameters

Returns the user level of the currently logged in Operator Account. See "UserLevel".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired (BC only) or there are communication problems with the underlying platform.

Data Types

These complex data types are used by this interface.

AppAccount

Table C-70 describes of an Application Account.

Table C-70 appAccount

Element name Data Type Description

name

xsd:string

Descriptive name of the Application Account.

description

xsd:string

Short description of the Application Account.

properties

impl:ArrayOf_tns1_Property

CRM/PRM application-defined name value pairs. See "Property".


AppAccountRef

Table C-71 lists the reference to the IDs of an Application Account.

Table C-71 AppInstGroupRef

Element name Data Type Description

spAccountId

xsd:string

ID of the Service Provider Account associated with the Application Account.

appAccountId

xsd:string

ID of the Application Account.


AppInstGroupRef

Table C-72 lists the reference to IDs of an Application Instance.

Table C-72 AppInstGroupRef

Element name Data Type Description

spAccountId

xsd:string

ID of the Service Provider Account associated with the Application Instance.

appAccountId

xsd:string

ID of the Application Account associated with the Application Instance.

appInstGroupId

xsd:string

ID of the Application Instance.


AppGroup

Table C-73 describes the container for Application-level SLA and CRM/PRM application-defined properties.

Table C-73 AppGroup

Element name Data Type Description

sla

xsd:string

The SLA for the Application Group.

properties

mpl:ArrayOf_tns1_Property

CRM/PRM application-defined properties. Name-value pairs. See "Property".


AppInstGroup

Table C-74 describes the container for Application Instance CRM/PRM application-defined properties.

Table C-74 AppInstGroup

Element name Data Type Description

name

xsd:string

Descriptive name of the Application Instance.

description

xsd:string

Short description of the Application Instance.

sla

xsd:string

The SLA for the Application Instance. Always set to 1.

properties

mpl:ArrayOf_tns1_Property

CRM/PRM application-defined properties. Name-value pairs. See "Property".


Property

Array of name-value pairs, as seen in Table C-75. This data type is used in several other data types specific to this interface. The properties are accessible from the Service Provider interface and the Operator interface, so they can be used to communicate information between them.

Table C-75 Property

Element name Data Type Description

name

xsd:string

Name of the property, with the value defined in Value. Unique with the array.

value

xsd:string

The data associated with Name.


RequestResponse

Table C-76 lists the numeration defining the operator's response to an request .

Table C-76 RequestResponse

Element name Data Type Description

APPROVE

xsd:string

Used when the operator approves the request.

DISAPPROVE

xsd:string

Used when the operator disapproves the request.


SpAccount

Table C-77 provides the description of a Service Provider Account, including contact details.

Table C-77 appAccount

Element name Data Type Description

name

xsd:string

Name of the Service Provider.

address

xsd:string

Address of the Service Provider.

eMailAddress

xsd:string

E-mail address of the Service Provider.

contactPerson

xsd:string

Contact person at the Service provider.

phoneNumber

xsd:string

Phone number to the Service Provider.

properties

mpl:ArrayOf_tns1_Property

CRM/PRM application-defined name value pairs. See "Property".


SpGroup

Table C-78 describes the container for Service Provider SLA and CRM/PRM application-defined properties.

Table C-78 SpGroup

Element name Data Type Description

sla

xsd:string

The SLA for the Service Provider.

properties

impl:ArrayOf_tns1_Property

CRM/PRM Application-defined properties. Name-value pairs. See "Property".


UserLevel

Table C-79 lists the enumeration defining the user level of the currently logged in Operator user.

The user level reflects the user levels defined for the operations and maintenance of Services Gatekeeper. Each operation performed by using the Partner Management Interface results in one or more standard OAM operations. The user level of the currently authenticated user must satisfy the user level necessary for each of these operations. If this is not the case, the operation performed through the Partner Management Interface is denied.

Table C-79 UserLevel

Element name Data Type Description

UNAUTHORIZED

xsd:string

The currently authenticated in user is not authorized to perform any OAM operations.

READ_ONLY

xsd:string

The currently authenticated user is authorized to perform OAM read- or get- operations.

READ_WRITE

xsd:string

The currently authenticated user is authorized to perform OAM write- or set- operations.

ADMINISTRATOR

xsd:string

The currently authenticated user is authorized to perform administrator OAM operations tasks


State

Table C-80 defines the state of a Service Provider Account, Service Provider Group, Application Account, Application Group, or Application Instance. Enumeration.

See "Account States" for more information about states, and transitions among different states.

Table C-80 State

Element name Data Type Description

REGISTERED

xsd:string

The account or group is has been registered. The registration request must be responded to by the Service Provider.

ACTIVE

xsd:string

Normal mode.

INACTIVE

N/A

No traffic is allowed through the Services Gatekeeper when the account or group is in this state.

UPDATE_PENDING

N/A

There is a pending update request. The request must be responded to by the Service Provider.

DELETE_PENDING

N/A

There is a pending delete request on the account or group. The request must be responded to by the Service Provider.

LOCKED

N/A

Only valid for an Application Instance. The group can be locked due to too many consecutive failed login attempts from an application.


Interface: SpCdrUtil

The Service Provider Utility Web Service allows the Service Provider to retrieve the Call Detail Records (CDRs) it has generated from Services Gatekeeper.

The endpoint for this interface is:

http://host:port/prm_sp/services/SpCdrUtil

where the value of host and port depend on the Services Gatekeeper deployment.

countCdrs

Counts the number of CDRs for a certain Service for a specified time interval.

Note:

A Service is the generic name for a Services Gatekeeper communication service, without regard for the Web Service version or the network plug-in being used. So, for example, the Service name for Parlay X 2.1 Third Party Call using Session Initiation Protocol (SIP) or Intelligent Network Application Part (INAP) or Parlay X 3.0 using Parlay 3.3 MultiProtocol Communication Controller (MPCC) is simply Third Party Call.

Method Signature

countCdrs(serviceName, fromDate, toDate, completionStatus, appAccountId)

Input Parameters

Table C-81 describes the input parameters.

Table C-81 countCdrs Input Parameters

Parameter Name Type Description

serviceName

xsd:string

The name of the Service for which to retrieve charge data records (CDRs). Use null to not filter on this parameter

fromDate

xsd:dateTime

From date and time. Use null to not filter on this parameter

toDate

xsd:dateTime

To date and time. Use null to not filter on this parameter.

completionStatus

tns1:CdrCompletionStatus

Completion status of the CDR. See "CdrCompletionStatus". Use null to not filter on this parameter.

appAccountId

xsd:string

ID of the Application Account to filter the result on. Use null to not filter on this parameter


Return Parameters

Returns the number of CDRs matching the given criteria.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service does not exist.

listCdrs

Retrieves all CDRs matching the given criteria.

Method Signature

listCdrs(serviceName, fromDate, toDate, completionStatus, appAccountId, startIndex, maxEntries)

Input Parameters

Table C-82 describes the input parameters.

Table C-82 listCdrs Input Parameters

Parameter Name Type Description

serviceName

xsd:string

The name of the Service for which to retrieve charge data records (CDRs). Use null to not filter on this parameter

fromDate

xsd:dateTime

From date and time. Use null to not filter on this parameter

toDate

xsd:dateTime

To date and time. Use null to not filter on this parameter.

completionStatus

tns1:CdrCompletionStatus

Completion status of the CDR. See "CdrCompletionStatus". Use null to not filter on this parameter.

appAccountId

xsd:string

ID of the Application Account to filter the result on. Use null to not filter on this parameter

startIndex

xsd:long

Input parameter. Which entry, in the overall result set, to start the result list on (cursor).

maxEntries

xsd:int

Input parameter. The maximum number of alarms returned.


Return Parameters

Returns a list of CDRS. See "CdrInfo".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service does not exist.

Data Types

These complex data types are used by this interface.

CdrInfo

Table C-83 lists the data structure defining a CDR. All services that produce charging data do not use all fields, and they use the fields in a slightly different, depending on the type of the service. See Services Gatekeeper Communication Service Reference Guide for details of which fields that are relevant for the different services.

Table C-83 CdrInfo

Element name Data Type Description

transactionId

xsd:long

The Services Gatekeeper transaction sequence number.

serviceName

xsd:string

The communication service whose use is being tracked

timeStamp

xsd:dateTime

The time at which the event was triggered (in milliseconds from midnight 1 January 1970)

origAddr

xsd:string

The address of the originating party.

destAddr

xsd:string

The address of the destination party.

spAccountD

xsd:string

The ID of the Service Provider that generated the CDR.

appAccountID

xsd:string

The ID of the Application Account that generated the CDR.

completionStatus

tns1:CdrCompletionStatus

Completion status of the CDR. See "CdrCompletionStatus".

info

xsd:string

Additional info provided by the communication service

additionalProperties

impl:ArrayOf_tns1_Property

Application defined data. See "CdrCompletionStatus".


CdrCompletionStatus

Table C-84 lists the enumeration defining the completion status of a CDR.

Table C-84 CdrCompletionStatus

Element name Data Type Description

COMPLETED

xsd:string

The operation generating the CDR succeeded.

FAILED

xsd:string

The operation generating the CDR failed.

PARTIAL

xsd:string

The operation generating the CDR succeeded partially. May be supported, depending on the communication service.

COMPLETED_NOTIFICATION_FAILED

xsd:string

The CDR is completed, but the notification was not delivered to the application.

POLICY_DENIED

xsd:string

Policy denied the operation.


Property

Table C-85 lists the array of name-value pairs.

Table C-85 Property

Element name Data Type Description

Name

xsd:string

Name of the property, with the value defined in Value. Unique within the array.

Value

xsd:string

The data associated with Name.


Interface: SpStatisticsUtil

The Service Provider Statistics Utility Web Service allows the Service Provider to retrieve the statistics it has generated from Services Gatekeeper.

The endpoint for this interface is:

http://host:port/prm_sp/services/SpStatisticsUtil

Where the value of host and port depend on the Services Gatekeeper deployment.

listStatisticTypes

Lists the statistics types registered in Services Gatekeeper. This operation takes no input parameters.

Method Signature

listStatisticTypes()

Input Parameters

This method takes no input.

Return Parameters

Returns the descriptions of the available statistics types. See "StatisticTypeDescriptor".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired (BC only) or there are communication problems with the underlying platform.

getStatistics

Retrieves statistics matching the given criteria.

Method Signature

getStatistics(statisticType, fromDate, toDate, appAccountId)

Input Parameters

Table C-86 describes the input parameters.

Table C-86 getStatistics Input Parameters

Parameter Name Type Description

statisticType

xsd:int

Number representing the type of statistics to retrieve. Use null to not filter on this parameter

fromDate

xsd:dateTime

From date and time. Use null to not filter on this parameter.

toDate

xsd:dateTime

To date and time. Use null to not filter on this parameter.

appAccountId

xsd:string

ID of the Application Account to filter the result on. Use null to not filter on this parameter.


Return Parameters

Returns statistics. See "StatisticsInfo".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired (BC only) or there are communication problems with the underlying platform.

Data Types

These complex data types are used by this interface.

StatisticsInfo

Table C-87 lists the data structure defining a statistics record.All services that produces statistics do not use all fields, and they use the fields in a slightly different, depending on the type of the service. See Services Gatekeeper Communication Service Reference Guide for details of which fields that are relevant for the different services.

Table C-87 StatisticsInfo

Element name Data Type Description

statisticsType

xsd:string

The statistics type. See WebLogic Product Description for information on available statistics types.

timeStampStart

xsd:dateTime

The starting time of the interval during which the statistics were gathered.

timeStampEnd

xsd:dateTime

The end time of the interval during which the statistics were gathered.

numberOfTransactions

xsd:int

The number of transactions during the interval.

spAccountD

xsd:string

The ID of the Service Provider that generated the statistics.

appAccountID

xsd:string

The ID of the Application Account that generated the statistics.


StatisticTypeDescriptor

Table C-88 describes the data structure that holds a description for each type of statistics.

Table C-88 StatisticTypeDescriptor

Element name Data Type Description

transactionTypeName

xsd:string

Name of a transaction type that statistics can be generated for.

transactionTypeID

xsd:int

Numeric ID of the transaction type.


Interface: OpCdrUtil

The Operator CDR Utility Web Service allows the Operator to retrieve call details records (CDRs) from Services Gatekeeper.

The endpoint for this interface is:

http://host:port/prm_op/services/OpCdrUtil

where the value of host and port depend on the Services Gatekeeper deployment.

OpCdrUtil Error Messages

This interface can generate these error messages:

  • listCdr failed

countCdrs

Counts the number of CDRs for a certain Service for a specified time interval

Note:

A Service is the generic name for a Services Gatekeeper communication service, without regard for the Web Service version or the network plug-in being used. So, for example, the Service name for Parlay X 2.1 Third Party Call using SIP or INAP or Parlay X 3.0 using Parlay 3.3 MPCC is simply Third Party Call.

Method Signature

countCdrs(serviceName, fromDate, toDate, completionStatus, spAccountId, appAccountId)

Input Parameters

Table C-89 describes the input parameters.

Table C-89 countCdrs Input Parameters

Parameter Name Type Description

serviceName

xsd:string

The name of the Service for which to retrieve charge data records (CDRs). Use null to not filter on this parameter

fromDate

xsd:dateTime

From date and time. Use null to not filter on this parameter

toDate

xsd:dateTime

To date and time. Use null to not filter on this parameter.

completionStatus

tns1:CdrCompletionStatus

Completion status of the CDR. See "CdrCompletionStatus". Use null to not filter on this parameter.

spAccountId

xsd:string

Input parameter. ID of the Service Provider Account to filter the result on. Use null to not filter on this parameter.

appAccountId

xsd:string

ID of the Application Account to filter the result on. Use null to not filter on this parameter


Return Parameters

Returns the number of CDRs matching the given criteria.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: Exception thrown if the Service does not exist.

listCdrs

Retrieves all CDRs matching the given criteria.

Method Signature

listCdrs(serviceName, fromDate, toDate, completionStatus, spAccountId, appAcountId, startIndex, maxEntries)

Input Parameters

Table C-90 describes the input parameters.

Table C-90 listCdrs Input Parameters

Parameter Name Type Description

serviceName

xsd:string

The name of the Service for which to retrieve CDRs. Use null to not filter on this parameter

fromDate

xsd:dateTime

From the date and time. Use null to not filter on this parameter

toDate

xsd:dateTime

To the date and time. Use null to not filter on this parameter.

completionStatus

tns1:CdrCompletionStatus

Completion status of the CDR.See "CdrCompletionStatus". Use null to not filter on this parameter.

spAccountId

xsd:string

ID of the Service Provider Account to filter the result on. Use null to not filter on this parameter.

appAccountId

xsd:string

ID of the Application Account to filter the result on. Use null to not filter on this parameter.

startIndex

xsd:long

Which entry, in the overall result set, to start the result list on (cursor).

maxEntries

xsd:int

The maximum number of alarms returned.


Return Parameters

Returns a list of CDRS. See "CdrInfo".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired (BC only) or there are communication problems with the underlying platform.

Data Types

These are complex data types used by this interface.

CdrInfo

Table C-91 describes the data structure defining a CDR. All services that produce charging data do not use all fields, and they use the fields slightly different, depending on the type of the service. See Services Gatekeeper Communication Service Reference Guidefor details of which fields that are relevant for the different services.

Table C-91 CdrInfo

Element name Data Type Description

transactionId

xsd:long

The Services Gatekeeper transaction sequence number

serviceName

xsd:string

The communication service whose use is being tracked

timeStamp

xsd:dateTime

The time at which the event was triggered (in milliseconds from midnight 1 January 1970

origAddr

xsd:string

The address of the originating party.

destAddr

xsd:string

The address of the destination party.

spAccountId

xsd:string

The ID of the Service Provider that generated the CDR.

appAccountId

xsd:string

The ID of the Application Account that generated the CDR.

completionStatus

tns1:CdrCompletionStatus

Completion status of the CDR. See "CdrCompletionStatus".

info

xsd:string

Additional info provided by the service capability module.

additionalProperties

impl:ArrayOf_tns1_Property

Application defined data. See "Property".


CdrCompletionStatus

Table C-92 lists the enumeration that defines the completion status of a CDR.

Table C-92 CdrCompletionStatus

Element name Data Type Description

COMPLETED

xsd:string

The operation generating the CDR succeeded.

FAILED

xsd:string

The operation generating the CDR failed

PARTIAL

xsd:string

The operation generating the CDR succeeded partially. May be supported, depending on the communication service.

COMPLETED_NOTIFICATION_FAILED

xsd:string

The CDR is completed, but the notification was not delivered to the application.

POLICY_DENIED

xsd:string

Policy denied the operation.


Property

Table C-93 describes the array of name-value pairs.

Table C-93 Property

Element name Data Type Description

Name

xsd:string

Name of the property, with the value defined in Value. Unique within the array.

Value

xsd:string

The data associated with Name.


Interface: OpStatisticsUtil

The Operator Statistics Utility Web Service allows the Operator to retrieve the statistics generated in Services Gatekeeper.

The endpoint for this interface is:

http://host:port/prm_op/services/OpStatisticsUtil

where the value for host and port depend on the Services Gatekeeper deployment.

OpStatisticsUtil Error Messages

This interface can generate these error messages

  • "getStatistics failed!"

  • "listStatisticTypes failed"

listStatisticTypes

Lists the statistics types registered in Services Gatekeeper. This operation takes no input.

Method Signature

listStatisticTypes()

Input Parameters

This method takes no input.

Return Parameters

Returns the descriptions of the available statistics types. See "StatisticTypeDescriptor".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired (BC only) or there are communication problems with the underlying platform.

getStatistics

Retrieve statistics matching the given criteria.

Method Signature

getStatistics(statisticType, fromDate, toDate, spAccountId, appAccountId)

Input Parameters

Table C-94 describes the input parameters.

Table C-94 getStatistics Input Parameters

Parameter Name Type Description

statisticType

xsd:int

Number representing the type of statistics to retrieve. Use null to not filter on this parameter

fromDate

xsd:dateTime

From date and time. Use null to not filter on this parameter.

toDate

xsd:dateTime

To date and time. Use null to not filter on this parameter.

spAccountId

xsd:string

Input parameter. ID of the Service Provider Account to filter the result on. Use null to not filter on this parameter

appAccountId

xsd:string

ID of the Application Account to filter the result on. Use null to not filter on this parameter.


Return Parameters

Returns statistics. See "StatisticsInfo".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired (BC only) or there are communication problems with the underlying platform.

Exceptions

This exception is thrown by this interface.

CommonException

This exception is raised when the login session has expired (BC only) or there are communication problems with the underlying platform.

Data Types

These complex data types are used by this interface.

StatisticsInfo

Table C-95 describes the data structure defining a statistics record. All services that produce statistics do not use all fields, and they use the fields slightly differently, depending on the type of the service.

Table C-95 StatisticsInfo

Element name Data Type Description

statisticsType

xsd:string

The statistics type.

timeStampStart

xsd:dateTime

The starting time of the interval during which the statistics were gathered.

timeStampEnd

xsd:dateTime

The end time of the interval during which the statistics were gathered.

numberOfTransactions

xsd:int

The number of transactions during the interval.

spAccountId

xsd:string

The ID of the Service Provider that generated the statistics.

appAccountId

xsd:string

The ID of the Application Account that generated the statistics.


StatisticTypeDescriptor

Table C-96 defines the type of statistics that can be generated.

Table C-96 StatisticTypeDescriptor

Element name Data Type Description

transactionTypeName

xsd:string

Name of a transaction type that statistics can be generated for.

transactionTypeId

xsd:int

Numeric ID of the transaction type.


Interface: OpAlarmUtil

The Operator Alarm Utility Web Service allows the Operator to retrieve alarms from Services Gatekeeper.

The endpoint for this interface is:

http://host:port/prm_op/services/OpAlarmUtil

where the value of host and port depend on the Services Gatekeeper deployment.

countAlarms

Counts the number of alarms of a certain type of a given severity for a specified time interval.

Method Signature

countAlarms(alarmId, severity, fromDate, toDate)

Input Parameters

Table C-97 describes the input parameters.

Table C-97 countAlarms Input Parameters

Parameter Name Type Description

alarmId

xsd:int

The ID of the type of alarm.

severity

tns1:AlarmSeverity

Severity of the alarm. See "AlarmSeverity". Use null to not filter on this parameter

fromDate

xsd:dateTime

Start date and time. Use null to not filter on this parameter.

toDate

xsd:dateTime

End date and time. Use null to not filter on this parameter.


Return Parameters

Returns the number of alarms.

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired (BC only) or there are communication problems with the underlying platform.

listAlarms

Retrieves all alarms matching the given criteria.

Method Signature

listAlarms(alarmId, severity, fromDate, toDate, startIndex, maxEntries)

Input Parameters

Table C-98 describes the input parameters.

Table C-98 listAlarms Input Parameters

Parameter Name Type Description

alarmId

xsd:int

The ID of the type of alarm.

severity

tns1:AlarmSeverity

Severity of the alarm. See "AlarmSeverity". Use null to not filter on this parameter.

fromDate

xsd:dateTime

From date and time.Use null to not filter on this parameter.

toDate

xsd:dateTime

To date and time. Use null to not filter on this parameter.

startIndex

xsd:long

Which entry, in the overall result set, to start the result list on (cursor).

maxEntries

xsd:int

The maximum number of alarms returned.


Return Parameters

Returns the list of alarms. See "AlarmInfo".

Exceptions

The possible exceptions are:

  • ACCESS_DENIED: Exceptions of this type are raised when the operation is not permitted. The user does not have the appropriate privilege level to perform the operation.

  • CommonException: This exception is raised when the login session has expired (BC only) or there are communication problems with the underlying platform.

Data Types

These complex data types are used by this interface.

AlarmInfo

Table C-99 describes the data structure defining an alarm.

Table C-99 AlarmInfo

Element name Data Type Description

alarmInstanceId

xsd:long

The ID of the emitted alarm. Unique identifier for an emitted alarm.

alarmId

xsd:int

The identifier for the alarm type.

source

xsd:string

Specifies the name of the software module that raised the alarm and the IP address of the server the service is installed in.

severity

tns1:AlarmSeverity

Specifies the alarm's severity level. See "AlarmSeverity".

timeStamp

xsd:dateTime

Specifies the time and date the alarm was raised.

info

xsd:string

Alarm information provided by the software module the raised the alarm.

additional_info

xsd:string

Additional information depending on context.


AlarmSeverity

Table C-100 defines the severity of an alarm.

Table C-100 AlarmSeverity

Element name Data Type Description

WARNING

xsd:string

Severity level is Warning.

MINOR

xsd:string

Severity level is Minor.

MAJOR

xsd:string

Severity level is Major.

CRITICAL

xsd:string

Severity level is Critical.