Versions Compared

Key

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

...

Изменение роли

Code Block
{
  "method": "ITV.bl.security.SecurityService.ChangeConfig",
  "data": {
    "modified_roles": [
      {
        "index": "21b8907c-bee4-4729-acf1-eeab31354b8b",
        "name": "57",
        "comment": "1581664337",
        "timezone_id": "00000000-0000-0000-0000-000000000000",
        "cloud_id": 11648,
        "supervisor": "2b74c26e-eb61-4499-b763-9df13148fb81"
      }
    ]
  }
}

Изменение пользователя

Code Block
{
  "method": "ITV.bl.security.SecurityService.ChangeConfig",
  "data": {
    "modified_users": [
      {
        "index": "26248a39-584f-4efb-8ad6-ccfb026b4c26",
        "login": "usr",
        "name": "usr_lab",
        "comment": "now 1581664730",
        "date_created": "20200213T114440",
        "date_expires": "",
        "enabled": false,
        "ldap_server_id": "00000000-0000-0000-0000-000000000000",
        "ldap_domain_name": "",
        "restrictions": {
          "web_count": 0,
          "mobile_count": 500
        },
        "email": "",
        "cloud_id": 158,
     		"extra_fields": {
       	  "SocialId": "test",
       	  "IpAddress": "160.85.208.94",
       	  "CompanyId": "test"
     	  },
        ],
        "locked_till": "19700101T000000"
      }
    ]
  }
}

Назначение пароля пользователю

Code Block
{
  "method": "ITV.bl.security.SecurityService.ChangeConfig",
  "data": {
    "modified_user_passwords": [
      {
        "user_index": "b7ecfde8-b080-45b9-9cb8-76ad85992666",
        "password": "BLekX1kJElmI9g",
        "expire_date": ""
      }
    ]
  }
}