Change Tariff Group Parameters

Top  Previous  Next

Request Parameters

Parameter

Description

Mandatory

id

ID of a group which parameters will be changed

yes

name

Group name

no

description

Group description

no

You cannot change parent group and the list of installed components for user tariff groups.

You cannot change group name, parent group, and the list of installed components for base tariff groups.

Request Example

Response Documents Structure

XML response.

JSON response.

XML Response Structure

<drweb-avdesk-api api_version="4.1.3" local_timestamp="1293705273" server="192.168.1.1" srv_version="10.01.0.201707130" status="true" timestamp="1293683673">
<group id="4d7ed61a-1ed1-4a3a-aea7-02edc20febe8"/></drweb-avdesk-api>

Description of XML Response Parameters

The <group /> element contains information about changed tariff group.

The <group /> element attributes:

Attribute

Description

id

Tariff group ID

JSON Response Structure

{   "head": {
  "status": true,
  "timestamp":1410160207,
  "api":{
      "version":40103
  },
  "server":{
      "name":"192.168.1.1",
      "version":1000201707130,
      "uuid": "70c5f522-aaab-4c93-a180-a442a0da9c2a"
    }
   },
  "data": {
      "id":"my_frommy"
  }
}

Description of JSON Response Parameters

The data block contains information about the changed tariff group.

The data block elements:

Field name

Description

id

Identifier of changed tariff group