Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...


Excerpt

 It removes one or multiple subscription installed items from a specific subscription

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

subscription

String

The token retrieved from the login method

subscription_identifier

(semi-optional)

Subscription identifier

The subscription to be modified. The allowed subscription identifier fields are the following:

Include Page
V4:subscription_identifier
V4:subscription_identifier

Tip

For releases prior to CRM.COM R13.0.0 the subscription_identifier is mandatory


accounts_receivable_identifier

(semi-optional)

Subscription identifier
Accounts Receivable Identifier

The

subscription to be modified

accounts receivable identifier that can be used to perform the subscription modification. The allowed

subscription

accounts receivable identifier fields are the

following: Include PageV4:subscription_identifierV4:subscription_identifier TipFor releases prior to

following:

Include Page
V4:accounts_receivable_identifier_post
V4:accounts_receivable_identifier_post

Note

The ability to use the accounts_receivable_identifier instead of the subscription_identifier is applicable only when the specified Accounts Receivable owns only one Subscription


Tip

Available from CRM.COM R13.0.0

the subscription_identifier is mandatoryaccounts_receivable


action_type_identifier

(

semi-

optional)

Accounts Receivable Identifier
Subscription action type identifier

The

accounts receivable identifier that can

action type that should be used

to perform the subscription modification

. The allowed

accounts receivable

subscription action type identifier fields are the following:

Include Page
V4:

accounts

subscription_action_

receivable

type_identifier

_post

V4:

accounts

subscription_

receivable

action_

identifier_post NoteThe ability to use the accounts_receivable_identifier instead of the subscription_identifier is applicable only when the specified Accounts Receivable owns only one Subscription

type_identifier

Tip
Available

Deprecated from CRM.COM

R13

R15.0.0


sub_action_type_identifier

(optional)

Subscription sub action type identifier

The sub action type that should be used. The allowed subscription sub action type identifier fields are the following:

Include Page
V4:subscription_sub_action_type_identifier
V4:subscription_sub_action_type_identifier

Tip

Deprecated from CRM.COM R15.0.0

sub_action


classification_

type_

identifier

(optional)

Subscription
sub action type identifier
Action Classification Identifier

The

sub action type that should be used

subscription action's classification. The allowed subscription

sub

action

type

classification identifier fields are the following:

Include Page
V4:subscription_

sub_

action_

type

classification_identifier
V4:subscription_

sub_

action_

type

classification_identifier

Tip
Deprecated

Available from CRM.COM

R15

R18.0.0


transaction_reference_number

(optional)

String

The transaction reference number of the performed subscription action. The transaction reference number is unique against already submitted subscription actions.

Tip

Available from CRM.COM R13.0.0


performed_by_user_identifier

(optional)

User identifier

The user that actually performed the action. The allowed user identifier fields are the following:

Include Page
V4:user_identifier
V4:

user

user_identifier

performed_by_unit_identifier

(optional)

Unit Identifier

The unit that performed the action. The allowed unit identifier fields are the following:

Include Page
V4:unit_identifier
V4:

user

unit_identifier

Tip

Available from CRM.COM R14.0.0

Deprecated from CRM.COM R18.0.0


performed_by_business_unit_identifier

(optional)

Business Unit Identifier

The business unit that performed the action. The allowed business unit identifier fields are the following:

Include Page
V4:business_unit_identifier
V4:business_unit_identifier

Tip

Available

from

 from CRM.COM

R14

R18.0.0


performed_on

(optional)

DateThe date that the action was actually performed

require_verification

(optional)

Boolean

Determines whether the Subscription Action will be fulfilled through a Job

Tip

Available from CRM.COM R15.1.0


udf_string_1 

(optional)

String

User Defined Field of type String

udf_string_2 

(optional)

String

User Defined Field of type String

udf_string_3 

(optional)

String

User Defined Field of type String

udf_string_4 

(optional)

String

User Defined Field of type String

udf_string_5

(optional)

String

User Defined Field of type String

udf_string_6 

(optional)

String

User Defined Field of type String

udf_string_7

(optional)

String

User Defined Field of type String

udf_string_8

(optional)

String

User Defined Field of type String

