Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...


Excerpt

This method is changing the subscriber owning a specific subscription, to a new or existing accounts receivable owned by a different customer. The method can be applied on a single subscription only

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from

the login methodsubscription

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 Page
V4:

subscription

accounts_receivable_identifier

V4:subscription_identifier TipFor releases prior to

_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_receivable_identifier_postV4: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

TipAvailable

subscription_action_type_identifier
V4:subscription_action_type_identifier

Tip

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

sub_action_type_

Tip

Deprecated from CRM.COM R15.0.0


classification_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

Available from CRM.COM 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_identifier

performed_by_

user

unit_identifier

(optional)

User identifier
Unit Identifier

The

user

unit that

actually

performed the action. The allowed

user

unit identifier fields are the following:

Include Page
V4:

user

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

billing_effective_date

(optional)

DateDetermines when the subscription services that are affected by the subscription action should be billed by the billing engine.

billable_period_start_date

(optional)

DateDetermines the start date of the billable period of each subscription service  (it answers to the question “from which date should I start billing this service) that is affected by the subscription action.

scheduled_date

(optional)

Date

The date that the action is scheduled to be executed. If not specified then the action will be executed immediately

Tip

Deprecated from CRM.COM R12.1.0. Such actions should never be scheduled even from CRM.COM R5.0.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

accounts_receivable

(mandatory)

Accounts Receivable ObjectThe accounts receivable that should own the subscription.

subscription_address

(mandatory)

Address object  

The address of the subscription to be created

Tip

From CRM.COM R14.

2

3.0, Subscription Address is mandatory based on the Accounts Receivable Definitions' Billing Address Rules


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

 


Tip

Available from CRM.COM R10.0.0


Anchor
change_subscriber parameters
change_subscriber parameters
Referred Parameter Objects Data

...

Expand
titleExample 1

HTTP Method: POST

 


Request:

Body:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
    "token":"6F48ACCAB4FC6628C52F4DDE1EE0559E",
    
    "subscription_identifier":{"number":"S60243"},
    "accounts_receivable":{
            "action":"EXISTING",
            "accounts_receivable_identifier":{
                "number":"4"
            }
    },
	"subscription_address":{
                    "action":"EXISTING",
                    "type":"SAMEASBILLINGADDRESS"
    }
} 


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "action_type": null,
        "submitted_on": "2014-12-31T10:08:38",
        "sub_action_type": null,
        "business_classification_code": "CHANGE_SUBSCRIBER",
        "number": "129",
        "executed_on": "2014-12-31T10:08:40",
        "life_cycle_state": "EXECUTED",
        "performed_by":
        {
            "person_name": "Marios Lannister",
            "username": "MPAdministrator",
            "id": "1",
            "email": null
        },
        "behavior_code": "CHANGE_SUBSCRIBER_ACCOUNT",
        "submitted_by":
        {
            "person_name": "Marios Lannister",
            "username": "MPAdministrator",
            "id": "1",
            "email": null
        },
        "id": "574A4A027F88DA0D07BE3A3359BB4B66",
        "subscription":
        {
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Lannister",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "company_profile": null,
                    "title": "Mr",
                    "type": "PERSON",
                    "first_name": "Marios",
                    "name": "Marios Lannister",
                    "id": "F60EF6A65658F86B3DFADA3809BD85C4",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": "MALE",
                        "passport_issued_by_country": null,
                        "passport_number": null,
                        "social_security_number": null,
                        "country_of_residence":
                        {
                            "name": "CAMEROON",
                            "id": "164"
                        },
                        "industry_sector": null,
                        "date_of_birth":
                        {
                            "month": 5,
                            "day": 1,
                            "year": 1963
                        },
                        "name_day":
                        {
                            "month": 5,
                            "day": 1
                        },
                        "id_number": "593664",
                        "id_issued_by_country":
                        {
                            "name": "CYPRUS",
                            "id": "181"
                        },
                        "industry": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "4",
                "name": "mar",
                "id": "5C7045E4DCE86FE0670CEE3A32437227"
            },
            "life_cycle_state": "DRAFT",
            "number": "S60243",
            "type":
            {
                "name": "Test Sub",
                "id": "C2FEA2C046FC3A28F98173D1CD98BA09",
                "description": null,
                "alternative_code": "TS"
            },
            "id": "F609D1E4FDD4E083478B45DCF9DC210A"
        },
        "performed_on": "2014-12-31T10:08:34"
    }
} 


...