Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

It removes one or multiple draft subscription services from a specific subscription

...

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

subscription_identifier

(semi-optional)

...


Excerpt

It removes one or multiple draft 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

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

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

(

semi-

optional)

Accounts Receivable Identifier
User identifier

The

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

user that actually performed the action. The allowed

accounts receivable

user 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

Tip

Available from CRM.COM R13.0.0

action_type

user_identifier
V4:user_identifier

performed_by_unit_identifier

(optional)

Subscription action type identifier
Unit Identifier

The

action type that should be used

unit that performed the action. The allowed

subscription action type

unit identifier fields are the following:

Include Page

V4:subscription_action_type_identifierV4:subscription_action_type_identifiersub_action_type

V4:unit_identifier
V4:unit_identifier

Tip

Available from CRM.COM R14.0.0

Deprecated from CRM.COM R18.0.0


performed_by_business_unit_identifier

(optional)

Subscription sub action type identifier
Business Unit Identifier

The

sub action type that should be used

business unit that performed the action. The allowed

subscription sub action type

business unit identifier fields are the following:

Include Page
V4:

subscription_sub_action_type_identifierV4:subscription_sub_action_type

business_unit_identifier

transaction

V4:business_

reference

unit_

number

(optional)

String

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

 

identifier

Tip

Available

from

 from CRM.COM

R13

R18.0.0


performed_

by_user_identifier Include PageV4:user_identifierV4:user_identifierperformed_on

on

(optional)

DateThe date that the action was actually performed

scheduled_date

(optional)

User identifier

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

scheduled_date

(optional)

DateThe date that the action is scheduled to be executed. If not specified then the action will be executed immediately
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 The date that the action was actually performed
Boolean

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

R5

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

services_set

(mandatory)

Set of subscription service objectsThe services that will be removed 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_remove_draft referred objects parameters
services_remove_draft 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":"S60147"},
	"action_type_identifier": {"alternative_code":"RS"},
	"sub_action_type_identifier": {"alternative_code":"UAS"},
	"performed_by_user_identifier":{"username":"JackH"},
	"performed_on":"2014-07-15T05:07:41",
	"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-16T10:58:02",
        "sub_action_type":
        {
            "name": "Undo add Service",
            "id": "D90DFCD309A12DCDDD5E46501D8DB51F",
            "alternative_code": "UAS"
        },
        "business_classification_code": "UNDO_ADD_SERVICE",
        "number": "415",
        "executed_on": "2014-07-16T10:58:03",
        "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": "2C128CEC2628C3528903BB21856C824D",
        "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": "DRAFT",
            "number": "S60147",
            "type":
            {
                "name": "Anniversary Subscription",
                "id": "0A5316647B8BD6364168BB897B3C828B",
                "description": null,
                "alternative_code": "ANSUB"
            },
            "id": "374DBEB9E269C1C810375C4266ACAAAF"
        },
        "performed_on": "2014-07-15T05:07:41"
    }
}


...