POST subscriptions/services/add_usage

Available from CRM.COM R7.0.0

This method adds the usage of one or multiple subscription services belonging on 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:

Name

Type

Description

id 

(semi-optional)

String

The ID of subscription

number 

(semi-optional)

String

The number of subscription

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:

Name

Type

Description

id

(semi-optional)

String

The ID of the accounts receivable

number

(semi-optional)

String

The number of the accounts receivable

name

(semi-optional)

String

The name of the accounts receivable

access_token_identifier

(semi-optional)

Access Token Identifier

The identifier of the access token which is related with the accounts receivable. Only effective access tokens can be used to identify an accounts receivable. The allowed access token identifier fields are the following

Name

Type

Description

authentication_code

(semi-optional)

String

The authentication code of the access token

identifier

(semi-optional)

StringThe identifier of the access token. If the identifier is specified then it will be validated against the specified pass code

pass_code

(mandatory on conditions)

StringThe pass code of the access token, which is applicable and mandatory if the identifier is specified

one_time_password

(semi-optional)

Integer

The one-time password (OTP) of the access token

Available from CRM.COM R13.0.0

Available from CRM.COM R8.0.0

Deprecated from CRM.COM R18.0.0

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

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:

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

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

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:

Name

Type

Description

id

(semi-optional)

String

The ID of the subscription action classification

name

(semi-optional)

String

The name of the subscription action classification

alternative_code

(semi-optional)

String

The alternative code of the subscription action classification

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:

Name

Type

Description

id

(semi-optional)

String

The id of the payment gateway card

payment_gateway_reference_number

(semi-optional)

String

The card's reference number as provided by the payment gateway

last_digits

(semi-optional)

String The last digits of the card as provided by the payment gateway provider

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.

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:

Name

Type

Description

id

(semi-optional)

String

The ID of the user

username

(semi-optional)

String

The username of the user

performed_by_unit_identifier

(optional)

Unit Identifier

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

Name

Type

Description

id

(semi-optional)

String

The ID of the Unit

name

(semi-optional)

String

The name of the Unit

alternative_code

(semi-optional)

String

The alternative code of  the Unit

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:

Name

Type

Description

id

(semi-optional)

String

The ID of the business unit

name

(semi-optional)

String

The code of the business unit

code

(semi-optional)

String

The code of the business unit

Available from CRM.COM R18.0.0

performed_on

(optional)

Date 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 answerstothe question “from which date should I start billing this service) that is affected by the subscription action.

scheduled_date

(optional)

Date

Defines the scheduled date of the subscription action. If not specified, then the subscription action will be immediately executed

Available from CRM.COM R12.1.0

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.

Available from CRM.COM R15.0.0

intended_currency_identifier

(optional)

Currency Identifier

The currency that the user was intended to use for the added usage. If specified then it is validated against the currency of the specified accounts receivable and if they don't match then an erroris throw. Note that the intended currency is not saved within CRM.COM; it is just used for validation purposes. The allowed currency identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the currency

code

(semi-optional)

String

The code of the currency

Available from CRM.COM R12.0.0

usage_authorisation_id

(optional)


String

The unique identifier of the usage authorisation. Only usage authorizations in Blocked life cycle state is allowed to be specified.

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

(optional)

String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_10

(optional)

String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_11

(optional)

String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_12

(optional)

String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_13

(optional)

String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_14

(optional)

String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_15

(optional)

String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_16

(optional)

String

User Defined Field of type String

Available from CRM.COM R14.2.0

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_float_5

(optional)

Float

User Defined Field of type Float

Available from CRM.COM R14.2.0


udf_float_6

(optional)

Float

User Defined Field of type Float

Available from CRM.COM R14.2.0

udf_float_7

(optional)

Float

User Defined Field of type Float

Available from CRM.COM R14.2.0


udf_float_8

(optional)

Float

User Defined Field of type Float

Available from CRM.COM R14.2.0


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

usage_detail_record_setUsage Detail Record Objects SetThe set of usage detail records that should be added for each existing subscription service, classified as termed services

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

Available from CRM.COM R10.0.0

Referred Parameter Objects Data

 usage_detail_record parameter object data

Name

Type

Description

product_identifier

(mandatory)

Product identifier

The actual product that was used. The allowed product identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

Only products classified as usage services can be specified in this parameter

source_system_identifier

(optional)

Usage Detail Record Source System identifier

The source system of the usage detail record. The allowed usage detail source system identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the usage detail record source system

name

(semi-optional)

String

The name of the usage detail record source system

alternative_code

(semi-optional)

String

The alternative code of  the usage detail record source system

Deprecated from CRM.COM R15.0.0

type_identifier

(mandatory)

 Usage Detail Record Type identifier

The type of the usage detail record. The allowed usage detail type identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the usage detail record type

name

(semi-optional)

String

The name of the usage detail record type

alternative_code

(semi-optional)

String

The alternative code of  the usage detail record type

Starting from CRM.COM R13.0.0 this information will be deprecated. The type will be set automatically based on the product type of the usage service specified

usage_service_catalog_identifier

(mandatory on conditions)

Usage Service Catalog identifier

The identifier of the related usage service catalog. The allowed usage service catalog identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the usage service catalog

name

(semi-optional)

String

The name of the usage service catalog

alternative_code

(semi-optional)

String

The alternative code of  the usage service catalog

This information is mandatory unless the specified product belongs to only one usage service catalog. In that case the usage service catalog is set automatically.

From CRM.COM R13.1.0, this information is optional even if the specified product belongs to more than one usage service catalogs but only as long as these catalogs have distinct conditions

From CRM.COM R14.0.0, if the requested usage service is included in the agreed pricing agreement (usage service catalog) of an Accounts Receivable, then the specified usage service catalog should be the agreed one. If not specified, then the agreed catalog will be used by default. This applies for adding usage services for Accounts Receivables that are members of an Account Group. If no such pricing agreement exists, the process will remain as is


device_identifier

(optional)

Usage Detail Record Device identifier

The identifier of the related usage detail record device. The allowed usage detail record device identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the usage detail record device

name

(semi-optional)

String

The name of the usage detail record device

alternative_code

(semi-optional)

String

The alternative code of  the usage detail record device

Deprecated from CRM.COM R15.0.0

usage_method_identifier

(optional)

Usage Detail Record Usage Method identifier

The identifier of the related usage detail record usage method. The allowed usage detail record usage method identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the usage detail record usage_method

name

(semi-optional)

String

The name of the usage detail record usage_method

alternative_code

(semi-optional)

String

The alternative code of  the usage detail record usage_method

Deprecated from CRM.COM R15.0.0

source_category_identifier

(optional)

Usage Detail Record Source Category identifier

The identifier of the related usage detail record source category. The allowed usage detail record source category identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the usage detail record source category

name

(semi-optional)

String

The name of the usage detail record source category

