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 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)

Accounts Receivable Identifier

The accounts receivable identifier that can be used to perform the subscription modification. The allowed accounts receivable identifier fields are the 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

...

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 method

subscription

R13.0.0


action_type_identifier

(

semi-

optional)

Subscription action type identifier

The

subscription to be modified

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

Include Page
V4:subscription_action_type_identifier
V4:subscription_action_type_identifier

Tip
For releases prior to

Deprecated from CRM.COM

R13

R15.0.0

the subscription_identifier is mandatoryaccounts_receivable


sub_action_type_identifier

(

semi-

optional)

Accounts Receivable IdentifierThe accounts receivable identifier that can be used to perform the subscription modification. The allowed accounts receivable
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:

accounts_receivable

subscription_sub_action_type_identifier

_post

V4:

accounts

subscription_

receivable

sub_

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

action_type_identifier

Tip
Available

Deprecated from CRM.COM

R13

R15.0.0

action_type


classification_identifier

(optional)

Subscription
action type identifier
Action Classification Identifier

The

action type that should be used

subscription action's classification. The allowed subscription action

type

classification identifier fields are the following:

Include Page
V4:subscription_action_

type

classification_identifier
V4:subscription_action_

type_identifiersub_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)

Subscription sub action type
User identifier

The

sub action type that should be used

user that actually performed the action. The allowed

subscription sub action type

user identifier fields are the following:

Include Page
V4:

subscription_sub_action_type_

user_identifier
V4:

subscription

user_

sub

identifier

performed_

action

by_

type

unit_identifier

transaction_reference_number

(optional)

String
Unit Identifier

The

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

 

TipAvailable

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

Include Page
V4:unit_identifier
V4:unit_identifier

Tip

Available from CRM.COM R14.0.0

Deprecated from CRM.COM

R13

R18.0.0


performed_by_business_

user The user that actually

unit_identifier

(optional)

User identifier
Business Unit Identifier

The business unit that performed the action. The allowed

user

business unit identifier fields are the following:

Include Page
V4:

user_identifierV4:user_identifier

business_unit_identifier
V4:business_unit_identifier

Tip

Available from CRM.COM R18.0.0


performed_on

(optional)

Date
 The
The 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)

Date
 Determines
Determines 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

Available from CRM.COM R5.0.0

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.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"
    }
} 


...