Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

 

Excerpt

This method is setting an effective, not effective subscription in resting. 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)

...


Excerpt

This method is setting an effective, not effective subscription in resting. 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 R13.0.0


action_type_identifier

(optional)

Subscription action type identifier

The 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

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


classification_identifier

(optional)

Subscription Action Classification Identifier

The subscription action's classification. The allowed subscription action classification identifier fields are the following:

Include Page
V4:subscription_action_classification_identifier
V4:subscription_action_classification_identifier

Tip
For releases prior to

Available from CRM.COM

R13

R18.0.0


transaction_reference_number

(optional)

String

The transaction reference number of the

subscription_identifier is mandatoryaccounts_receivable_identifier

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

Tip

Available from CRM.COM R13.0.0


end_resting_on

(semi-optional)

Accounts Receivable Identifier
DateThe
accounts receivable identifier that can be used to perform the subscription modification. The allowed accounts receivable identifier fields are the following: Include PageV4: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

Tip

Available from CRM.COM R13.0.0

action_type
date that the resting period should end. End resting on date is mandatory unless end resting after specific days is specified. It is not allowed to specify both information

end_resting_after_specific_days

(semi-optional)

NumberIt defines the date that the resting period should end, based on the date that the subscription will go into resting and the specified number of days. End resting after specific days is mandatory unless end resting on date is specified. It is not allowed to specify both information

performed_by_user_identifier

(optional)

Subscription action type
User identifier

The

action type that should be used

user that actually performed the action. The allowed

subscription action type

user identifier fields are the following:

Include Page
V4:

subscription_action_type

user_identifier
V4:

subscription

user_

action_type_

identifier

sub

performed_

action

by_

type

unit_identifier

(optional)

Subscription sub action type identifier
Unit Identifier

The

sub action type that should be used

unit that performed the action. The allowed

subscription sub action type

unit identifier fields are the following:

Include Page
V4:

subscription_sub_action_type

unit_identifier
V4:

subscription_sub_action_type_identifier

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.

 

TipAvailable

unit_identifier

Tip

Available from CRM.COM R14.0.0

Deprecated from CRM.COM

R13

R18.0.0

end_resting_on


performed_by_business_unit_identifier

(

semi-

optional)

Date
Business Unit Identifier

The

date

business unit that performed the

resting period should end. End resting on date is mandatory unless end resting after specific days is specified. It is not allowed to specify both information

end_resting_after_specific_days

(semi-optional)

NumberIt defines the date that the resting period should end, based on the date that the subscription will go into resting and the specified number of days. End resting after specific days is mandatory unless end resting on date is specified. It is not allowed to specify both information

performed_by_user_identifier

(optional)

User identifier

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

Include PageV4:user_identifierV4:user_identifierperformed_onbilling_effective

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

Include Page
V4:business_unit_identifier
V4:business_unit_identifier

Tip

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

Date
 The date that the action was actually performedbillable_period_start
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
Determines when the subscription services that are affected by the subscription action should be billed by the billing engine.

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


use_proposed_scheduled_date

(optional)

Date
Boolean
 Determines

Defines whether 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

 

scheduled date automatically calculated and proposed by the system based on business rules, will be automatically set as the subscription's scheduled date or not. Applicable only if the subscription action includes a scheduled date and only if this scheduled date does not meet the business rules.

Tip

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

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


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
themeConfluence
languagejavascript
linenumberstrue
 {
  "token":"5670CE2B647ED0AB2AEE7A3CB3A6BBDA",
  "subscription_identifier":{"number":"S60055"},
  "end_resting_after_specific_days":3,
}


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
 
      {
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "action_type": null,
        "submitted_on": "2015-01-08T12:58:48",
        "sub_action_type": null,
        "business_classification_code": "REST_SUBSCRIPTION",
        "number": "170",
        "executed_on": "2015-01-08T12:58:48",
        "life_cycle_state": "EXECUTED",
        "performed_by":
        {
            "person_name": "Marios Lannister",
            "username": "MPAdministrator",
            "id": "1",
            "email": null
        },
        "behavior_code": "REST_SUBSCRIPTION",
        "submitted_by":
        {
            "person_name": "Marios Lannister",
            "username": "MPAdministrator",
            "id": "1",
            "email": null
        },
        "id": "029F9A665195BA727BA60823ADB066C4",
        "subscription":
        {
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Vrikkis",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": null,
                    "company_profile": null,
                    "title": "Mr",
                    "type": "PERSON",
                    "first_name": "Nikos",
                    "name": "Nikos Vrikkis",
                    "id": "E129EFE1236D24644350B8A263ECC23D",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": "MALE",
                        "passport_issued_by_country": null,
                        "passport_number": "54673457543",
                        "social_security_number": "5467357",
                        "country_of_residence":
                        {
                            "name": "JAPAN",
                            "id": "237"
                        },
                        "industry_sector": null,
                        "date_of_birth":
                        {
                            "month": null,
                            "day": null,
                            "year": null
                        },
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "id_number": "835667",
                        "id_issued_by_country": null,
                        "industry": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "79",
                "name": "Nikos Vrikkis",
                "id": "A59E791DCF07FC9D96CD4BA4DAFAE381"
            },
            "life_cycle_state": "IN_RESTING",
            "number": "S60055",
            "type":
            {
                "name": "Normal Subscription",
                "id": "6BB2B984CC9309775D06650C7493A836",
                "description": null,
                "alternative_code": "ST"
            },
            "id": "A60B45D48F24CE3C1099FEB5D4FCEC2E"
        },
        "performed_on": "2015-01-08T12:58:39"
    }
}


...