code

(semi-optional)

String

The code of  the usage detail record source category

Deprecated from CRM.COM R15.0.0

destination_category_identifier

(optional)

Usage Detail Record Destination Category identifier

The identifier of the related usage detail record destination category. The allowed usage detail record destination category identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the usage detail record destination category

name

(semi-optional)

String

The name of the usage detail record destination category

code

(semi-optional)

String

The code of  the usage detail record destination category

Deprecated from CRM.COM R15.0.0

billing_effective_date

(optional)

DateThe usage detail record billing effective date

from_date

(mandatory based on conditions)

Date

The date that the usage of the service started. Not mandatory if the usage service has a Unit of measurement

For releases prior to CRM.COM R13.0.0 this information is always mandatory

to_date

(mandatory based on conditions)

Number

The date that the usage of the service stopped. Not mandatory if the usage service has a Unit of measurement

For releases prior to CRM.COM R13.0.0 this information is always mandatory


usage_amount

(mandatory on conditions)

Number

The usage detail record total usage amount. This is applicable and mandatory only if the usage service is measurable, otherwise it is automatically set to 1

For releases prior to CRM.COM R13.0.0 this information is always mandatory

total_amount

(mandatory and applicable on conditions)

Number

The total amount that the usage detail record will be rated for. This information can be set only if the usage detail record is defined as rated. In that case it is mandatory to set this information.

Available from CRM.COM R12.0.0

vat_amount

(mandatory and applicable on conditions)

Number

The VAT amount that will be applied on the usage detail record. This information can be set only if the usage detail record is defined as rated.

Available from CRM.COM R12.0.0

tax_amount

(optional and applicable on conditions)

 

The total Tax amount that will be applied on the usage detail record. This information can be set only if the usage detail record is defined as rated.

Available from CRM.COM R12.0.0


discount_amount

(optional and applicable on conditions)

Number

The discount amount that will be applied on the usage detail record. This information can be set only if the usage detail record is defined as rated

Available from CRM.COM R12.0.0

rating_date

(mandatory and applicable on conditions)

Date

The date that the rating was applied on the usage detail record. This information can be set only if the usage detail record is defined as rated. In that case it is mandatory to set this information.

Available from CRM.COM R12.0.0

rated

(optional)

Boolean

It defines if the usage service is already rated through a 3rd party system or not. It the value is true then it means that the service is already rated. It the value is false then it means that the service will be rated by CRM.COM

Available from CRM.COM R15.0.0

apply_additional_discount

(optional)

Boolean

 It defines if additional discount will be applicable on the already rated usage service. This option is applicable only if the usage service is classified as already rated

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

provisioning_distributor_identifier

(mandatory on conditions)

Provisioning Distributor Identifier

The identifier of the provisioning distributor that will be used to distribute the product. The allowed provisioning distributor identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the provisioning distributor

name

(semi-optional)

String

The name of the provisioning distributor

alternative_code

(semi-optional)

String

The alternative code of  the provisioning distributor

This information is mandatory unless the specified subscription service is distributed to only one provisioning distributor. In that case the provisioning distributor is set automatically.

Deprecated from CRM.COM R15.0.0

installed_item_identifier

(mandatory on conditions)

Installed Item Identifier

The identifier of the installed item on which the service will be consumed. The allowed identifier fields are the following

Name

Type

Description

id

(semi-optional)

String

The ID of the installed item

serial_number

(semi-optional)

String

The serial number of the installed item

alternative_code

(semi-optional)

String

The alternative code of  a installed item

This parameter is mandatory if the related Usage Service Catalog requires an Installed Item to be specified when adding a Usage Service

Available from CRM.COM R14.0.0

subscription_service

(mandatory)

Existing Subscription service Object

An existing subscription service, classified as termed service that will be related with the usage detail record

This information is mandatory if the usage service's related usage service catalog set the "Termed Service Requirements" to any of the following:

  • Requires an effective termed service OR
  • Requires a termed service (effective or not effective)

If it is mandatory to specify this information then if only one termed service can be used to allow the addition of usage detail record then this information will be set automatically

For releases prior to CRM.COM R13.0.0 this information is always mandatory and from CRM.COM R13.0.0 this information is mandatory on conditions

From CRM.COM R14.0.0 this information is always mandatory

metadata_attribute_value_set

(optional)

Set of Metadata Object

The set of metadata attributes and values associated to the specific udr

Available from CRM.COM R15.0.0

You can only add existing metadata attributes which are already provided through the UDR Type

Referred Parameter Objects Data

 existing subscription service object parameter data
Name
Type
Description

subscription_service_id

(semi-optional)

StringThe ID of the subscription service
service_identifier

(semi-optional)

Service identifier  

The identifier of the service related with the subscription service that belongs to the subscription specified in the parameters. Only products classified as services are retrieved. The allowed service identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product

code

(semi-optional)

String

The code of the product

alternative_code

(semi-optional)

String

The alternative code of  the product

 metadata attribute value parameter data

Name

Type

Description

keyStringThe key of the metadata field for which a value will be provided
valueStringThe value of the metadata field

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified.

Response Data

 subscription action object response data

Name

Type

Description

id

String

The ID of the retrieved subscription action

number

String

The number of the retrieved subscription action

transaction_reference_numberString

The unique transaction reference number of the retrieved subscription action

Available from CRM.COM R13.1.0

life_cycle_state

String

The life cycle state of the subscription action. One of the following values is returned:

EXECUTED, EXECUTEDWITHERRORS, REJECTEDSYSTEMFAILURE, REJECTEDSYSTEMVALIDATION, SCHEDULED, CANCELLED

From CRM.COM R15.0.0 the available life cycle states are:

  • PENDING_VERIFICATION
  • EXECUTED
  • SCHEDULED
  • CANCELLED
  • REJECTED
classificationString

The classification that was provided when the subscription action was submitted.

Available from CRM.COM R17.0.0

behavior_codeString

The behavior code of the subscription action

business_classification_codeString

The business classification code of the subscription action

scheduled_dateDate

The date that the subscription was scheduled to be executed

executed_onDateThe date that the subscription action is executed
submitted_onDateThe date that the business action was submitted into the system
performed_onDateThe date that the business action was actually performed, which might be different than the date that was submitted into the system

udf_string_1

String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_2String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_3String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_4String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_5String

User Defined Field of type String 

Available from CRM.COM R14.2.0

udf_string_6String

User Defined Field of type String 

Available from CRM.COM R14.2.0

udf_string_7String

User Defined Field of type String 

Available from CRM.COM R14.2.0

udf_string_8 String

User Defined Field of type String 

Available from CRM.COM R14.2.0

udf_string_9String

User Defined Field of type String 

Available from CRM.COM R14.2.0

udf_string_10String

User Defined Field of type String 

Available from CRM.COM R14.2.0

udf_string_11String

User Defined Field of type String 

