Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Available from CRM.COM R13.1.0

Excerpt

This method adds Usage Allowance Limits to an accounts Receivable but only if the active Accounts Receivable Definition allows it. A single Accounts Receivable is updated by each call

Resource URL

Parameters

...

Name

...

Type

...

Description

...

token

...

String

...

The token retrieved from the login method

...

(mandatory)

...

The identifier of the account receivable to be updated. The allowed account receivable identifier fields are the following:

...

block_services_not_included_in_usage_allowance_limits_settings

(optional)

...

percentage_of_allowed_exceeded_usage_limit

(optional)

...

accumulated_maximum_rated_amount_per_day

(optional)

...

accumulated_maximum_rated_amount_per_month

(optional)

...


Tip

Available from CRM.COM R13.1.0


Tip

Deprecated from CRM.COM R17.0.0


Excerpt

This method adds Usage Allowance Limits to an accounts Receivable but only if the active Accounts Receivable Definition allows it. A single Accounts Receivable is updated by each call

Resource URL

Parameters

...

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified
  • It is mandatory to specify one of the semi-optional on conditions parameters, only if one of the semi-optional parameters is specified. There is no limit of how many of those parameters is allowed to specified

Response Data

...

Examples

...

titleExample 1

HTTP Method: POST

 

Request

Body

...

themeConfluence
languagejavascript
linenumberstrue

...

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:

Include Page
V4:accounts_receivable_identifier_post
V4:accounts_receivable_identifier_post

block_services_not_included_in_usage_allowance_limits_settings

(optional)

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

block_usage_consumption_when_all_amounts_exceed_credit_limit

(optional)

Boolean

Defines if the usage consumption will be blocked in cases where the billed and un-billed amounts exceed the account's allowed credit limit

Tip

Available from CRM.COM R14.4.0


percentage_of_allowed_exceeded_usage_limit

(optional)

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

accumulated_maximum_rated_amount_per_day

(optional)

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

accumulated_maximum_

usage

rated_amount_per_

day

month

(optional)

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

accumulated_maximum_

usage

rated_amount_per_

month

transaction

(optional)

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

accumulated_maximum_usage_per_

transaction

day

(optional)

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

accumulated_maximum_usage_

services

per_

allowance

month

