Training
For clients
Загружается...
The object contains user data and links to related objects.
Used in resources: User
| Field name | Type | Conditions | Description |
|---|---|---|---|
| account | object | readable | Financial data of the user. |
| active_banners | integer | readable min_value=-2147483647 max_value=2147483647 | Number of active banners. |
| additional_emails | list of email | readable writable | List of additional user's emails. |
| additional_info | AdditionalUserInfo | readable writable | The object that contains additional information about the user. |
| agency | Agency | readable | User agency information. It is returned only for the agency tokens acquired with the Client Credentials Grant method. |
| agency_username | string | readable | Main user agency name, if applicable. |
| available_mailings | list of string | readable | User available mailing lists. |
| branch_username | string | readable | Main agency user name, if applicable. |
| currency | string | readable default_field | User currency. |
| readable default_field | |||
| firstname | string | readable default_field | First name |
| id | id | readable default_field min_value=1 max_value=2147483647 | User ID. |
| info_currency | string | readable writable default_field | User currency. |
| language | string | readable writable default_field choices =
| User language. |
| lastname | string | readable default_field | Last name |
| mailings | list of string | readable writable | User mailing lists. |
| max_active_banners | integer | readable min_value=-2147483647 max_value=2147483647 | Maximum number of active banners. |
| permissions | object | readable | List of user permissions specified in the following format: 'permission' -> 'true/false'. For example: {'can_create_ads': true}. |
| regions | UserRegions | readable | Object containing information about regions for installation when creating advertisements. |
| status | string | readable writable default_field choices =
| Status |
| types | list of string | readable default_field | User types. |
| username | string | readable default_field | User login in the service. |