Available from CRM.COM R14.2.0

udf_string_12String

User Defined Field of type String 

Available from CRM.COM R14.2.0

udf_string_13String

User Defined Field of type String 

Available from CRM.COM R14.2.0

udf_string_14String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_15String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_string_16String

User Defined Field of type String

Available from CRM.COM R14.2.0

udf_float_1Float

User Defined Field of type Float

Available from CRM.COM R14.2.0

udf_float_2Float

User Defined Field of type Float

Available from CRM.COM R14.2.0

udf_float_3Float

User Defined Field of type Float

Available from CRM.COM R14.2.0

udf_float_4Float

User Defined Field of type Float

Available from CRM.COM R14.2.0

udf_float_5Float

User Defined Field of type Float

Available from CRM.COM R14.2.0

udf_float_6Float

User Defined Field of type Float

Available from CRM.COM R14.2.0

udf_float_7Float

User Defined Field of type Float

Available from CRM.COM R14.2.0

udf_float_8Float

User Defined Field of type Float

Available from CRM.COM R14.2.0

udf_date_1Date

 User Defined Field of type Date

Available from CRM.COM R14.2.0

udf_date_2Date

 User Defined Field of type Date

Available from CRM.COM R14.2.0

udf_date_3Date

 User Defined Field of type Date

Available from CRM.COM R14.2.0

udf_date_4Date

 User Defined Field of type Date

Available from CRM.COM R14.2.0

submitted_byUser ObjectThe user that  submitted the action into the system
performed_byUser ObjectThe user that actually performed the subscription action, which might be different than the user that submitted the action into the system
performed_by_unitUnit Object

The unit that performed the subscription action

Available from CRM.COM R14.0.0

Deprecated from CRM.COM R18.0.0

performed_by_business_unitBusiness Unit Object

The business unit that performed the subscription action

Available from CRM.COM R18.0.0

action_typeSubscription Action Type Object

The action type of the subscription action

Deprecated from CRM.COM R15.0.0

sub_action_typeSubscription Sub Action Type Object

The sub action type of the subscription action

Deprecated from CRM.COM R15.0.0

subscriptionSubscription ObjectThe subscription that was or will be modified by the execution of the subscription action
jobJob Object

The Job for which the subscription action was performed

Available from CRM.COM R9.0.0

resubmitted_bySubscription Action Object

The subscription action that was generated when the retrieved subscription was re-submitted. Applicable only if the retrieved subscription action is in Rejected life cycle state

Available from CRM.COM R17.0.0

subscription_action_affected_services_setSet of subscription action affected services

A list of subscription services which are affected by the specified subscription action. Each subscription service might be affected if it is being added or removed by the subscription action, or if its life cycle changes because of the action.

Available from CRM.COM R15.0.0

subscription_action_affected_installed_items_setSet of subscription action affected installed items

A list of subscription installed items which are affected by the specified subscription action. Each subscription installed item might be affected if it is being added or removed by the subscription action

Available from CRM.COM R15.0.0

Referred Objects Response Data

 user object response data

Name

Type

Description

id

String

The ID of the retrieved user

username

String

The user name of the retrieved user

person_name

String

The full name of the retrieved user

email

String

The email of the retrieved user

 unit object response data

Name

Type

Description

id

String

The ID of the retrieved unit

name

String

The name of the retrieved unit

group_name

String

The name of the group that the retrieved unit belongs to

community_name

String

The name of the community that the retrieved unit belongs to

alternative_code

String

The alternative code of the retrieved unit

description

String

The description of the retrieved unit

 business unit object response data

Name

Type

Description

id

String

The ID of the retrieved business unit

name

String

The name of the retrieved business unit

codeStringThe code of the retrieved business unit
unified_codeString

The unified code of the retrieved business unit

description

String

The description of the retrieved business unit

parent_business_unit_nameStringThe name of the parent business unit that the retrieved business unit belongs to

 subscription action type object response data

Name

Type

Description

id

String

The id of the retrieved subscription action type

name

String

The name of the retrieved subscription action type

alternative_code

String

The alternative code of the retrieved subscription action type

 

 subscription sub action type object response data

Name

Type

Description

id

String

The id of the retrieved subscription sub action type

name

String

The name of the retrieved subscription sub action type

alternative_code

String

The alternative code of the retrieved subscription sub action type

 

 subscription object response data

Name

Type

Description

id

String

The ID of the retrieved subscription

number

String

The number of the retrieved subscription

life_cycle_state

String

The life cycle state of the subscription. One of the following values is returned

DRAFT, EFFECTIVE, NOT_EFFECTIVE, SHORT_TERM_EFFECTIVE, SHORT_TERM_NOT_EFFECTIVE, IN_RESTING, CANCELLED, REGRETTED, REPLACED, PENDING_VERIFICATION

REPLACED life cycle state available from CRM.COM R14.0.0, deprecated in CRM.COM R17.0.0

PENDING_VERIFICATION life cycle state available from CRM.COM R15.0.0

first_activated_dateDate

The date that the subscription became effective for the first time (i.e. the date that the first effective period of that subscription started)

Available from CRM.COM R9.0.0

rating_stateString

The rating state of the retrieved subscription that can be PENDING or COMPLETED

Available from CRM.COM R9.0.0

accounts_receivableAccounts receivable objectThe accounts receivable owning the subscriptions
typeSubscription type objectThe type of the retrieved subscription

Referred Objects Response Data

 accounts_receivable object response data

Name

Type

Description

id

String

The ID of the retrieved accounts receivable

number

String

The number of the retrieved accounts receivable

nameStringThe name of the retrieved accounts receivable

life_cycle_state

String

The life cycle state of the accounts receivable. One of the following values is returned:

ACTIVE, SUSPENDED, TERMINATED

account_ownerContact information objectThe contact information owning the accounts receivable

Referred Objects Response Data

 contact_information object response data

Name

Type

Description

id

String

The ID of the retrieved contact information

type

String

The type of the retrieved contact information which can be PERSON or COMPANY

life_cycle_state

String

The lifecycle state of the retrieved contact information which can be MARKETING or FINANCIAL

name

String

The full name of the retrieved contact information

first_name

String

The first name of the retrieved contact information

middle_name

String

The middle name of the retrieved contact information

last_name

String

The last name of the retrieved contact information

title

String

The title of the retrieved contact information

company_nameSting

The company name of the retrieved contact information

demographics

Demographics Object

The demographics information of the retrieved contact information

company_profile

Company profile object

The company profile of the retrieve contact information

Referred Objects Response Data

 demographics object response data

Name

Type

Description

gender

String

The gender of the retrieved contact information which can be MALE or FEMALE

id_number

String

The ID number of the retrieved contact information

id_number_expiration_dateDate

The ID number's expiration date of the retrieved contact information

Available from CRM.COM R14.0.0

passport_number

String

The passport number of the retrieved contact information

