Versions Compared

Key

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

Available from CRM.COM R13.0.0

Table of Contents
maxLevel2

...

Name

Type

Description

token

String

The token retrieved from the login method

usage_authorisation_identifier

(mandatory)

Usage Authorisation Identifier

The identifier of the usage authorisation. The allowed alert Identifier fields are the following:

Include Page
V4:usage_authorisation_identifier
V4:usage_authorisation_identifier


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

...

 { "data": { "authorisation_date": "2017-03-30T00:00:00", "usage_authorisation_services": [

Expand
titleExample 1

HTTP Method: POST


Request:

Response:

Response:

Code Block
themeConfluence
languagejavascript
linenumberstrue
Code Block
themeConfluence
languagejavascript
linenumberstrue
{
  "data": {
    "authorisation_date": "2017-04-04T00:00:00",
    "usage_authorisation_services": [
      {
        "service_family": null,
        "maximum_usage": 64,
        "service_type": null,
        "service": {
          "code": "Usage Service 3",
          "product_type": {
            "service_type": "USAGE",
            "used_for_provisioning": false,
            "alternative_code": "USTB",
            "udr_type": {
              "alternative_code": "L",
              "name": "Litres",
              "description": null,
              "id": "B1238270684F4457B6D8EBD4CA00963B"
            },
            "composition_method": "FLAT",
            "name": "Usage Service Type B",
            "description": null,
            "id": "8FEC7EEE39254E55ABA2C3382C432D2D",
            "classification": "SERVICES",
            "physical_good_type": null
          },
          "alternative_code": "US3",
          "description": "Usage Service 3",
          "id": "6444E6324BCE4A34A99DD795E55C016D"
        },
        "maximum_amount": "10",
        "id": "A2FFC6A9B83C4091BBA57DB37D590787"
      },
      {
        "service_family": null,
        "maximum_usage": 10,
        "service_type": {
          "service_type": "USAGE",
          "used_for_provisioning": false,
          "alternative_code": "USTA",
          "udr_type": {
            "alternative_code": "L",
            "name": "Litres",
            "description": null,
            "id": "B1238270684F4457B6D8EBD4CA00963B"
          },
          "composition_method": "FLAT",
          "name": "Usage Service Type A",
          "description": null,
          "id": "819661A2C34A4BBF9005E74387CD7A40",
          "classification": "SERVICES",
          "physical_good_type": null
        },
        "service": null,
        "maximum_amount": "82",
        "id": "50059BED5D2D4E87980607FDEBF00B8F"
      },
      {
        "service_family": null,
        "maximum_usage": 1,
        "service_type": null,
        "service": {
          "code": "Serendipity",
          "product_type": {
            "service_type": "USAGE",
            "used_for_provisioning": true,
            "alternative_code": "V",
            "udr_type": {
              "alternative_code": "V",
              "name": "VOD",
              "description": null,
              "id": "B3CFC986221548279752B1ABC6F4C480"
            },
            "composition_method": "FLAT",
            "name": "Usage Services",
            "description": "Used for VOD , PPV, TELEPHONE CALLS ETC",
            "id": "751C638AA3534B768408AAC4D73CF516",
            "classification": "SERVICES",
            "physical_good_type": null
          },
          "alternative_code": "S_1",
          "description": "VOD: Serendipity ",
          "id": "BD3ACEE7D6244DCAA375D0744DA75540"
        },
        "maximum_amount": "82",
        "id": "863CBFA6A43848B481752601CC267883"
      }
    ],
    "authorisation_amount": "50",
    "accounts_receivable": {
      "number": "ACR0000008125ACR0000011921",
      "name": "ACR0000008125ACR0000011921",
      "id": "A99AC83A26B9488089DFD9EFAB40BED820956A4C18C94A19BE75249D567DBA00",
      "life_cycle_state": "ACTIVE",
      "account_owner": {
        "company_profile": null,
        "company_name": null,
        "name": null,
        "last_name": "Allowance_12",
        "id": "932C4BC5D2374AA5AEA2DB3EDC4426D2198E7882488E4B5B936441EE0CE811C0",
        "life_cycle_state": "FINANCIAL",
        "middle_name": null,
        "title": null,
        "type": "PERSON",
        "first_name": "AC",
        "demographics": {
          "name_day": {
            "month": null,
            "day": null
          },
          "id_number": null,
          "gender": null,
          "date_of_birth": {
            "month": null,
            "year": null,
            "day": null
          },
          "industry_sector": null,
          "passport_number": null,
          "industry": null,
          "social_security_number": null,
          "id_issued_by_country": null,
          "passport_issued_by_country": null
        }
      }
    },
    "id": "79890340CF9B4896A366C95B6042C970E66D25BECAA348A2999F7B3D68F3B791",
    "life_cycle_state": "BLOCKED",
    "expiration_date": "2017-0405-30T2004T18:1258:5425"
  },
  "status": {
    "code": "OK",
    "description": "",
    "message": ""
  }
}

...

Name

Type

Description

token

String

The token retrieved from the login method

accounts_receivable_identifier
(mandatory)
 Accounts Receivable Identifier

The identifier of the accounts receivable related with the usage authorisations that should be returned as a result. The allowed accounts receivable identifier fields are the following:

Include Page
V4:accounts_receivable_identifier_post
V4:accounts_receivable_identifier_post

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

...

Name

Type

Description

token

String

The token retrieved from the login method

accounts_receivable_identifier
(mandatory)
 Subscription Identifier

The identifier of the accounts receivable related with the usage authorisation to be created. The allowed accounts receivable identifier fields are the following:

Include Page
V4:accounts_receivable_identifier_post
V4:accounts_receivable_identifier_post

authorisation_amount

(mandatory)

FloatThe amount of money the subscriber requests to be authorised

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

...

Name

Type

Description

token

String

The token retrieved from the login method

usage_authorisation_identifier

(mandatory)

String

The identifier of the usage authorisation to be cancelled. The allowed usage authorisation Identifier fields are the following:

Include Page
V4:usage_authorisation_identifier
V4:usage_authorisation_identifier

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

...