Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

It regrets one or multiple effective, not effective or in resting subscription services from a specific subscription

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

subscription_identifier

(semi-optional)

...


Excerpt

It regrets one or multiple effective, not effective or in resting subscription services from a specific subscription

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
For releases prior to

Deprecated from CRM.COM

R13

R15.0.0

the subscription_identifier is mandatoryaccounts_receivable_


classification_identifier

(

semi-

optional)

Accounts Receivable
Subscription Action Classification Identifier

The

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

subscription action's classification. The allowed

accounts receivable

subscription action classification identifier fields are the following:

Include Page
V4:

accounts

subscription_action_

receivable

classification_identifier

_post

V4:

accounts

subscription_action_

receivable

classification_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

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

action


performed_by_

type

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

user_

action_type_

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


performed_by_business_

user

unit_identifier

(optional)

User identifier The user that actually
Business Unit Identifier

The business unit that performed the action. The allowed

user

business unit identifier fields are the following:

Include Page
V4:

user

business_unit_identifier
V4:

user

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

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
when the subscription services that are
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 should be billed by the billing engine.billable_period_start
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


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

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


require_verification

(optional)

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

Determines whether the Subscription Action will be fulfilled through a Job

Tip

Available from CRM.COM

R5

R15.

0

 

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

services_set

(mandatory)

Set of subscription service objectsThe services that will be regretted from 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

Tip

Available from CRM.COM R10.0.0


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

...

Expand
titleExample 1

HTTP Method: POST

 


Request:

Body:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
	"token":"4B19B26D35A24CD7AD8836575D6CD92A",
	"subscription_identifier":{"number":"S60148"},
	"action_type_identifier": {"alternative_code"  : "RS"},
	"performed_by_user_identifier":{"username":"JackH"},
	"performed_on":"2014-07-16T05:07:41",
	"billing_effective_date" : "2014-07-16T05:07:41",
	"billable_period_start_date":"2014-07-16T05:07:44",
	"services_set": 
	[
		{
			"service_identifier":{"code":"Local + Documentaries + Int."}
		}
	]
}


Response:

Code Block
languagejavascript
themeConfluencelanguagejavascript
linenumberstrue
{
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "action_type":
        {
            "name": "remove service",
            "id": "9D9999EAF79FDFB2C0AD91AC17474215",
            "alternative_code": "RS"
        },
        "submitted_on": "2014-07-16T11:14:03",
        "sub_action_type":
        {
            "name": "Regret Service",
            "id": "D6E75D03E64D8B56E237772492BE0A7C",
            "alternative_code": "RS"
        },
        "business_classification_code": "REGRET_SERVICE",
        "number": "417",
        "executed_on": "2014-07-16T11:14:19",
        "life_cycle_state": "EXECUTED",
        "performed_by":
        {
            "person_name": "Jack Hadjicosti",
            "username": "JackH",
            "id": "B8650C555C4EA8C741103961276E7773",
            "email": "j_hadjicosti@crm.com"
        },
        "behavior_code": "REMOVE_SERVICE",
        "submitted_by":
        {
            "person_name": "Jack Hadjicosti",
            "username": "JackH",
            "id": "B8650C555C4EA8C741103961276E7773",
            "email": null
        },
        "id": "AC1CC2E9EE68A6EF2DA9355D52D4CF55",
        "subscription":
        {
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Johnson",
                    "middle_name": null,
                    "company_profile": null,
                    "type": "PERSON",
                    "first_name": "Peter",
                    "name": "Peter Johnson",
                    "id": "C73D1572FEA76C37A08945ECE4DECC98",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": "MALE",
                        "passport_issued_by_country": null,
                        "passport_number": "7839023",
                        "social_security_number": "98374",
                        "country_of_residence":
                        {
                            "name": "CYPRUS",
                            "id": "181"
                        },
                        "industry_sector":
                        {
                            "name": "GOVERNMENTAL",
                            "id": "A9BDEBD4D8FAEDB0BACE40C041156D12"
                        },
                        "date_of_birth":
                        {
                            "month": 4,
                            "day": 6,
                            "year": 1985
                        },
                        "name_day":
                        {
                            "month": 6,
                            "day": 29
                        },
                        "id_number": "984783",
                        "id_issued_by_country":
                        {
                            "name": "CYPRUS",
                            "id": "181"
                        },
                        "industry": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "192",
                "name": "Peter Johnson Premium",
                "id": "2C5FC6F615FA9E798487AC0C293ECCE6"
            },
            "life_cycle_state": "EFFECTIVE",
            "number": "S60148",
            "type":
            {
                "name": "Anniversary Subscription",
                "id": "0A5316647B8BD6364168BB897B3C828B",
                "description": null,
                "alternative_code": "ANSUB"
            },
            "id": "8BEB9582645E9DA6CB8A4D0589B59D37"
        },
        "performed_on": "2014-07-16T05:07:41"
    }
}


...