passport_number_expiration_dateDate

The passport's expiration date of the retrieved contact information

Available from CRM.COM R14.0.0

social_security_number

String

The social security number of the retrieved contact information

date_of_birth

Date of Birth Object

The date of birth of the retrieved contact information

name_day

Name Day Object

The name day of the retrieved contact information

country_of_residence

Country Object

The country of residence of the retrieved contact information

id_issued_by_country

Country Object

The ID issued country of retrieved contact information

passport_issued_by_country

Country Object

The passport  issued country of retrieved contact information

industry

Industry Object

The industry of retrieved contact information

industry_sector

Industry sector Object

The sector of retrieved contact information

Referred Objects Response Data

 date_of_birth object response data

Name

Type

Description

day

Integer

The day of the retrieved date of birth

month

Integer

The month of the retrieved date of birth

year

Integer

The year of the retrieved date of birth

 name_day object response data

Name

Type

Description

day

Integer

The day of the retrieved name day

month

Integer

The month of the retrieved name day

 country object response data

Name

Type

Description

id

String

The id of the retrieved country

name

String

The name of the retrieved country

alternative_codeString

The alternative code of the retrieved country

dialing_codeString

The dialing code of the retrieved country

Available from CRM.COM R15.1.0

two_character_codeString

The two character code of the retrieved country

three_character_codeString

The three character code of the retrieved country

country_flagImage Object

The flag of the retrieved country

Available from CRM.COM R15.1.0

Referred Objects Response Data

 country_flag object response data

Name

Type

Description

id

String

The ID of the retrieved country flag

fileFile ObjectThe information of the attached file

Referred Objects Response Data

 file object response data

 

Name

Type

Description

file_nameStringThe name of the file
file_content_urlStringThe url that can be used to access the actual content of the file
file_mime_typeStringThe mime type of the attached file

 industry object response data

Name

Type

Description

id

String

The id of the retrieved industry

name

String

The name of the retrieved industry

code

String

The code of the retrieved industry

 industry sector object response data

Name

Type

Description

id

String

The id of the retrieved industry sector

name

String

The name of the retrieved industry sector

alternative_code

String

The alternative code of the retrieved industry sector

 company profile object response data

Name

Type

Description

profile_year

Number

The profile year of the retrieved contact information

annual_turnover

Number

The annual turnover of the retrieved contact information

established_date

Date

The established date of the retrieved contact information

number_of_employeesNumber

The number of employees of the retrieved contact information

registration_number

String

The registration number of the retrieved contact information

vat_registration_numberString

The vat registration number of the retrieved contact information

vat_registered_byString

The vat registration by of the retrieved contact information

vat_registration_date

Date

The vat registration date of the retrieved contact information

tax_reference_numberString

The tax referenece number of the retrieved contact information

registered_in_country

Country Object

The country of residence of the retrieved contact information

industry

Industry Object

The industry of retrieved contact information

industry_sector

Industry sector Object

The sector of retrieved contact information

Referred Objects Response Data

 country object response data

Name

Type

Description

id

String

The id of the retrieved country

name

String

The name of the retrieved country

alternative_codeString

The alternative code of the retrieved country

dialing_codeString

The dialing code of the retrieved country

Available from CRM.COM R15.1.0

two_character_codeString

The two character code of the retrieved country

three_character_codeString

The three character code of the retrieved country

country_flagImage Object

The flag of the retrieved country

Available from CRM.COM R15.1.0

Referred Objects Response Data

 country_flag object response data

Name

Type

Description

id

String

The ID of the retrieved country flag

fileFile ObjectThe information of the attached file

Referred Objects Response Data

 file object response data

 

Name

Type

Description

file_nameStringThe name of the file
file_content_urlStringThe url that can be used to access the actual content of the file
file_mime_typeStringThe mime type of the attached file

 industry object response data

Name

Type

Description

id

String

The id of the retrieved industry

name

String

The name of the retrieved industry

code

String

The code of the retrieved industry

 industry sector object response data

Name

Type

Description

id

String

The id of the retrieved industry sector

name

String

The name of the retrieved industry sector

alternative_code

String

The alternative code of the retrieved industry sector

 subscription type object response data

Name

Type

Description

id

String

The ID of the retrieved subscription type

name

String

The name of the retrieved subscription type

alternative_code

String

The alternative code of the retrieved subscription type

descriptionStringA description of the retrieved subscription type
classificationString

The classification of the retrieved subscription type, Flexible or Package

Available from CRM.COM R14.0.0

Deprecated from CRM.COM R17.0.0

 job object response data

Name

Type

Description

id

String

The ID of the retrieved job

number

String

The number of the retrieved job 

descriptionStringThe description of the retrieved job 

life_cycle_state

String

The life cycle state of the retrieved job

The supported options are

  • DRAFT
  • PENDING
  • IN PROGRESS
  • COMPLETED
  • CANCELLED
rating_stateString

The rating state of the retrieved subscription that can be PENDING or COMPLETED

Available from CRM.COM R9.0.0

accounts_receivable

Accounts Receivable object

The accounts receivable related with the specified job

typeJob type object

The type information of the retrieved job

Available from CRM.COM R11.2.0


Referred Objects Response Data

 accounts_receivable object response data

Name

Type

Description

id

String

The ID of the retrieved accounts receivable

number

String

The number of the retrieved accounts receivable

nameStringThe name of the retrieved accounts receivable

life_cycle_state

String

The life cycle state of the accounts receivable. One of the following values is returned:

ACTIVE, SUSPENDED, TERMINATED

account_ownerContact information objectThe contact information owning the accounts receivable

Referred Objects Response Data

 contact_information object response data

Name

Type

Description

id

String

The ID of the retrieved contact information

type

String

The type of the retrieved contact information which can be PERSON or COMPANY

life_cycle_state

String

The lifecycle state of the retrieved contact information which can be MARKETING or FINANCIAL

name

String

The full name of the retrieved contact information

first_name

String

The first name of the retrieved contact information

middle_name

String

The middle name of the retrieved contact information

last_name

String

The last name of the retrieved contact information

title

String

The title of the retrieved contact information

company_nameSting

The company name of the retrieved contact information

demographics

Demographics Object

The demographics information of the retrieved contact information

company_profile

Company profile object

The company profile of the retrieve contact information

Referred Objects Response Data

 demographics object response data

Name

Type

Description

gender

String

The gender of the retrieved contact information which can be MALE or FEMALE

id_number

String

The ID number of the retrieved contact information

id_number_expiration_dateDate

The ID number's expiration date of the retrieved contact information

Available from CRM.COM R14.0.0

passport_number

String

The passport number of the retrieved contact information

passport_number_expiration_dateDate

The passport's expiration date of the retrieved contact information

Available from CRM.COM R14.0.0

social_security_number

String

The social security number of the retrieved contact information

date_of_birth

Date of Birth Object

