Skip to end of banner
Go to start of banner

POST usage_service_catalogs/set_as_effective

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 »

Available from CRM.COM R8.0.0


This method is used to set a specific usage service catalog as effective. This method is applicable only on draft or not effective usage service catalogs. Only one usage service catalog can be updated on each call 

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

usage_service_catalog_identifier

(mandatory)

Usage Service Catalog Identifier

The identifier of the 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

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

Restrictions

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

Response Data

NameType Description
idStringThe ID of the retrieved usage service catalog
nameStringThe Name of the retrieved usage service catalog
alternative_codeStringThe Alternative Code of the retrieved usage service catalog
descriptionStringThe Description of the retrieved usage service catalog
termed_service_requirementsString

The settings related to whether a termed service will be required when adding a Usage Service on a Subscription. The supported values are the following:

  • REQ_EFFECTIVE_TERMED_SERVICE
  • REQ_EFF_NOT_EFF_TERMED_SERVICE
  • DOES_NOT_REQ_TERMED_SERVICE

Available from CRM.COM R13.0.0

From CRM.COM R14.0.0, DOES_NOT_REQ_TERMED_SERVICE value is not supported

Deprecated from CRM.COM R15.0.0

installed_item_requirementsString

The settings related to whether an installed item will be required when adding a Usage Service on a Subscription. The supported values are the following:

  • REQUIRES_INSTALLED_ITEM
  • DOES_NOT_REQ_INSTALLED_ITEM

Available from CRM.COM R14.0.0

Deprecated from CRM.COM R15.0.0

life_cycle_stateString

The life cycle state of the retrieved usage service catalog. The supported life cycle states are the following:

DRAFT, EFFECTIVE, NOT_EFFECTIVE, CANCELLED

From CRM.COM R15.0.0, CANCELLED is deprecated

From CRM.COM R17.0.0, DRAFT is deprecated

effective_date



Date

The Effective Date of the retrieved usage service catalog

Available from CRM.COM R14.0.0

Deprecated from CRM.COM R17.0.0


expiration_dateDate

The Expiration Date of the retrieved usage service catalog

Available from CRM.COM R14.0.0

Deprecated from CRM.COM R17.0.0

udf_string_1

String

User Defined Field of type String

udf_string_2

String

User Defined Field of type String

udf_string_3

String

User Defined Field of type String

udf_string_4

String

User Defined Field of type String

udf_string_5

String

User Defined Field of type String

udf_string_6

String

User Defined Field of type String

udf_string_7

String

User Defined Field of type String

udf_string_8

String

User Defined Field of type String

udf_float_1

Float

User Defined Field of type Float

udf_float_2

Float

User Defined Field of type Float

udf_float_3

Float

User Defined Field of type Float

udf_float_4

Float

User Defined Field of type Float

udf_date_1

Date

User Defined Field of type Date

udf_date_2

Date

User Defined Field of type Date

udf_date_3

Date

User Defined Field of type Date

udf_date_4

Date

User Defined Field of type Date

provisioning_providerProvisioning Provider Object

The provisioning provider related with the retrieved usage service catalog

Deprecated from CRM.COM R15.0.0

log_informationLog Information ObjectThe log information of the retrieved usage service catalog
validity_setSet of Usage Service Catalog Validity ObjectsThe  time periods during which the retrieved usage service catalog is available to be used.
validity_period_setSet of Usage Service Catalog Validity Period Objects

The  time periods during which the retrieved usage service catalog is available to be used

Available from CRM.COM R17.0.0

Referred Objects Response Data

 provisioning_provider object response data

Name

Type

Description

id

String

The id of the retrieved provisioning provider

name

String

The name of the retrieved provisioning provider

alternative_code

String

The alternative code of the retrieved provisioning provider

descriptionStringThe description of the retrieved provisioning providers
provisioning_protocolStringThe provisioning protocol used by the provisioning provider

 log_information object response data

Name

Type

Description

created_date

Date

The date that the retrieved record was created

updated_date

Date

The last date that the retrieved record was updated

created_by_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

created_by_business_unit

Unit Object

The unit that created the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Available from CRM.COM R18.0.0

created_by_user

User Object

The user that created the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

updated_by_unit

Unit Object

The last unit that updated the retrieved record

From CRM.COM R14.1.0 and onward, group_name and community_name attributes will be returned as empty, if the related legacy compatibility setting is disabled

Deprecated from CRM.COM R18.0.0

updated_by_business_unit

Unit Object

The last unit that updated the retrieved record

Available from CRM.COM R18.0.0

updated_by_user

User Object

The last user that updated the retrieved record

From CRM.COM R14.1.0 and onward, person_name and email attributes will be returned as empty, if the related legacy compatibility setting is disabled

Referred Objects Response Data

 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

 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

 usage_service_catalog_validity object data response
NameType Description
idStringThe id of the usage service catalog validity entry

valid_from

Date

The date that the usage service catalog should become valid

valid_toDate

The date that the usage service catalog should become invalid. This is optional as a usage service catalog can be valid for ever, starting from a specific date

 usage_service_catalog_validity object data response
NameType Description
idStringThe id of the usage service catalog validity entry

valid_date_from

Date

The date that the usage service catalog should become valid

valid_date_toDate

The date that the usage service catalog should become invalid. This is optional as a usage service catalog can be valid for ever, starting from a specific date

valid_month_fromStringThe month that the usage service catalog should become valid
valid_month_toStringThe month that the usage service catalog should become invalid
valid_day_fromStringThe day that the usage service catalog should become valid
valid_day_toStringThe day that the usage service catalog should become invalid

Examples

 Example 1

HTTP Method: POST

 

Request:

Body:

{
    "token":"A379559ECE1E49EFA893754C5322E8F3",
        "usage_service_catalog_identifier":{"name":"test l"}
} 

 

 

Response:

{
    "status":
    {
        "message": "",
        "description": "",
        "code": "OK"
    },
    "data":
    {
        "provisioning_provider":
        {
            "provisioning_protocol": "CONAX_CONTEGO_WEB_SERVICES",
            "id": "9C4930E3523BD2C8F0B513035322C423",
            "name": "CONAX V5",
            "description": "CONAX Contego 3.0 Web Services
connectSMS: Use to test the CA PIN update command
smsWs06: All othe",
            "alternative_code": "CV5"
        },
        "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": "test l",
        "udf_string_1": null,
        "udf_string_2": null,
        "udf_string_3": null,
        "udf_string_4": null,
        "udf_string_5": null,
        "udf_string_6": null,
        "log_information":
        {
            "updated_date": "2015-09-21T10:48:08",
            "created_date": "2015-09-11T11:38:42",
            "created_by_unit":
            {
                "community_name": "Internal Community",
                "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":
            {
                "community_name": "Internal Community",
                "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",
                "email": "sakkascy1986@hotmail.com"
            },
            "updated_by_user":
            {
                "person_name": "Marios Lannister",
                "username": "MPAdministrator",
                "id": "1"
            }
        },
        "udf_string_7": null,
        "udf_string_8": null,
        "validity_set":
        [
        ],
        "life_cycle_state": "EFFECTIVE",
        "id": "5E5AD41E3939402085F421612C20B0A9",
        "description": null,
        "alternative_code": "tl"
    }
} 
  • No labels