...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
...
This method is deactivating an effective subscription. 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)
...
The subscription to be modified. The allowed subscription identifier fields are the following:
...
Tip |
---|
For releases prior to CRM.COM R13.0.0 the subscription_identifier is mandatory |
...
accounts_receivable_identifier
(semi-optional)
...
The accounts receivable identifier that can be used to perform the subscription modification. The allowed accounts receivable identifier fields are the following:
...
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)
...
The action type that should be used. The allowed subscription action type identifier fields are the following:
...
sub_action_type_identifier
(optional)
...
The sub action type that should be used. The allowed subscription sub action type identifier fields are the following:
...
transaction_reference_number
(optional)
...
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)
...
The user that actually performed the action. The allowed user identifier fields are the following:
...
performed_by_unit_identifier
(optional)
...
The unit that performed the action. The allowed unit identifier fields are the following:
...
Tip |
---|
Available from CRM.COM R14.0.0 |
...
billing_effective_date
(optional)
...
billable_period_start_date
(optional)
...
scheduled_date
(optional)
...
The date that the action is scheduled to be executed. If not specified then the action will be executed immediately
...
udf_string_1
(optional)
...
User Defined Field of type String
...
udf_string_2
(optional)
...
User Defined Field of type String
...
udf_string_3
(optional)
...
User Defined Field of type String
...
udf_string_4
(optional)
...
User Defined Field of type String
...
udf_string_5
(optional)
...
User Defined Field of type String
...
udf_string_6
(optional)
...
User Defined Field of type String
...
udf_string_7
(optional)
...
User Defined Field of type String
...
udf_string_8
(optional)
...
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.
Response Data
...
Examples
...
HTTP Method: POST
Request:
Body:
Code Block |
---|
theme | Confluence |
---|
language | javascript |
---|
linenumbers | true |
---|
|
{
"token":"FF129D2E08124E2AA268C946DFDAE23E",
"subscription_identifier" : {"number" : "S60058"},
"action_type_identifier": {"name" : "Deactivate subscribers"},
"sub_action_type_identifier": {"name":"Deactivation"},
"scheduled_date": "2015-03-15T15:49:59"
} |
Response:
...
theme | Confluence |
---|
language | javascript |
---|
linenumbers | true |
---|
...
Excerpt |
---|
This method is deactivating an effective subscription. 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 |
---|
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_unit_identifier (optional) | Unit Identifier | The 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 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 CRM.COM R18.0.0 |
|
performed_on (optional) | Date | The date that the action was actually performed |
billing_effective_date (optional) | Date | Determines 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 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
|
use_proposed_scheduled_date (optional) | 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 R15.0.0 |
|
require_verification (optional) | Boolean | Determines whether the Subscription Action will be fulfilled through a Job Tip |
---|
Available from CRM.COM R15.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 |
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.
Response Data
Include Page |
---|
| V4:subscription_action_short |
---|
| V4:subscription_action_short |
---|
|
Examples
Expand |
---|
|
HTTP Method: POST
Request: Body: Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
linenumbers | true |
---|
| {
"token":"FF129D2E08124E2AA268C946DFDAE23E",
"subscription_identifier" : {"number" : "S60058"},
"action_type_identifier": {"name" : "Deactivate subscribers"},
"sub_action_type_identifier": {"name":"Deactivation"},
"scheduled_date": "2015-03-15T15:49:59"
} |
Response: Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
linenumbers | true |
---|
| {
"status":
{
"message": null,
"description": null,
"code": "OK"
},
"data":
{
"scheduled_date": "2015-03-15T15:49:59",
"action_type":
{
"name": "Deactivate subscribers",
"id": "C61522563EAEBEDC5E44114BEBFCC8AC",
"alternative_code": "00302"
},
"submitted_on": "2015-03-10T18:26:43",
"sub_action_type":
{
"name": "Deactivation",
"id": "4812DDB00F0940144053FA6B67AA4080",
"alternative_code": "00303"
},
"business_classification_code": "DEACTIVATE_SUBSCRIPTION",
"number": "721",
"executed_on": null,
"life_cycle_state": "SCHEDULED",
"performed_by":
{
"person_name": "Marios Lannister",
"username": "mpadministrator",
"id": "1"
},
"behavior_code": "DEACTIVATE_SUBSCRIPTION",
"submitted_by":
{
"person_name": "Marios Lannister",
"username": "mpadministrator",
"id": "1"
},
"id": "66FC63054A3E43AC951A99823ACA8B6A",
"subscription":
{
"accounts_receivable":
{
"account_owner":
{
"last_name": "Kuriakou",
"life_cycle_state": "FINANCIAL",
"middle_name": null,
"company_profile": null,
"title": null,
"type": "PERSON",
"first_name": "Kakos",
"name": "Kakos Kuriakou",
"id": "0C93319EC1B536ED3A9EF3D2C21F1342",
"company_name": null,
"demographics":
{
"gender": null,
"passport_issued_by_country": null,
"passport_number": null,
"social_security_number": null,
"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": null,
"id_issued_by_country": null,
"industry": null
}
},
"life_cycle_state": "ACTIVE",
"number": "82",
"messagename": null"Kuriakou",
"description": null, "codeid": "OKC977389E2F7BCAA0047BC6ADC2F8D2E2"
}, "data": },
{ "scheduledlife_cycle_datestate": "2015-03-15T15:49:59EFFECTIVE",
"action_type": {"number": "S60058",
"nametype":
"Deactivate subscribers", {
"id": "C61522563EAEBEDC5E44114BEBFCC8AC", "alternative_codename": "00302Normal Subscription",
}, "submitted_onid": "2015-03-10T18:26:43",6BB2B984CC9309775D06650C7493A836",
"sub_action_typedescription": null,
{ "namealternative_code": "Deactivation"ST"
},
"id": "4812DDB00F0940144053FA6B67AA4080",C8E3D014A8FAE4D352CDBDE30F7CC877"
},
"alternativeperformed_codeon": "003032015-03-10T18:26:43"
},
}
} |
|
Expand |
---|
|
HTTP Method: POST
Request: Body: Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
linenumbers | true |
---|
| {
"business_classification_codetoken": "DEACTIVATE_SUBSCRIPTIONFF129D2E08124E2AA268C946DFDAE23E",
"subscription_identifier" : {"number" : "721S60948"},
"executedfields_onset": null,
"life_cycle_state": "SCHEDULED",
"number,action_type,performed_by,sub_action_type,subscription,job",
"performedscheduled_bydate": "2016-09-15T15:49:59"
} |
Response: Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
linenumbers | true |
---|
| {
"status": {
"person_name"message": "Marios Lannister",
"usernamedescription": "mpadministrator",
"idcode": "1"
OK"
},
"data": {
"behavioraction_codetype": "DEACTIVATE_SUBSCRIPTION"null,
"sub_action_type": null,
"submittedperformed_by": null,
"number": "4331",
{"job": null,
"subscription": {
"personlife_cycle_namestate": "Marios LannisterEFFECTIVE",
"accounts_receivable": {
"usernameaccount_owner": "mpadministrator",
{
"idlast_name": "1Tz",
}"middle_name": null,
"id "life_cycle_state": "66FC63054A3E43AC951A99823ACA8B6AFINANCIAL",
"subscriptioncompany_profile": {
null,
"accounts_receivabletitle": null,
{
"first_name": "Ek",
"account_ownertype": "PERSON",
"id": "15D4F07E221E44088CDE00A96DB1A250",
{ "name": "Tz Ek",
"lastcompany_name": "Kuriakou"null,
"demographics": {
"life_cycle_stategender": "FINANCIAL"null,
"passport_issued_by_country": null,
"middlesocial_security_namenumber": null,
"companypassport_profilenumber": null"18181818",
"industry_sector": null,
"title": null, "country_of_residence": {
"typethree_character_code": "PERSONCYP",
"firsttwo_character_namecode": "KakosCY",
"nameid": "Kakos Kuriakou181",
"idname": "0C93319EC1B536ED3A9EF3D2C21F1342CYPRUS",
"companyalternative_namecode": null,
},
"demographics": "name_day": {
{ "month": null,
"genderday": null,
},
"passportdate_issuedof_by_countrybirth": null,{
"month": null,
"passport_number": null, "day": null,
"social_security_numberyear": null,
},
"countryid_of_residencenumber": null,
"industry": null,
"id_issued_by_country": null
{ }
},
"name"life_cycle_state": "JAPANACTIVE",
"number": "ACR000929",
"id": "0DA7BAB9909E49828BB84079AA588AF8",
"idname": "237ACR000929"
},
"number": "S60948",
"type": {
}, "id": "D433A85FB6CD4880A1BCEEB1E164EFA4",
"name": "London",
"industry_sectordescription": null,
"Subscription for London customers",
"alternative_code": "LND"
},
"date_of_birthid": "F6E57574F61B406B974FFFE2E091B0C5",
"first_activated_date": "2016-06-09T15:01:03",
"rating_state": "PENDING"
}
}
{} |
|
Expand |
---|
|
HTTP Method: POST
Request: Body: Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
linenumbers | true |
---|
| {
"token": {{token}},
"subscription_identifier": {
"number" : "S0000000008"
},
"monthaction_type_identifier": null,{
"name": "Deactivate Normal Subscriptions"
},
"sub_action_type_identifier": {
"name": "Deactivate Normal Subscription"day":
null, },
"performed_by_unit_identifier": {
"alternative_code": "UC"
}
} |
Response: Code Block |
---|
language | javascript |
---|
theme | Confluence |
---|
linenumbers | true |
---|
| {
"yeardata": null{
"performed_by": null,
"action_type": {
}, "alternative_code": "DNS",
"name_day": "Deactivate Normal Subscriptions",
{"id": "FD2D0EE314F9492788A13FFDBA482793"
},
"transaction_reference_number": null,
"monthsubmitted_by": null,{
"person_name": "CRM COM",
"id": "day1":,
null "username": "MPAdministrator"
},
}, "executed_on": "2017-09-21T11:20:19",
"life_cycle_state": "EXECUTED",
"id_numbersubscription": {
null, "number": "S0000000008",
"idfirst_issuedactivated_by_countrydate": null,"2016-02-09T13:15:55",
"rating_state": "PENDING",
"industryaccounts_receivable": null{
"number": "ACR0000000009",
} "name": "NOVO CASA FOR }PREPAID",
"life_cycle_stateid": "ACTIVE67432618BF6B4D8099452E750A239750",
"number "life_cycle_state": "82ACTIVE",
"nameaccount_owner": "Kuriakou", {
"idcompany_profile": "C977389E2F7BCAA0047BC6ADC2F8D2E2"{
}, "lifetax_cyclereference_statenumber": "EFFECTIVEav123443556",
"number": "S60058", "typeregistered_in_country": null,
{ "name"number_of_employees": "Normal Subscription"null,
"id": "6BB2B984CC9309775D06650C7493A836", "annual_turnover": null,
"description": null, "alternativeprofile_codeyear": "ST"2000,
}, "idregistration_number": "C8E3D014A8FAE4D352CDBDE30F7CC877"sda21w123123",
}, "performedvat_registration_onnumber": "2015-03-10T18:26:43"2312321321",
}
} |
|
Expand |
---|
|
HTTP Method: POST Request: Body: Code Block |
---|
theme | Confluence |
---|
language | javascript |
---|
linenumbers | true |
---|
| { "tokenindustry_sector":"FF129D2E08124E2AA268C946DFDAE23E", null,
"subscription_identifier" : {"number" : "S60948"}, "fields_setindustry":"number,action_type,performed_by,sub_action_type,subscription,job", null,
"scheduledestablished_date": "2016-09-15T15:49:59"
} |
Response: Code Block |
---|
theme | Confluence |
---|
language | javascript |
---|
linenumbers | true |
---|
| {
"status": { null,
"messagevat_registered_by": ""null,
"description": "", "code": "OK" }, "data": { "actionvat_registration_typedate": null,
"sub_action_type": null, "performed_by": null, "number": "4331", },
"job": null, "subscription": { "lifecompany_cycle_statename": "EFFECTIVENOVO CASA",
"accounts_receivable": { "account_ownername": {"NOVO CASA",
"last_name": "Tz", "middlelast_name": null,
"life_cycle_state": "FINANCIAL", "company_profileid": null"76F9993673024885966C7B0B4DA20E29",
"title": null, "firstlife_cycle_namestate": "EkFINANCIAL",
"type": "PERSON", "idmiddle_name": "15D4F07E221E44088CDE00A96DB1A250"null,
"name": "Tz Ek", "company_nametitle": null,
"demographics": { "type": "COMPANY",
"gender": null, "passport_issued_by_countryfirst_name": null,
"social_security_numberdemographics": null,
"passport_number": "18181818", }
"industry_sector": null },
"country_of_residenceid": {
"57C9FA9E11DF47EAA6D9B0BD8FDD6280",
"threelife_charactercycle_codestate": "CYPNOT_EFFECTIVE",
"two_character_codetype": "CY",{
"idalternative_code": "181normalsub",
"name": "CYPRUSNormal",
"alternative_codedescription": null
,
}, "name_day"id": {"D1BAE6454A2248189EBCD7ADD3B4B65F"
}
"month": null, },
"dayscheduled_date": null"2017-09-21T11:20:19",
},
"performed_on": null,
"datesub_ofaction_birthtype": {
"monthalternative_code": null"DNS",
"dayname": null,"Deactivate Normal Subscription",
"yearid": "F0EF31A63E934F32A3C181C0395C9536"
null },
}, "business_classification_code": "DEACTIVATE_SUBSCRIPTION",
"id_number": null,
"24259",
"industrysubmitted_on": null,
"2017-09-21T11:20:19",
"id_issued_by_country": null"38A341A830EC4B9B80FC8B5A93E941A8",
}
}"job": null,
"lifebehavior_cycle_statecode": "ACTIVEDEACTIVATE_SUBSCRIPTION",
"numberperformed_by_unit": "ACR000929", {
"idalternative_code": "0DA7BAB9909E49828BB84079AA588AF8UC",
"group_name": "ACR000929Group C",
}, "numbercommunity_name": "S60948Community C",
"type": { "idname": "D433A85FB6CD4880A1BCEEB1E164EFA4Unit C",
"namedescription": "London",null,
"descriptionid": "Subscription79D99D242650451DBFB5AD5858D405FB"
for London customers", }
"alternative_code": "LND"},
"status": {
}, "idcode": "F6E57574F61B406B974FFFE2E091B0C5OK",
"first_activated_date "description": "2016-06-09T15:01:03",
"rating_statemessage": "PENDING"
} }
} |
|