Skip to end of banner
Go to start of banner

GET activities/configuration/services/list

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

Version 1 Next »

This method returns the services that are allowed to be used by activities of specific type. Multiple services are returned by each call


Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

activity_type_identifier

(mandatory)

activity Type Identifier

The identifier of the type of the activity that will be using the services. The services are filtered against the allowed services of the specified type. The allowed activity type identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the activity type

name

(semi-optional)

String

The code of the activity type

alternative_code

(semi-optional)

String

The alternative code of  the activity type

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 activity type service

mandatoryBooleanDetermines if the activity type service is mandatory or not
time_spent_logging_methodString

Determines the time spend logging method of the retrieved activity type service. The supported values are the following:

FIXED or FLEXIBLE

automatically_appliedBooleanDetermines if the activity type service will be added automatically or not
minimum_time_spentTime Period ObjectThe minimum time that should be spent on the retrieved activity type service

service

Product Object

The actual product provided by the activity type service

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

 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": "",
        "description": "",
        "code": "OK"
    },
    "data":
    [
        {
            "automatically_applied": true,
            "time_spent_logging_method": "FIXED",
            "service":
            {
                "product_type":
                {
                    "service_type": "ONETIME",
                    "used_for_provisioning": false,
                    "classification": "SERVICES",
                    "composition_method": "FIXEDBUNDLE",
                    "id": "391D5E5E5F4F70FCA75C4D01ECAD0B6C",
                    "name": "One Time Services - Fixed",
                    "description": "One Time Services - Fixed",
                    "alternative_code": "OTS-F_1"
                },
                "id": "690A6B1932D34421A1EE254425F2CB12",
                "code": "Installation Service",
                "alternative_code": "IS"
            },
            "mandatory": true,
            "id": "1EB36F485FDB4C3CB58AD33FAE3EB6A9",
            "minimum_time_spent":
            {
                "time_period_value": 1,
                "time_period_uot": "DAYS"
            }
        },
        {
            "time_spent_logging_method": "FLEXIBLE",
            "service":
            {
                "product_type":
                {
                    "service_type": "ONETIME",
                    "used_for_provisioning": true,
                    "classification": "SERVICES",
                    "composition_method": "FIXEDBUNDLE",
                    "id": "AD3C6C3E2D2D4C9DA7BDBC2908718AEB",
                    "name": "One Time- Fixed B",
                    "description": "One time Fixed Bundle product",
                    "alternative_code": "OT-Fixed"
                },
                "id": "DFEA1EC8521F416AABB8D79305CEF600",
                "code": "Delivery Service",
                "alternative_code": "DS"
            },
            "mandatory": false,
            "id": "9B21815339F4432E856D4530D7408ACA",
            "minimum_time_spent":
            {
                "time_period_value": 2,
                "time_period_uot": "HOURS"
            }
        },
        {
            "time_spent_logging_method": "FLEXIBLE",
            "service":
            {
                "product_type":
                {
                    "service_type": "ONETIME",
                    "used_for_provisioning": true,
                    "classification": "SERVICES",
                    "composition_method": "FIXEDBUNDLE",
                    "id": "AD3C6C3E2D2D4C9DA7BDBC2908718AEB",
                    "name": "One Time- Fixed B",
                    "description": "One time Fixed Bundle product",
                    "alternative_code": "OT-Fixed"
                },
                "id": "7858EF0C20F34F87B845321352269EBD",
                "code": "Tuning Service",
                "alternative_code": "TS"
            },
            "mandatory": false,
            "id": "74F4478CB4554B4B80535D55694594B8",
            "minimum_time_spent":
            {
                "time_period_uot": "HOURS"
            }
        }
    ]
} 
  • No labels