(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

...

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

usage_allowance_organisational_units_set

(optional)

Set of Usage Allowance Organisational Units object

The usage allowance organisational units

Tip

Available from CRM.COM R14.4.0


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

Anchor
accounts_receivable_usage_allowance_limits_add referred objects
accounts_receivable_usage_allowance_limits_add referred objects
Referred Objects Response Data

Include Page
V4:usage_allowance_limits_parameter
V4:usage_allowance_limits_parameter

Restrictions

  • It is mandatory to specify one of the semi-optional parameters. Only one of those parameters is allowed to be specified
  • It is mandatory to specify one of the semi-optional on conditions parameters, only if one of the semi-optional parameters is specified. There is no limit of how many of those parameters is allowed to specified

Response Data

Include Page
V4:accounts_receivable_complete
V4:accounts_receivable_complete

Examples

Expand
titleExample 1

HTTP Method: POST


Request

Body

Code Block
languagejavascript
themeConfluence
linenumberstrue
{
  "token": "{{token}}",
 "accounts_receivable_identifier" : {
     "number" : "ACR0000001526"
    },
    "accumulated_maximum_rated_amount_per_day":150.5,
    "usage_services_allowance":
    [
        {
        "action":"add",
        "service":{"code":"Serendipity"},
        "maximum_rated_amount_per_month":10
        }
        ,
        {
        "action":"add",
        "service_type":{"name":"Exxon"},
        "maximum_rated_amount_per_transaction":24
        }
            ,
        {
        "action":"add",
        "service_family":{"code":"CH"},
        "maximum_usage_per_transaction":2
        }
    ]
        ,"fields_set":"usage_allowance_limits,name"
}

Response

Code Block
languagejavascript
themeConfluence
linenumberstrue
{
    "data": {
        "name": "ACR0000001526 John CN UAL",
        "usage_allowance_limits": {
            "percentage_of_allowed_exceeded_usage_limit": null,
            "accumulated_maximum_rated_amount_per_transaction": null,
            "usage_services_allowance": [
                {
                    "service_family": null,
                    "service_type": null,
                    "maximum_rated_amount_per_day": "100",
                    "service": {
                        "code": "Exxon Petrol",
                        "product_type": {
                            "service_type": "USAGE",
                            "used_for_provisioning": false,
                            "alternative_code": "E2",
                            "udr_type": {
                                "unit_of_measurement": {
                                    "alternative_code": "L",
                                    "name": "Litre",
                                    "description": "Littres",
                                    "id": "A588A14FFA214303BD2182BCF6E9ACCF"
                                },
                                "alternative_code": "T",
                                "name": "Test",
                                "description": null,
                                "id": "C72DCF90AD66467388FA0B7725A24E21"
                            },
                            "composition_method": "FLAT",
                            "name": "Exxon",
                            "description": null,
                            "id": "ACA2649D85044264AADC31B5DB0BC567",
                   {         "actionclassification": "addSERVICES",
        "service":{"code":"Serendipity"},                    "maximumphysical_rated_amount_per_month":10good_type": null
               }         },
        {                "actionalternative_code": "addEP",
                  "service_type      "description":{ "namePetrol":"Exxon"},
          "maximum_rated_amount_per_transaction":24         }     "id": "E1EB6B2EBFC444A1BEA9A030A5B4D56D"
      ,         {     },
   "action":"add",         "service_family":{"code":"CH"},         "maximum_usage_per_transaction":2
        } null,
    ] }

Response

Code Block
themeConfluence
languagejavascript
linenumberstrue
{     "data": {         "notesmaximum_rated_amount_per_month": null,
 
      "log_information": {             "createdmaximum_usage_byper_unitday": null,
  {                  "alternative_codemaximum_rated_amount_per_transaction": "adminunit"null,
                "group_name    "maximum_usage_per_month": "Mainnull
Group",                 "community_name": "Community",},
                {
 "name": "Admin Unit",                 "descriptionservice_family": "admin unit",{
                        "idcode": "1CH",
            },             "updated_by_unitname": {"Channels",
                "alternative_code": "adminunit",          "description": null,
      "group_name": "Main Group",                 "community_nameid": "Community5432773B865246E3B10A47CD130183C7",
                  "name": "Admin Unit"},
                "description    "service_type": null,
  "admin unit",                 "idmaximum_rated_amount_per_day": "1"null,
            },        "service": null,
     "created_date": "2017-07-28T12:26:08",               "updated_datemaximum_usage_per_transaction": "2017-08-08T16:46:362",
            "updated_by_user": {                 "person_name"maximum_rated_amount_per_month": "MPAdministrator",null,
                   "id "maximum_usage_per_day": "1"null,
                "email    "maximum_rated_amount_per_transaction": null,

               "username": "MPAdministrator"    "maximum_usage_per_month": null
       },         },
   "created_by_user": {            {
    "person_name": "MPAdministrator",                 "idservice_family": "1",null,
                    "emailservice_type": null,
                "username": "MPAdministrator"          "maximum_rated_amount_per_day": null,
  }         },         "payment_preferences_setservice": {
[],          "owned_by_group": {             "alternative_code": "MGExxon Unleaded",
            "community_name": "Community",             "nameproduct_type": "Main{
Group",             "description": "Main Group",             "idservice_type": "1USAGE",
        },          "description": null,         "contactused_for_informationprovisioning": false,
{              "company_profile": null,             "companyalternative_namecode": null"E2",
            "name": null,                "last_name": "Τζιηρτζιηπή",
     udr_type": {
      "id": "7B7A165FD2804DA59BFE70F353F79579",             "life_cycle_state": "FINANCIAL",
            "middleunit_of_namemeasurement": "νΊΚοΥ",
  {
         "title": null,             "type": "PERSON",             "firstalternative_namecode": "ΚατερίναL",
            "demographics": {                 "name_day": {     "name": "Litre",
              "month": null,                     "daydescription": null"Littres",
                   },                 "id_number": null,"A588A14FFA214303BD2182BCF6E9ACCF"
                         "gender": null,      },
          "date_of_birth": {                     "monthalternative_code": null"T",
                    "year": null,           "name": "Test",
          "day":  null                 },   "description": null,
            "industry_sector": null,                    "passport_numberid": null, "C72DCF90AD66467388FA0B7725A24E21"
                     "industry": null,      },
          "social_security_number": null,                 "id_issued_by_countrycomposition_method": null"FLAT",
                "passport_issued_by_country": null           "name": "Exxon",
}         },         "billing_address": null,         "primary_accountdescription": truenull,
        "type": "CUSTOMER",         "udf_date_2": null,         "udf_date_1id": null"ACA2649D85044264AADC31B5DB0BC567",
        "udf_date_4": null,         "udf_date_3": null,         "numberclassification": "ACR0000001392SERVICES",
        "udf_float_3": null,         "udf_float_4": null,         "balancephysical_good_type": null,
         "credit_period_operator": "PLUS",              "credit_period": 0 },
        "currency": {                "suffixalternative_symbolcode": "N/AEU",
            "prefix_symbol": "€",             "decimal_part_namedescription": "centsExxon Unleaded",
            "code": "EUR",             "integer_part_name"id": "euro",3F174D8E87474A2AB115A2BFD2750FBB"
                    },
 "id": "2"         },         "idmaximum_usage_per_transaction": "76FBE26DE50D424987AC4CC69619A9C5"null,
        "opening_balance": 0,            "udf_float_1maximum_rated_amount_per_month": null,
          "udf_float_2": null,         "udfmaximum_usage_stringper_2day": null"30",
          "opening_balance_date": null,         "udf_string_3maximum_rated_amount_per_transaction": null,
          "udf_string_4": null,         "udfmaximum_usage_stringper_5month": null,
         "privacy_level": {      },
      "number": "14",          {
    "name": "PL Group A_Share_Low",             "idservice_family": "9DCEFDA9D56145978C265085CD146810"null,
            "hierarchy_level": 1        "service_type": {
               },         "presentmentservice_preferences_settype": [],"USAGE",
          "udf_string_1": null,              "lifeused_cyclefor_stateprovisioning": "ACTIVE"false,
        "classification": {                "alternative_code": "EE2",
            "name": "Employee",             "idudr_type": "E093533DA53A4167C69762073D1B13A8"{
        },         "usage_allowance_limits": {             "percentage_of_allowed_exceeded_usage_limit"unit_of_measurement": null,{
             "accumulated_maximum_rated_amount_per_transaction": null,             "usage_services_allowance": [    "alternative_code": "L",
           {                     "service_familyname": null"Litre",
                    "service_type": null,           "description": "Littres",
         "maximum_rated_amount_per_day": null,                       "serviceid": { "A588A14FFA214303BD2182BCF6E9ACCF"
                           "code": "Serendipity" },
                            "productalternative_typecode": {"T",
                            "service_typename": "USAGETest",
                            "used_for_provisioningdescription": truenull,
                            "alternative_codeid": "V",C72DCF90AD66467388FA0B7725A24E21"
                        },
                        "composition_method": "FLAT",
                            "name": "Usage ServicesExxon",
   
                        "description": "Used for VOD , PPV, TELEPHONE CALLS ETC",null,
                              "id": "751C638AA3534B768408AAC4D73CF516ACA2649D85044264AADC31B5DB0BC567",

                           "classification": "SERVICES",
                            "physical_good_type": null
                        },
 
                      "alternative_code"maximum_rated_amount_per_day": "S_1"null,

                       "descriptionservice": "VOD: Serendipity "null,
                        "id": "BD3ACEE7D6244DCAA375D0744DA75540""maximum_usage_per_transaction": null,
                     }"maximum_rated_amount_per_month": null,
                    "maximum_usage_per_transactionday": null,
                    "maximum_rated_amount_per_monthtransaction": "10.0024",
                    "maximum_usage_per_daymonth": null,
                },
               "maximum_rated_amount_per_transaction": null, {
                    "maximum_usage_per_monthservice_family": null,
                    "service_type": null,
    },                 {"maximum_rated_amount_per_day": null,
                    "service_family": null,{
                        "service_typecode": {"Serendipity",
                        "serviceproduct_type": "USAGE", {
                            "usedservice_for_provisioningtype": false"USAGE",
                            "alternativeused_for_codeprovisioning": "E2"true,
                            "compositionalternative_methodcode": "FLATV",
     
                  "name": "Exxon",         "udr_type": {
              "description": null,                 "unit_of_measurement": null,
      "id": "ACA2649D85044264AADC31B5DB0BC567",                         "classificationalternative_code": "SERVICESV",

                       "physical_good_type": null        "name": "VOD",
           },                     "maximum_rated_amount_per_daydescription": null,
                    "service": null,            "id": "B3CFC986221548279752B1ABC6F4C480"
             "maximum_usage_per_transaction": null,              },
      "maximum_rated_amount_per_month": null,                     "maximum_usage_per_daycomposition_method": null"FLAT",
                    "maximum_rated_amount_per_transaction": "24.00",       "name": "Usage Services",
           "maximum_usage_per_month": null                 },  "description": "Used for VOD , PPV, TELEPHONE CALLS ETC",
       {                     "service_familyid": {"751C638AA3534B768408AAC4D73CF516",
                            "codeclassification": "CHSERVICES",
                            "namephysical_good_type": "Channels",null
                        "description": null},
                        "idalternative_code": "5432773B865246E3B10A47CD130183C7S_1",
                    },                     "service_type": null,"description": "VOD: Serendipity ",
                        "maximum_rated_amount_per_dayid": null,"BD3ACEE7D6244DCAA375D0744DA75540"
                    "service": null},
                    "maximum_usage_per_transaction": "2.00"null,
                    "maximum_rated_amount_per_month": null"10",
                    "maximum_usage_per_day": null,
                    "maximum_rated_amount_per_transaction": null,
                    "maximum_usage_per_month": null
                }
            ],
            "block_services_not_included_in_usage_allowance_limits_settings": null1,
            "accumulated_maximum_usage_per_day": null,
            "accumulated_maximum_usage_per_month": null,
            "accumulated_maximum_rated_amount_per_month": null"1000",
            "currency": null,
 {
          "accumulated_maximum_rated_amount_per_day": "50.50",             "accumulated_maximum_usage_per_transactionsuffix_symbol": null"N/A",
        },         "creditprefix_limit_statussymbol": null"€",
        "credit_rating": {             "codedecimal_part_name": "AAAcents",
                "namecode": "key_aaa_-_subject_to_minimal_credit_risk"EUR",
        },         "integer_part_name": "ACR0000001392 Κατερίνα Τζιηρτζιηπήeuro",
        "outstanding_amount": null,        "id": "udf_string_6": null,2"
           "udf_string_7": null, },
            "accounting_periodaccumulated_maximum_rated_amount_per_day": null"150.5",
         "access_tokens_set   "accumulated_maximum_usage_per_transaction": [],null
        "udf_string_8": null}
    },
    "status": {
        "code": "OK",
        "description": "",
        "message": ""
    }
}


...