udf_float_1

(optional)

Float

User Defined Field of type Float

udf_float_2

(optional)

Float

User Defined Field of type Float

udf_float_3

(optional)

Float

User Defined Field of type Float

udf_float_4

(optional)

Float

User Defined Field of type Float

udf_date_1 

(optional)

Date

User Defined Field of type Date

udf_date_2 

(optional)

Date

User Defined Field of type Date

udf_date_3

(optional)

Date

User Defined Field of type Date

udf_date_4

(optional)

Date

User Defined Field of type Date

installed_items_set

(optional)

Set of subscription installed item objectsThe installed items that should be added on the subscription

fields_set

(optional)

List of Strings, comma separated

A list of fields that should be included in the results. If not specified then all the available fields will be returned

TipAvailable from CRM.COM R10.0.0

Anchor
installed_items_add referred objects parameters
installed_items_add referred objects parameters
Referred Parameter Objects Data

Include Page
V4:existing_subscription_installed_item_parameter
V4:existing_subscription_installed_item_parameter
 


Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

...

Expand
titleExample 1

HTTP Method: POST 


Request:

Body:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
    "token":"FFB8A25C40DE45BCA437F01B6D2F1FAF",
    "subscription_identifier":{"number":"S60225"},
    "action_type_identifier":{"name":"Remove Hardware"},
    "sub_action_type_identifier":{"name":"Remove Installed Item"},
    "performed_by_user_identifier":{"username":"JackH"},
    "performed_on":"2014-07-16T05:07:41",
    "installed_items_set":
    [
        {
            "installed_item_identifier":{"serial_number":"SC1-000A-0006"}
        }
    ]
}


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "action_type":
        {
            "name": "Remove Hardware",
            "id": "CCAD5B2B6AB4BA8082DE3274D436DAD0",
            "alternative_code": "RH"
        },
        "submitted_on": "2015-02-26T11:19:55",
        "sub_action_type":
        {
            "name": "Remove Installed Item",
            "id": "13",
            "alternative_code": null
        },
        "business_classification_code": "REMOVE_INSTALLED_ITEM",
        "number": "352",
        "executed_on": "2015-02-26T11:19:56",
        "life_cycle_state": "EXECUTED",
        "performed_by":
        {
            "person_name": "Jack Hadjicosti",
            "username": "JackH",
            "id": "B8650C555C4EA8C741103961276E7773",
            "email": "j_hadjicosti@crm.com"
        },
        "behavior_code": "REMOVE_INSTALLED_ITEM",
        "submitted_by":
        {
            "person_name": "Marios Lannister",
            "username": "MPAdministrator",
            "id": "1"
        },
        "id": "08C4D6B63DEB4EF988E8D6F6C5367B3B",
        "subscription":
        {
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Xenofontos ",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": "Iatrou",
                    "company_profile": null,
                    "title": "Mr",
                    "type": "PERSON",
                    "first_name": "Kyriacos",
                    "name": "Kyriacos Xenofontos",
                    "id": "31260911295E70BB660EBEB0C4F941AC",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": "MALE",
                        "passport_issued_by_country":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "passport_number": "3463463",
                        "social_security_number": "73473567",
                        "country_of_residence":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "industry_sector": null,
                        "date_of_birth":
                        {
                            "month": 5,
                            "day": 6,
                            "year": 1988
                        },
                        "name_day":
                        {
                            "month": 5,
                            "day": 3
                        },
                        "id_number": "87878000",
                        "id_issued_by_country":
                        {
                            "name": "UNITED KINGDOM",
                            "id": "126"
                        },
                        "industry": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "195",
                "name": "Xenofontos",
                "id": "5B51429862A7BCBAD60CC81982BBD45B"
            },
            "life_cycle_state": "EFFECTIVE",
            "number": "S60225",
            "type":
            {
                "name": "London",
                "id": "3100B0D56E7C7EADF073C34BCE1E42AF",
                "description": "For Subscribers residing in London
",
                "alternative_code": "LND"
            },
            "id": "681905183544B0E30834B67A1AC8F634"
        },
        "performed_on": "2014-07-16T05:07:41"
    }
}


...