The date of birth of the retrieved contact information

name_day

Name Day Object

The name day of the retrieved contact information

country_of_residence

Country Object

The country of residence of the retrieved contact information

id_issued_by_country

Country Object

The ID issued country of retrieved contact information

passport_issued_by_country

Country Object

The passport  issued country of retrieved contact information

industry

Industry Object

The industry of retrieved contact information

industry_sector

Industry sector Object

The sector of retrieved contact information

Referred Objects Response Data

 date_of_birth object response data

Name

Type

Description

day

Integer

The day of the retrieved date of birth

month

Integer

The month of the retrieved date of birth

year

Integer

The year of the retrieved date of birth

 name_day object response data

Name

Type

Description

day

Integer

The day of the retrieved name day

month

Integer

The month of the retrieved name day

 country object response data

Name

Type

Description

id

String

The id of the retrieved country

name

String

The name of the retrieved country

alternative_codeString

The alternative code of the retrieved country

dialing_codeString

The dialing code of the retrieved country

Available from CRM.COM R15.1.0

two_character_codeString

The two character code of the retrieved country

three_character_codeString

The three character code of the retrieved country

country_flagImage Object

The flag of the retrieved country

Available from CRM.COM R15.1.0

Referred Objects Response Data

 country_flag object response data

Name

Type

Description

id

String

The ID of the retrieved country flag

fileFile ObjectThe information of the attached file

Referred Objects Response Data

 file object response data

 

Name

Type

Description

file_nameStringThe name of the file
file_content_urlStringThe url that can be used to access the actual content of the file
file_mime_typeStringThe mime type of the attached file

 industry object response data

Name

Type

Description

id

String

The id of the retrieved industry

name

String

The name of the retrieved industry

code

String

The code of the retrieved industry

 industry sector object response data

Name

Type

Description

id

String

The id of the retrieved industry sector

name

String

The name of the retrieved industry sector

alternative_code

String

The alternative code of the retrieved industry sector

 company profile object response data

Name

Type

Description

profile_year

Number

The profile year of the retrieved contact information

annual_turnover

Number

The annual turnover of the retrieved contact information

established_date

Date

The established date of the retrieved contact information

number_of_employeesNumber

The number of employees of the retrieved contact information

registration_number

String

The registration number of the retrieved contact information

vat_registration_numberString

The vat registration number of the retrieved contact information

vat_registered_byString

The vat registration by of the retrieved contact information

vat_registration_date

Date

The vat registration date of the retrieved contact information

tax_reference_numberString

The tax referenece number of the retrieved contact information

registered_in_country

Country Object

The country of residence of the retrieved contact information

industry

Industry Object

The industry of retrieved contact information

industry_sector

Industry sector Object

The sector of retrieved contact information

Referred Objects Response Data

 country object response data

Name

Type

Description

id

String

The id of the retrieved country

name

String

The name of the retrieved country

alternative_codeString

The alternative code of the retrieved country

dialing_codeString

The dialing code of the retrieved country

Available from CRM.COM R15.1.0

two_character_codeString

The two character code of the retrieved country

three_character_codeString

The three character code of the retrieved country

country_flagImage Object

The flag of the retrieved country

Available from CRM.COM R15.1.0

Referred Objects Response Data

 country_flag object response data

Name

Type

Description

id

String

The ID of the retrieved country flag

fileFile ObjectThe information of the attached file

Referred Objects Response Data

 file object response data

 

Name

Type

Description

file_nameStringThe name of the file
file_content_urlStringThe url that can be used to access the actual content of the file
file_mime_typeStringThe mime type of the attached file

 industry object response data

Name

Type

Description

id

String

The id of the retrieved industry

name

String

The name of the retrieved industry

code

String

The code of the retrieved industry

 industry sector object response data

Name

Type

Description

id

String

The id of the retrieved industry sector

name

String

The name of the retrieved industry sector

alternative_code

String

The alternative code of the retrieved industry sector

 job_type response data object
NameType Description
IdStringThe ID of the retrieved job type
nameStringThe Name of the retrieved job type
alternative_codeStringThe Alternative Code of the retrieved job type
descriptionStringThe Description of the retrieved job type
billing_directiveString

The billing directive of the retrieved job type

The supported billing directive options are

  • BILLABLE
  • NOT_BILLABLE

Available from CRM.COM R10.0.0

billing_methodString

The billing method of the retrieved job type. Applicable only for billable job types with fulfillment scope GENERIC_PURPOSE

The supported billing methods are

  • BILL_ON_STARTING_PROGRESS
  • BILL_ON_COMPLETION

Available from CRM.COM R10.0.0

From CRM.COM R15.0.0 and onward, this attribute will be deprecated

fulfillment_scopeString

The fulfillment scope of the retrieved job type

The supported fulfillment scopes are

  • GENERIC_PURPOSE
  • NEW_SUBSCRIPTION
  • ACTIVATE_SUBSCRIPTION
  • DEACTIVATE_SUBSCRIPTION
  • CANCEL_SUBSCRIPTION
  • ADD_SUBSCRIPTION_SERVICES
  • CANCEL_SUBSCRIPTION_SERVICES
  • CHANGE_SUBSCRIPTION_LOCATION
  • SWAP_SUBSCRIPTION_SERVICES
  • SWAP_SUBSCRIPTION_INSTALLED_ITEMS
  • REPLACE_PHYSICAL_GOODS

The following fulfillment scopes will be available from CRM.COM R8.0.0

ACTIVATE_SUBSCRIPTION, DEACTIVATE_SUBSCRIPTION, CANCEL_SUBSCRIPTION, ADD_SUBSCRIPTION_SERVICES, CANCEL_SUBSCRIPTION_SERVICES, CHANGE_SUBSCRIPTION_LOCATION

The following fulfillment scopes will be available from CRM.COM R9.0.0

SWAP_SUBSCRIPTION_SERVICES, SWAP_SUBSCRIPTION_INSTALLED_ITEMS

The following fulfillment scope will be available from CRM.COM R11.0.0

REPLACE_PHYSICAL_GOODS

From CRM.COM R15.0.0 and onward, all fulfillment scopes will be deprecated

fulfillment_methodString

The fulfillment method of the retrieved job type

The supported fulfillment methods are

  • BASED_ON_ORDERED_ITEMS
  • BASED_ON_DELIVERED_ITEMS

From CRM.COM R15.0.0 and onward, this attribute will be deprecated

Unable to render {include} The included page could not be found.

 subscription action affected service object response data

Name

Type

Description

affected_modeString

Defines how the subscription service was affected by the subscription action. Available values are ADDED, REMOVED, UPDATED

productProduct objectThe product of the service that was affected because of the subscription action

Referred Objects Response Data

 product object response data
Name
Type
Description
IdStringThe ID of the product
codeStringThe code of product

alternative_code

String

The alternative code of product

description

String

The description of product

