Skip to end of banner
Go to start of banner

POST accounts_receivable/usage_allowance_limits/modify

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 3 Next »

Available from CRM.COM R13.1.0

This method modifies the usage allowance limits of an Accounts Receivable. A single Accounts Receivable is updated by each call

Resource URL

Parameters

Name

Type

Description

token

String

The token retrieved from the login method

accounts_receivable_identifier

(mandatory)

Account Receivable Identifier

The identifier of the account receivable to be updated. The allowed account 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

accumulated_maximum_rated_amount_per_day

(optional)

NumberThe accumulated maximum rated amount that the accounts receivable is allowed to use within a day.

accumulated_maximum_rated_amount_per_month

(optional)

NumberThe accumulated maximum rated amount that the accounts receivable is allowed to use within a month.

accumulated_maximum_rated_amount_per_transaction

(optional)

NumberThe accumulated maximum rated amount that the accounts receivable is allowed to use per transaction.

accumulated_maximum_usage_per_date

(optional)

NumberThe accumulated maximum usage amount that the accounts receivable is allowed to use within a day.

accumulated_maximum_usage_per_month

(optional)

NumberThe accumulated maximum usage amount that the accounts receivable is allowed to use within a month.

accumulated_maximum_usage_per_transaction

(optional)

NumberThe accumulated maximum usage amount that the accounts receivable is allowed to use per transaction.

usage_services_allowance

(optional)

Set of Usage Services Allowance objects

The usage allowance limits per usage service, service type or service family

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

Referred Objects Response Data

 usage_allowance_limits object parameter data

Name

Type

Description

service

(semi-optional)

Product Identifier

The product related with the usage allowance limit. 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

service_type

(semi-optional)

Product Type Identifier

The product type related with the usage allowance limit. The allowed service type identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product type

name

(semi-optional)

String

The name of the product type

alternative_code

(semi-optional)

String

The alternative code of  a product type

service_family

(semi-optional)

Product Family Identifier

The product family related with the usage allowance limit. The allowed service family identifier fields are the following:

Name

Type

Description

id

(semi-optional)

String

The ID of the product family

name

(semi-optional)

String

The name of the product family

code

(semi-optional)

String

The code of  a product family

maximum_rated_amount_per_day

(semi-optional on conditions, applicable only on adding or updating a Usage Allowance Limit)

NumberThe maximum rated amount that is allowed to use within a day on the specific usage service, service type or service family.

maximum_rated_amount_per_month

(semi-optional on conditions, applicable only on adding or updating a Usage Allowance Limit)

Number

The maximum rated amount that the accounts receivable is allowed to use within a month on the specific usage service, service type or service family.

Deprecated in CRM.COM R17.0.0

maximum_rated_amount_per_billing_cycle

(semi-optional on conditions, applicable only on adding or updating a Usage Allowance Limit)

Number

The maximum rated amount that is allowed to use within a billing cycle on the specific usage service, service type or service family.

Available from CRM.COM R17.0.0

maximum_rated_amount_per_transaction

(semi-optional on conditions, applicable only on adding or updating a Usage Allowance Limit)

NumberThe maximum rated amount that is allowed to use per transaction on the specific usage service, service type or service family.

maximum_usage_per_day

(semi-optional on conditions, applicable only on adding or updating a Usage Allowance Limit)

NumberThe maximum usage amount that is allowed to use within a day on the specific usage service, service type or service family.

maximum_usage_per_month

(semi-optional on conditions, applicable only on adding or updating a Usage Allowance Limit)

Number

The maximum usage amount that is allowed to use within a month on the specific usage service, service type or service family.

Deprecated in CRM.COM R17.0.0

maximum_usage_per_billing_cycle

(semi-optional on conditions, applicable only on adding or updating a Usage Allowance Limit)

Number

The maximum usage amount that is allowed to use within a billing cycle on the specific usage service, service type or service family.

Available from CRM.COM R17.0.0

maximum_usage_per_transaction

(semi-optional on conditions, applicable only on adding or updating a Usage Allowance Limit)

NumberThe maximum usage amount that the accounts receivable is allowed to use per transaction on the specific usage service, service type or service family.

Restrictions

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

Response Data

Name

Type

Description

block_services_not_included_in_usage_allowance_limits_settings

 

Boolean

Defines if the account owner can only consume services for which a Usage Allowance Limit is specified

Available from CRM.COM R13.1.0

percentage_of_allowed_exceeded_usage_limit

 

Number

The percentage of amount that the limit can be exceeded for the related accounts receivable

Available from CRM.COM R13.1.0

accumulated_maximum_rated_amount_per_dayFloatThe accumulated maximum rated amount that the accounts receivable is allowed to use within a day.
accumulated_maximum_rated_amount_per_monthFloatThe accumulated maximum rated amount that the accounts receivable is allowed to use within a month.
accumulated_maximum_rated_amount_per_transactionFloatThe accumulated maximum rated amount that the accounts receivable is allowed to use per transaction.
accumulated_maximum_usage_per_dateIntegerThe accumulated maximum usage amount that the accounts receivable is allowed to use within a day.
accumulated_maximum_usage_per_monthIntegerThe accumulated maximum usage amount that the accounts receivable is allowed to use within a month.
accumulated_maximum_usage_per_transactionIntegerThe accumulated maximum usage amount that the accounts receivable is allowed to use per transaction.
currencyCurrency objectThe accounts receivable's currency
usage_services_allowanceSet of Usage Services Allowance objects

The usage allowance limits per usage service, service type or service family

Referred Objects Response Data

 usage_allowance_limit_per_service object response data

Name

Type

Description

maximum_rated_amount_per_transactionNumberThe maximum rated amount that can be used per transaction on the specific usage service, service type or service family.
maximum_rated_amount_per_dayNumberThe maximum rated amount that can be used within a day on the specific usage service, service type or service family.
maximum_rated_amount_per_billing_cycleNumber

The maximum rated amount that can be used within a billing cycle on the specific usage service, service type or service family.

Available from CRM.COM R17.0.0

maximum_rated_amount_per_monthNumber

The maximum rated amount that can be used within a month on the specific usage service, service type or service family.

Deprecated in CRMCOM R17.0.0

maximum_usage_per_transactionNumberThe maximum usage amount that can be used per transaction on the specific usage service, service type or service family.
maximum_usage_per_dayNumberThe maximum usage amount that can be used within a day on the specific usage service, service type or service family.
maximum_usage_per_billing_cycleNumber

The maximum usage amount that can be used within a billing cycle on the specific usage service, service type or service family.

Available from CRM.COM R17.0.0

maximum_usage_per_monthNumber

The maximum usage amount that can be used within a month on the specific usage service, service type or service family.

Deprecated in CRM.COM R17.0.0

serviceProduct objectThe product related with the retrieved usage allowance limit.
service_type Product Type objectThe product type related with the retrieved  usage allowance limit.
service_family  Product Family objectThe product family related with the retrieved usage allowance limit.

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

 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

 product_family object data response
NameType Description
IdStringThe ID of the retrieved product family
nameStringThe Name of the retrieved product family
codeStringThe code of the retrieved product family
descriptionStringThe Description of the retrieved product family

 

Examples

 Example 1

HTTP Method: POST

 

Request

Body

 

Response

 


  • No labels