Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

This method is ending the short term deactivation period of a specific subscription. This method can be applied only on subscription in Short Term Not Effective life cycle state. 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:

Name

Type

Description

id 

(semi-optional)

String

The ID of subscription

number 

(semi-optional)

String

The number of subscription

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:

Name

Type

Description

id

(semi-optional)

String

The ID of the subscription action type

name

(semi-optional)

String

The name of the subscription action type

alternative_code

(semi-optional)

String

The alternative code of  the subscription action type

...

sub_action_type_identifier

(optional)

...

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

Name

Type

Description

id

(semi-optional)

String

The ID of the subscription sub action type

name

(semi-optional)

String

The name of the subscription sub action type

alternative_code

(semi-optional)

String

The alternative code of  the subscription sub action type

...

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

(optional)

...


Excerpt

This method is ending the short term deactivation period of a specific subscription. This method can be applied only on subscription in Short Term Not Effective life cycle state. 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:

Name

Type

Description

id 

(semi-optional)

String

The ID of subscription

number 

(semi-optional)

String

The number of subscription


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:

unit

accounts_receivable_identifier_post
V4:

unit

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

R14

R13.0.0

performed


action_type_

on

identifier

(optional)

Date
Subscription action type identifier

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)

DateDetermines 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

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

...

Examples

...

titleExample 1

HTTP Method: POST

Request:

Body:

Code Block
themeConfluence
languagejavascript
linenumberstrue
 {
  "token":"DA8FB67A8BDB47F2B7FEC75F289526DD",
  "subscription_identifier":{"number":"S60113"}
}

Response:

...

themeConfluence
languagejavascript
linenumberstrue

...

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

Name

Type

Description

id

(semi-optional)

String

The ID of the subscription action type

name

(semi-optional)

String

The name of the subscription action type

alternative_code

(semi-optional)

String

The alternative code of  the subscription action type


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:

Name

Type

Description

id

(semi-optional)

String

The ID of the subscription sub action type

name

(semi-optional)

String

The name of the subscription sub action type

alternative_code

(semi-optional)

String

The alternative code of  the subscription sub action type


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


payment_gateway_card_identifier

(optional)

Payment Gateway Card Identifier

The payment gateway card that will be used to post a payment against the accounts receivable of the subscription. Applicable and required only for Subscriptions following the "Pay before bill" payment model. The applicable payment gateway card identifier fields are the following:

Include Page
V4:payment_gateway_card_identifier
V4:payment_gateway_card_identifier

Tip

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

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)

DateDetermines 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

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

HTTP Method: POST

Request:

Body:

Code Block
languagejavascript
themeConfluence
linenumberstrue
 {
  "token":"DA8FB67A8BDB47F2B7FEC75F289526DD",
  "subscription_identifier":{"number":"S60113"}
}


Response:

Code Block
languagejavascript
themeConfluence
linenumberstrue
 
      {
    "status":
    {
        "message": null,
        "description": null,
        "code": "OK"
    },
    "data":
    {
        "scheduled_date": "2015-04-24T15:38:48",
        "action_type": null,
        "submitted_on": "2015-04-24T15:38:48",
        "sub_action_type": null,
        "business_classification_code": "END_SHORT_TERM_DEACTIVATION",
        "number": "956",
        "executed_on": "2015-04-24T15:38:53",
        "life_cycle_state": "EXECUTED",
        "performed_by":
        {
            "person_name": "Marios Lannister",
            "username": "MPAdministrator",
            "id": "1"
        },
        "behavior_code": "END_SHORT_TERM_DEACTIVATION",
        "submitted_by":
        {
            "person_name": "Marios Lannister",
            "username": "MPAdministrator",
            "id": "1"
        },
        "id": "B12BB869D7CA4A26A98BA53D24FBAC3B",
        "subscription":
        {
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Pickman",
                    "life_cycle_state": "FINANCIAL",
                    "middle_name": "Li",
                    "company_profile": null,
                    "title": "Mr",
                    "type": "PERSON",
                    "first_name": "Jessie",
                    "name": "Jessie Pickman",
                    "id": "F9A629E466B1EF473CECD46F2A4D63F3",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": "MALE",
                        "passport_issued_by_country":
                        {
                            "name": "UNITED STATES",
                            "id": "127"
                        },
                        "passport_number": "54567432",
                        "social_security_number": "434567",
                        "country_of_residence":
                        {
                            "name": "UNITED STATES",
                            "id": "127"
                        },
                        "industry_sector":
                        {
                            "name": "FINANCIALS",
                            "id": "03EA93890F51506ABD9E994CD826EC78",
                            "alternative_code": "FIN"
                        },
                        "date_of_birth":
                        {
                            "month": 11,
                            "day": 1,
                            "year": 1988
                        },
                        "name_day":
                        {
                            "month": 4,
                            "day": 2
                        },
                        "codeid_number": "OK983452",
    },      "data":     {         "scheduled_dateid_issued_by_country": "2015-04-24T15:38:48",
           "action_type": null,         "submitted_on": "2015-04-24T15:38:48",  {
      "sub_action_type": null,         "business_classification_code": "END_SHORT_TERM_DEACTIVATION",            "numbername": "956UNITED STATES",
        "executed_on": "2015-04-24T15:38:53",         "life_cycle_state": "EXECUTED",         "performed_byid": "127"
       {             "person_name": "Marios Lannister",  },
          "username": "MPAdministrator",             "idindustry":
"1"         },         "behavior_code": "END_SHORT_TERM_DEACTIVATION",
       {
      "submitted_by":         {             "person_name": "Marios LannisterMarketing",
            "username": "MPAdministrator",                "id": "1"31BC2070C79EAE5455BFAD41599C5190",
                  },          "idcode": "B12BB869D7CA4A26A98BA53D24FBAC3BMK",
         "subscription":         {      }
      "accounts_receivable":             { }
               "account_owner":
 },
               {
   "life_cycle_state": "ACTIVE",
                 "last_namenumber": "Pickman170",
 
                  "life_cycle_state"name": "FINANCIALJessie01",

                   "middle_name"id": "Li",903B55B02EAC74FE25E12F8786D44011"
            },
            "companylife_cycle_profilestate": null"EFFECTIVE",

                   "title"number": "MrS60113",
            "type":
       "type": "PERSON",    {
                "firstudf_float_name1": "Jessie",
   null,
                 "nameudf_float_2": "Jessie Pickman"null,
                    "id"udf_date_1": "F9A629E466B1EF473CECD46F2A4D63F3",
   null,
                "companyudf_float_name3": null,
                "udf_date_2": null,
  "demographics":              "udf_float_4": null,
     {           "udf_date_3": null,
            "gender": "MALE",       "udf_date_4": null,
                 "passportudf_issuedstring_by_country1": null,
                "name": "United Kingdom",
     {           "udf_string_2": null,
                "nameudf_string_3": "UNITED STATES"null,
                "udf_string_4": null,
           "id     "udf_string_5": "127"null,
                   "udf_string_6": null,
    },            "log_information":
            "passport_number": "54567432",   {
                     "socialupdated_security_numberdate": "4345672015-02-20T16:40:42",
 
                      "countrycreated_ofby_residenceunit":
  
                     {
   
                        "name": "UNITEDAdmin STATESUnit",
  
                         "id": "127"
                        }48305F8849E3C18B227C5BE3A27BA6DF",
                        "industry_sectordescription": "r1",
                       { "alternative_code": "MG"
                    },
     "name": "FINANCIALS",              "created_date": "2014-06-25T15:44:04",
             "id": "03EA93890F51506ABD9E994CD826EC78",      "updated_by_unit":
                    {
 "alternative_code": "FIN"                      "name": "Admin  }Unit",
                        "date_of_birthid": "48305F8849E3C18B227C5BE3A27BA6DF",
                       {    "description": "r1",
                        "monthalternative_code": 11,"MG"
                    }
       "day": 1,        },
                "udf_string_7": null,
  "year": 1988              "udf_string_8": null,
         },       "id": "1C81FBB1E5D90040F440ECE98D6A368D",
                "name_daydescription": "United Kingdom",
                      {
"alternative_code": "UK"
             },
             "monthid": 4,"DD63DE1F000DD453F3780731904D8307"
        },
        "performed_on": "2015-04-24T15:38:48"
    }
    "day": 2
  }



Expand
titleExample 2

HTTP Method: POST

Request:

Body:

Code Block
languagejavascript
themeConfluence
linenumberstrue
{
	"token": {{token}},
	"subscription_identifier": {
    	"number"  : "S0000000008"
    },
    "performed_by_unit_identifier": {
  },  	"alternative_code": "UA"
    }
}


Response:

Code Block
languagejavascript
themeConfluence
linenumberstrue
{
    "data": {
         "idperformed_numberby": "983452"null,
        "action_type": {
            "alternative_code":  "id_issued_by_country":"ESTD",
            "name": "END SHORT TERM DEACTIVATION",
        {
    "id": "7621BB4999244A11AA957AFD41E43F40"
        },
        "transaction_reference_number": null,
        "namesubmitted_by": "UNITED{
STATES",            "person_name": "CRM COM",
              "id": "1271",
            "username": "MPAdministrator"
          },
               "executed_on": "2017-09-25T10:22:45",
        "industrylife_cycle_state": "EXECUTED",
        "subscription": {
             {"number": "S0000000008",
               "first_activated_date": "2016-02-09T13:15:55",
            "namerating_state": "MarketingPENDING",
            "accounts_receivable": {
                "idnumber": "31BC2070C79EAE5455BFAD41599C5190ACR0000000009",
                "name": "NOVO CASA FOR PREPAID",
                "codeid": "MK67432618BF6B4D8099452E750A239750",
                "life_cycle_state": "ACTIVE",
      }          "account_owner": {
           }         "company_profile": {
       },                 "lifetax_cyclereference_statenumber": "ACTIVEav123443556",
                "number": "170",       "registered_in_country": null,
        "name": "Jessie01",                 "id"number_of_employees": "903B55B02EAC74FE25E12F8786D44011"
null,
           },             "lifeannual_cycle_stateturnover": "EFFECTIVE"null,
            "number": "S60113",             "typeprofile_year": 2000,
           {                 "udfregistration_float_1number": null,"sda21w123123",
                        "udfvat_floatregistration_2number": null"2312321321",
                "udf_date_1": null,         "industry_sector": null,
       "udf_float_3": null,                 "udf_date_2industry": null,
                        "udfestablished_float_4date": null,
                "udf_date_3        "vat_registered_by": null,
                   "udf     "vat_registration_date_4": null,
                   "udf_string_1": null },
                    "company_name": "UnitedNOVO KingdomCASA",
                "udf_string_2": null,     "name": "NOVO CASA",
                    "udflast_string_3name": null,
                    "udf_string_4id": null"76F9993673024885966C7B0B4DA20E29",
                    "udflife_stringcycle_5state": null,"FINANCIAL",
                    "udfmiddle_string_6name": null,
                    "log_informationtitle": null,
                {    "type": "COMPANY",
                    "updatedfirst_datename": "2015-02-20T16:40:42"null,
                    "created_by_unitdemographics": null
                }
  {            },
            "nameid": "Admin Unit57C9FA9E11DF47EAA6D9B0BD8FDD6280",
            "life_cycle_state": "EFFECTIVE",
            "idtype": "48305F8849E3C18B227C5BE3A27BA6DF", {
                "alternative_code": "normalsub",
                "descriptionname": "r1Normal",
                "description": null,
      "alternative_code": "MG"          "id": "D1BAE6454A2248189EBCD7ADD3B4B65F"
         },   }
        },
        "createdscheduled_date": "20142017-0609-25T1525T10:4422:0443",
           "performed_on": null,
        "updatedsub_byaction_unittype": {
            "alternative_code": "ESTD",
     {       "name": "END SHORT TERM DEACTIVATION",
             "nameid": "Admin Unit78EE7CD1259745A4A3CD67DA5906B8A3",
        },
               "id"business_classification_code": "48305F8849E3C18B227C5BE3A27BA6DFEND_SHORT_TERM_DEACTIVATION",
   
           "number": "24296",
        "descriptionsubmitted_on": "r12017-09-25T10:22:43",
        "id": "8F323B3EF1D5494289AAB07B681A7674",
        "job": null,
        "alternativebehavior_code": "MG"END_SHORT_TERM_DEACTIVATION",
        "performed_by_unit": {
          }                 },
   "alternative_code": "UA",
            "udfgroup_string_7name": null"GroupA",
                "udfcommunity_string_8name": null"CommunityA",
 
              "idname": "1C81FBB1E5D90040F440ECE98D6A368DUnit A",
  
             "description": "United Kingdom",
   null,
            "alternative_codeid": "UK72CD6EBE88E541CA879BBA9ECBA11E68"
        }
    },
    "status": {
        "idcode": "DD63DE1F000DD453F3780731904D8307OK",
        } "description": "",
        "performed_onmessage": "2015-04-24T15:38:48"
    }
}