priority_levelInteger

The priority level of the product

Available from CRM.COM R12.3.0

global_rateGlobal Rate Object

The global rate of the retrieved product

Available from CRM.COM R15.0.0

product_typeProduct type objectThe type of the product

Referred Objects Response Data

 product_type object data response
NameType Description
IdStringThe ID of the retrieved product type
nameStringThe Name of the retrieved product type
alternative_codeStringThe Alternative Code of the retrieved product type
descriptionStringThe Description of the retrieved product type
classificationStringThe Classification of the retrieved product type which can be SERVICES or PHYSICALGOODS
service_typeStringThe Service Type of the retrieved product type which can be TERMED, USAGE, ONETIME or EXPENSE
physical_good_typeStringThe physical Good Type of the retrieved product type which can be TRACEABLE or NONTRACEABLE
composition_methodStringThe Composition Method of the retrieved product type which can be FLAT, FLEXIBLEBUNDLE or FIXEDBUNDLE
used_for_provisioningBooleanThe flag shows if the retrieved product type is used for provisioning
udr_typeUsage Detail Record TypeThe UDR type related with the product type. This is applicable only if the product type is classified as SERVICES and the service type is set to USAGE
meter_reading_typeMeter Reading Type

The Meter Reading type related with the product type. This is applicable only for traceable physical goods

Available from CRM.COM R14.0.0

Referred Objects Response Data

 usage_detail_record_type object data response
NameType Description
IdStringThe ID of the retrieved usage detail record type
nameStringThe Name of the retrieved usage detail record type
alternative_codeStringThe Alternative Code of the retrieved usage detail record type
descriptionStringThe Description of the retrieved usage detail record type
unit_of_measurementStringThe Unit of measurement of the retrieved usage detail record type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 

 meter_reading_type object data response
NameType Description
IdStringThe ID of the retrieved meter reading type
nameStringThe Name of the retrieved meter reading type
alternative_codeStringThe Alternative Code of the retrieved meter reading type
classificationStringThe Classification of the retrieved meter reading type
descriptionStringThe Description of the retrieved meter reading type
unit_of_measurementStringThe Unit of measurement of the retrieved meter reading type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 global rate object response data

Name

Type

Description

id

String

The ID of the retrieved rate

rate_model

String

The price plan rate model which can be one of the following:

  • QUANTITYBASED
  • QUANTITYANDPERIODBASED
  • BILLABLEPERIODBASED
  • DURATIONBASED
  • FLATFEEBASED
  • USAGEBASED

From CRM.COM R17.0.0, QUANTITYANDMATURITYBASED is renamed to QUANTITYANDPERIODBASED

global_base_amountNumber

The base price of the product in the Global Price Plan

base_rate_applied_perString

The value for 'Base Rate Applied per'

Available when the rate model is 'Quantity & Quantity Based' and it is a selection between

  • Period
  • Period_Item
uotString

The 'UOT' applicable for the rate

  • Seconds
  • Minute
  • Hour
  • Day
  • Week
  • Month
  • Year

Available for one-time services

time_periodTime Period Object

 The period and unit of time for which the base amount is applicable for. This is available only on termed services rates.

uomString

The 'UOM' applicable for the rate

Available when the product type is of Usage Service Classification 

Referred Objects Response Data

 period object response data

Name

Type

Description

time_period_valueNumber

The time period value

time_period_uot

String

The time period unit of time. The supported values are the following:

MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS

 subscription action affected installed item object response data

Name

Type

Description

affected_modeString

Defines how the subscription installed item was affected by the subscription action. Available values are ADDED, REMOVED, UPDATED

installed_itemInstalled Item objectThe installed item that was affected because of the subscription action

Referred Objects Response Data

 installed item object response data

Name

Type

Description

id

String

The ID of the retrieved installed item

serial_number

String

The serial number of the retrieved installed item

alternative_code

String

The alternative code of the retrieved installed item

stateStringThe state of the retrieved installed item, which can be EFFECTIVE or NOT_EFFECTIVE
state_classificationState Classification object

The state classification of the retrieved installed item, which defines the reason why the installed item was set as Not Effective

Applicable only if the Installed Item was set as Not Effective through automation process

Available from CRM.COM R14.0.0

product

Product object

The product of the retrieved installed item

Referred Objects Response Data

 product object response data
Name
Type
Description
IdStringThe ID of the product
codeStringThe code of product

alternative_code

String

The alternative code of product

description

String

The description of product

priority_levelInteger

The priority level of the product

Available from CRM.COM R12.3.0

global_rateGlobal Rate Object

The global rate of the retrieved product

Available from CRM.COM R15.0.0

product_typeProduct type objectThe type of the product

Referred Objects Response Data

 product_type object data response
NameType Description
IdStringThe ID of the retrieved product type
nameStringThe Name of the retrieved product type
alternative_codeStringThe Alternative Code of the retrieved product type
descriptionStringThe Description of the retrieved product type
classificationStringThe Classification of the retrieved product type which can be SERVICES or PHYSICALGOODS
service_typeStringThe Service Type of the retrieved product type which can be TERMED, USAGE, ONETIME or EXPENSE
physical_good_typeStringThe physical Good Type of the retrieved product type which can be TRACEABLE or NONTRACEABLE
composition_methodStringThe Composition Method of the retrieved product type which can be FLAT, FLEXIBLEBUNDLE or FIXEDBUNDLE
used_for_provisioningBooleanThe flag shows if the retrieved product type is used for provisioning
udr_typeUsage Detail Record TypeThe UDR type related with the product type. This is applicable only if the product type is classified as SERVICES and the service type is set to USAGE
meter_reading_typeMeter Reading Type

The Meter Reading type related with the product type. This is applicable only for traceable physical goods

Available from CRM.COM R14.0.0

Referred Objects Response Data

 usage_detail_record_type object data response
NameType Description
IdStringThe ID of the retrieved usage detail record type
nameStringThe Name of the retrieved usage detail record type
alternative_codeStringThe Alternative Code of the retrieved usage detail record type
descriptionStringThe Description of the retrieved usage detail record type
unit_of_measurementStringThe Unit of measurement of the retrieved usage detail record type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 

 meter_reading_type object data response
NameType Description
IdStringThe ID of the retrieved meter reading type
nameStringThe Name of the retrieved meter reading type
alternative_codeStringThe Alternative Code of the retrieved meter reading type
classificationStringThe Classification of the retrieved meter reading type
descriptionStringThe Description of the retrieved meter reading type
unit_of_measurementStringThe Unit of measurement of the retrieved meter reading type

Referred Objects Response Data

 unit_of_measurement object response data

Name

Type

Description

idStringThe identifier of the Unit of measurement

name

String

The name of the Unit of measurement

description

String

The description of the Unit of measurement

alternative_codeStringThe alternative code of the Unit of measurement

 global rate object response data

Name

Type

Description

id

String

