Skip to end of banner
Go to start of banner

subscriptions/installed_items/configuration

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 12 Next »

Available from CRM.COM R6.0.0

GET subscriptions/installed_items/configuration/become_subscriber/list

This method returns the the physical goods that can be used to create a new subscription of a specific type and billing term scheme. Multiple physical goodsare returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

subscription_type_identifier

(mandatory)

Subscription Type Identifier

The identifier of the the subscription type that will be used in the subscription. The allowed subscription type identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the subscription type

name

(semi-optional)

String

The name of the subscription type

alternative_code

(semi-optional)

String

The alternative code of  the subscription type

provisioning_distributor_identifier

(optional)

Provisioning Distributor Identifier

The identifier of the the provisioning distributor that will be used to distribute the physical goods. If specified then the physical goods will be filtered based on the specified provisioning distributor. 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

accounts_receivable_identifier

(optional)

Accounts Receivable Identifier

The identifier of the accounts receivable that will be owning the subscriptions related with the specified type. If specified then the subscription physical goods are filtered against the subscription physical goods restrictions specified in the active subscription definition, considering the subscriptions that are already owned by the specified accounts receivable. 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

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

Response Data

NameType Description

id

String

The ID of the retrieved subscription type physical good

product

Product Object

The actual product provided by the subscription type physical good

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

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

{
  "status": {
    "message": null,
    "description": null,
    "code": "OK"
  },
  "data": [
    {
      "product_type": {
        "physical_good_type": "TRACEABLE",
        "service_type": null,
        "used_for_provisioning": true,
        "composition_method": "FLAT",
        "classification": "PHYSICALGOODS",
        "name": "Decoders",
        "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
        "description": "Decoders",
        "alternative_code": "D"
      },
      "id": "12A61F321368703D77C48A0A085D9B7D",
      "description": "Decoders 2",
      "code": "Decoders 2",
      "alternative_code": "D2"
    },
    {
      "product_type": {
        "physical_good_type": "TRACEABLE",
        "service_type": null,
        "used_for_provisioning": true,
        "composition_method": "FLAT",
        "classification": "PHYSICALGOODS",
        "name": "Decoders",
        "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
        "description": "Decoders",
        "alternative_code": "D"
      },
      "id": "E8672BB71A9B1BD25E30705AC34D7D61",
      "description": "Decoders 1",
      "code": "Decoders 1",
      "alternative_code": "D1"
    },
    {
      "product_type": {
        "physical_good_type": "TRACEABLE",
        "service_type": null,
        "used_for_provisioning": true,
        "composition_method": "FLAT",
        "classification": "PHYSICALGOODS",
        "name": "Smartcards",
        "id": "6173FC99331504AD1ACB5D697D54DA8C",
        "description": "Smartcards",
        "alternative_code": "SC"
      },
      "id": "80EEE8F6F46767AE32E6ABE68603E9F2",
      "description": "SmartCards 2",
      "code": "Smartcard 2",
      "alternative_code": "SC2"
    },
    {
      "product_type": {
        "physical_good_type": "TRACEABLE",
        "service_type": null,
        "used_for_provisioning": true,
        "composition_method": "FLAT",
        "classification": "PHYSICALGOODS",
        "name": "Smartcards",
        "id": "6173FC99331504AD1ACB5D697D54DA8C",
        "description": "Smartcards",
        "alternative_code": "SC"
      },
      "id": "EAC7A30429364176616CFEF5DF709941",
      "description": "Smartcard 1",
      "code": "Smartcard 1",
      "alternative_code": "SC1"
    }
  ]
}

GET subscriptions/installed_items/configuration/add_installed_items/list

This method returns the the physical goods that can be added on an existing subscription. Multiple physical goods are returned by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

subscription_identifier

(mandatory)

Subscription Identifier

The identifier of the the subscription on which the physical goods will be added on. The subscription physical goods are filtered against the subscription physical goods restrictions specified in the active subscription definition, considering the subscriptions that are already owned by the accounts receivable related with the specified subscription. 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

provisioning_distributor_identifier

(optional)

Provisioning Distributor Identifier

The identifier of the the provisioning distributor that will be used to distribute the physical goods. If specified then the physical goods will be filtered based on the specified provisioning distributor. 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

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

Response Data

NameType Description

id

String

The ID of the retrieved subscription type physical good

product

Product Object

The actual product provided by the subscription type physical good

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

Examples

 Example 1

HTTP Method: GET

 

Request:

Response:

 

 {
  "status": {
    "message": null,
    "description": null,
    "code": "OK"
  },
  "data": [
    {
      "product_type": {
        "physical_good_type": "TRACEABLE",
        "service_type": null,
        "used_for_provisioning": true,
        "composition_method": "FLAT",
        "classification": "PHYSICALGOODS",
        "name": "Decoders",
        "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
        "description": "Decoders",
        "alternative_code": "D"
      },
      "id": "12A61F321368703D77C48A0A085D9B7D",
      "description": "Decoders 2",
      "code": "Decoders 2",
      "alternative_code": "D2"
    },
    {
      "product_type": {
        "physical_good_type": "TRACEABLE",
        "service_type": null,
        "used_for_provisioning": true,
        "composition_method": "FLAT",
        "classification": "PHYSICALGOODS",
        "name": "Decoders",
        "id": "B4A1396AE3D1384B304A0FEB22F7BA50",
        "description": "Decoders",
        "alternative_code": "D"
      },
      "id": "E8672BB71A9B1BD25E30705AC34D7D61",
      "description": "Decoders 1",
      "code": "Decoders 1",
      "alternative_code": "D1"
    },
    {
      "product_type": {
        "physical_good_type": "TRACEABLE",
        "service_type": null,
        "used_for_provisioning": true,
        "composition_method": "FLAT",
        "classification": "PHYSICALGOODS",
        "name": "Smartcards",
        "id": "6173FC99331504AD1ACB5D697D54DA8C",
        "description": "Smartcards",
        "alternative_code": "SC"
      },
      "id": "80EEE8F6F46767AE32E6ABE68603E9F2",
      "description": "SmartCards 2",
      "code": "Smartcard 2",
      "alternative_code": "SC2"
    },
    {
      "product_type": {
        "physical_good_type": "TRACEABLE",
        "service_type": null,
        "used_for_provisioning": true,
        "composition_method": "FLAT",
        "classification": "PHYSICALGOODS",
        "name": "Smartcards",
        "id": "6173FC99331504AD1ACB5D697D54DA8C",
        "description": "Smartcards",
        "alternative_code": "SC"
      },
      "id": "EAC7A30429364176616CFEF5DF709941",
      "description": "Smartcard 1",
      "code": "Smartcard 1",
      "alternative_code": "SC1"
    }
  ]
}
  • No labels