subscriptionmatching.pinnedsubscription

Description

Provides the namespace for operations on Pinned Subscriptions

Namespace:

subscriptionmatching.pinnedsubscription

Method: create

Description:

Creates a Pinned Subscription based on given subscription and system

Parameters:

  • string sessionKey - Session token, issued at login

  • int subscriptionId - Subscription Id

  • int systemId - System Id

Returns:

  • * struct - pinned subscription

    • int "id"

    • int "subscription_id"

    • int "system_id"

Method: delete

Description:

Deletes Pinned Subscription with given id

Parameters:

  • string sessionKey - Session token, issued at login

  • int pinnedSubscriptionId - Pinned Subscription id

Returns:

  • int - 1 on success, exception thrown otherwise.

Method: list

Description:

Lists all PinnedSubscriptions

Parameters:

  • string sessionKey - Session token, issued at login

Returns:

  • array :

  • struct - pinned subscription

    • int "id"

    • int "subscription_id"

    • int "system_id"