The ID of the retrieved rate

rate_model

String

The price plan rate model which can be one of the following:

  • QUANTITYBASED
  • QUANTITYANDPERIODBASED
  • BILLABLEPERIODBASED
  • DURATIONBASED
  • FLATFEEBASED
  • USAGEBASED

From CRM.COM R17.0.0, QUANTITYANDMATURITYBASED is renamed to QUANTITYANDPERIODBASED

global_base_amountNumber

The base price of the product in the Global Price Plan

base_rate_applied_perString

The value for 'Base Rate Applied per'

Available when the rate model is 'Quantity & Quantity Based' and it is a selection between

  • Period
  • Period_Item
uotString

The 'UOT' applicable for the rate

  • Seconds
  • Minute
  • Hour
  • Day
  • Week
  • Month
  • Year

Available for one-time services

time_periodTime Period Object

 The period and unit of time for which the base amount is applicable for. This is available only on termed services rates.

uomString

The 'UOM' applicable for the rate

Available when the product type is of Usage Service Classification 

Referred Objects Response Data

 period object response data

Name

Type

Description

time_period_valueNumber

The time period value

time_period_uot

String

The time period unit of time. The supported values are the following:

MINUTES, HOURS, DAYS, WEEKS, MONTHS, YEARS

 state classification object response data
Name
Type
Description
nameStringThe name of the installed item's state classification

alternative_code

String

The alternative code of the installed item's state classification

description

String

The description of the installed item's state classification

Examples

 Example 1

HTTP Method: POST


Request:


Body

{
    "token":"E2CA46AC1DD04F08842777BBF3823FA3",
    "subscription_identifier":{"number":"S60555"},
    "usage_detail_record_set" :[
        { 
            "product_identifier" : { "code" : "Movie 2" },
        	"source_system_identifier":{ "name" : "IVR" },
        	"type_identifier":{ "name" : "Discounted" },
            "device_identifier":{"name":"Tablet"},
            "usage_method_identifier":{"name":"Download"},
        	"billing_directive":"TO_BE_BILLED",
            "usage_service_catalog_identifier":{ "name" : "Catalog Story board 5" },
        	"from_date": "2015-09-23T19:07:44",
        	"to_date": "2015-09-30T19:07:44",
        	"usage_amount" : 20,
        	"subscription_service" : {"service_identifier": {"code":"Silver"}},
            "destination_category_identifier":{"name":"Voip Application"},
            "source_category_identifier":{"name":"United Kingdom"},
			"provisioning_distributor_identifier":{"id":"B192D909D9B041F89FA8A197DC0F709A"}
		},
		{ 
            "product_identifier" : { "code" : "Movie 3" },
        	"source_system_identifier":{ "name" : "IVR" },
        	"type_identifier":{ "name" : "Discounted" },
            "device_identifier":{"name":"Tablet"},
            "usage_method_identifier":{"name":"Download"},
        	"billing_directive":"TO_BE_BILLED",
            "usage_service_catalog_identifier":{ "name" : "Catalog Story board 5" },
        	"from_date": "2015-09-23T19:07:44",
        	"to_date": "2015-09-30T19:07:44",
        	"usage_amount" : 20,
        	"subscription_service" : {"service_identifier": {"code":"Silver"}},
            "destination_category_identifier":{"name":"Voip Application"},
            "source_category_identifier":{"name":"United Kingdom"}
        }
    ]
} 


Response

{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    {
        "scheduled_date": "2015-09-24T11:45:58",
        "submitted_on": "2015-09-24T11:45:58",
        "action_type": null,
        "sub_action_type": null,
        "business_classification_code": "ADD_SERVICE_USAGE",
        "number": "1939",
        "executed_on": "2015-09-24T11:46:11",
        "life_cycle_state": "EXECUTED",
        "performed_by": null,
        "behavior_code": "ADD_SERVICE_USAGE",
        "id": "D9C5C4685973423895E6A291C15AA8A4",
        "submitted_by":
        {
            "person_name": "Marios Lannister",
            "username": "MPAdministrator",
            "id": "1"
        },
        "subscription":
        {
            "life_cycle_state": "EFFECTIVE",
            "accounts_receivable":
            {
                "account_owner":
                {
                    "last_name": "Ioannou97",
                    "middle_name": null,
                    "life_cycle_state": "FINANCIAL",
                    "company_profile": null,
                    "title": null,
                    "first_name": "Marios",
                    "type": "PERSON",
                    "id": "82CAA74F74324D26825E444460F4B65C",
                    "name": "Ioannou97 Marios",
                    "company_name": null,
                    "demographics":
                    {
                        "gender": null,
                        "passport_issued_by_country": null,
                        "social_security_number": null,
                        "passport_number": null,
                        "industry_sector": null,
                        "country_of_residence":
                        {
                            "three_character_code": "USA",
                            "two_character_code": "US",
                            "id": "127",
                            "name": "UNITED STATES",
                            "alternative_code": null
                        },
                        "name_day":
                        {
                            "month": null,
                            "day": null
                        },
                        "date_of_birth":
                        {
                            "month": null,
                            "day": null,
                            "year": null
                        },
                        "id_number": "435345",
                        "industry": null,
                        "id_issued_by_country": null
                    }
                },
                "life_cycle_state": "ACTIVE",
                "number": "ACR000778",
                "id": "917763A6499545B593DFBBC21A3689CB",
                "name": "mar97"
            },
            "number": "S60555",
            "type":
            {
                "udf_float_1": null,
                "udf_float_2": null,
                "udf_date_1": null,
                "udf_float_3": null,
                "udf_date_2": null,
                "udf_float_4": null,
                "udf_date_3": null,
                "udf_date_4": null,
                "name": "London",
                "udf_string_1": null,
                "udf_string_2": null,
                "udf_string_3": null,
                "udf_string_4": null,
                "udf_string_5": null,
                "udf_string_6": null,
                "udf_string_7": null,
                "log_information":
                {
                    "updated_date": "2015-09-15T10:02:30",
                    "created_date": "2014-06-23T14:59:40",
                    "created_by_unit":
                    {
                        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                        "name": "Admin Unit",
                        "group_name": "Main Group",
                        "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
                        "alternative_code": "MG"
                    },
                    "updated_by_unit":
                    {
                        "id": "48305F8849E3C18B227C5BE3A27BA6DF",
                        "name": "Admin Unit",
                        "group_name": "Main Group",
                        "description": "r1 Test Description for resource  request tab.Test Description for resource  request tab.",
                        "alternative_code": "MG"
                    },
                    "created_by_user":
                    {
                        "person_name": "MPAdministrator",
                        "username": "MPAdministrator",
                        "id": "1"
                    },
                    "updated_by_user":
                    {
                        "person_name": "MPAdministrator",
                        "username": "MPAdministrator",
                        "id": "1"
                    }
                },
                "udf_string_8": null,
                "id": "3100B0D56E7C7EADF073C34BCE1E42AF",
                "description": null,
                "alternative_code": "LND"
            },
            "id": "16C09DFDDF444C25A97953191DE653DC"
        },
        "performed_on": null
    }
} 
 Example 2

HTTP Method: POST


Request:

Body:

{
    "token":"E2CA46AC1DD04F08842777BBF3823FA3",
     "fields_set":"number,submitted_by,subscription,sub_action_type,job,action_type",
    "subscription_identifier":{
        "number":"S60708"
    },
"usage_detail_record_set" :[
        {
            "product_identifier" : { "code" : "Movie 2" },
            "type_identifier":{ "name" : "Discounted" },
            "usage_service_catalog_identifier":{"name":"Test Product"},
            "billing_directive":"TO_BE_BILLED",
            "from_date": "2015-09-23T19:07:44",
            "to_date": "2015-09-30T19:07:44",
            "usage_amount" : 20,
            "subscription_service" : {"service_identifier": {"code":"Gold"}},
            "destination_category_identifier":{"name":"Voip Application"},
            "source_category_identifier":{"name":"United Kingdom"},
            "provisioning_distributor_identifier":{"name":"Nagra Media Live 1"}
        }
    ]
} 


Response:

{
  "status": {
    "message": "",
    "description": "",
    "code": "OK"
  },
  "data": {
    "action_type": null,
    "sub_action_type": null,
    "number": "4345",
    "submitted_by": {
      "person_name": "Marios Lannister",
      "username": "MPAdministrator",
      "id": "1",
      "email": "sakkascy1986@hotmail.com"
    },
    "job": null,
    "subscription": {
      "life_cycle_state": "EFFECTIVE",
      "accounts_receivable": {
        "account_owner": {
          "last_name": "Mika",
          "middle_name": null,
          "life_cycle_state": "FINANCIAL",
          "company_profile": null,
          "title": "Ms",
          "first_name": "Dina",
          "type": "PERSON",
          "id": "9ED00E7228634EF986807DF4D86A3F84",
          "name": "Mika Dina",
          "company_name": null,
          "demographics": {
            "gender": null,
            "passport_issued_by_country": null,
            "social_security_number": null,
            "passport_number": null,
            "industry_sector": null,
            "country_of_residence": {
              "three_character_code": "USA",
              "two_character_code": "US",
              "id": "127",
              "name": "UNITED STATES",
              "alternative_code": null
            },
            "name_day": {
              "month": null,
              "day": null
            },
            "date_of_birth": {
              "month": null,
              "day": null,
              "year": null
            },
            "id_number": "14587522",
            "industry": null,
            "id_issued_by_country": null
          }
        },
        "life_cycle_state": "ACTIVE",
        "number": "ACR000525",
        "id": "C8A54A6BB4B9423AA560D6B955CD1271",
        "name": "Dina Mika"
      },
      "number": "S60708",
      "type": {
        "id": "D433A85FB6CD4880A1BCEEB1E164EFA4",
        "name": "London",
        "description": "Subscription for London customers",
        "alternative_code": "LND"
      },
      "id": "C9EE8F9CC81143538BE2462684D04733",
      "first_activated_date": "2016-02-18T14:42:41",
      "rating_state": "PENDING"
    }
  }
}
 Example 3

HTTP Method: POST


Request:

Body:

{
"token":"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9",
    "subscription_identifier":{
        "number":"S0000009206"
    },
"usage_detail_record_set" :[
        {
            "product_identifier" : { "code" : "Usage Service 3" },
            "usage_service_catalog_identifier":{"name":"Test"},
            "billing_directive":"TO_BE_BILLED",
            "usage_amount" : 5,
            "subscription_service" : {"service_identifier": {"code":"Bronze"}}
        },
        {
            "product_identifier" : { "code" : "Serendipity" },
            "usage_service_catalog_identifier":{"name":"Require Installed Item"},
            "billing_directive":"TO_BE_BILLED",
            "usage_amount" : 5,
            "subscription_service" : {"service_identifier": {"code":"Bronze"}},
            "installed_item_identifier":{"serial_number":"smartcard_7385_01"}
        }
    ]
}


Response:

    {
        "data":
        {
            "performed_by": null,
            "action_type": null,
            "transaction_reference_number": null,
            "submitted_by":
            {
                "person_name": "CRM COM",
                "id": "1",
                "username": "MPAdministrator"
            },
            "executed_on": "2017-10-18T10:07:48",
            "life_cycle_state": "EXECUTED",
            "subscription":
            {
                "number": "S0000009206",
                "first_activated_date": "2017-10-18T08:48:58",
                "rating_state": "PENDING",
                "accounts_receivable":
                {
                    "number": "ACR0000012733",
                    "name": "ACR0000012733 Test 7738_02",
                    "id": "8A0A9CCA05BB4B5F8625CB20C73C123A",
                    "life_cycle_state": "ACTIVE",
                    "account_owner":
                    {
                        "company_profile": null,
                        "company_name": null,
                        "name": "Test 7738_02",
                        "last_name": "7738_02",
                        "id": "A3755B28A26A4E76B294093F159BDDBA",
                        "life_cycle_state": "FINANCIAL",
                        "middle_name": null,
                        "title": null,
                        "type": "PERSON",
                        "first_name": "Test",
                        "demographics":
                        {
                            "name_day":
                            {
                                "month": null,
                                "day": null
                            },
                            "id_number": "7738_02",
                            "gender": null,
                            "country_of_residence":
                            {
                                "alternative_code": "CYP",
                                "three_character_code": "CYP",
                                "name": "CYPRUS",
                                "id": "181",
                                "two_character_code": "CY"
                            },
                            "date_of_birth":
                            {
                                "month": null,
                                "year": null,
                                "day": null
                            },
                            "industry_sector": null,
                            "passport_number": null,
                            "industry": null,
                            "social_security_number": null,
                            "id_issued_by_country": null,
                            "passport_issued_by_country": null
                        }
                    }
                },
                "id": "9B6C8150B5CB401F982729D1FF5AED56",
                "life_cycle_state": "EFFECTIVE",
                "type":
                {
                    "alternative_code": "normalsub",
                    "name": "Normal",
                    "description": null,
                    "id": "D1BAE6454A2248189EBCD7ADD3B4B65F"
                }
            },
            "scheduled_date": "2017-10-18T10:07:25",
            "performed_on": null,
            "sub_action_type": null,
            "business_classification_code": "ADD_SERVICE_USAGE",
            "number": "25508",
            "submitted_on": "2017-10-18T10:07:25",
            "id": "B9977262DC624794ACACC469D1ECF237",
            "job": null,
            "behavior_code": "ADD_SERVICE_USAGE",
            "performed_by_unit": null
        },
        "status":
        {
            "code": "OK",
            "description": "",
            "message": ""
        }
    }

Related pages