---
title: "RoleAssignmentsByRoleId (Pipedrive)"
description: "P\u0159i\u0159azen\u00ED rol\u00ED podle role"
language: cs
source_language: en
translation_state: pending
canonical: https://documentation.invantive.eu/cs/datamodels/pipedrive/Pipedrive.Users.RoleAssignmentsByRoleId
original: https://documentation.invantive.eu/en/datamodels/pipedrive/Pipedrive.Users.RoleAssignmentsByRoleId
updated: 2026-12-04T21:16:18Z
license: https://documentation.invantive.eu/cs/
---

# RoleAssignmentsByRoleId: Pipedrive Role Assignments by Role

`insert` `REST`

- Katalog: `Pipedrive`
- Schéma: `Users`
- Primární klíče: `role_id, user_id`
- Label: Role Assignments by Role

Pomocí `insert` lze načíst a měnit data.

## Shrnutí

The users assigned to one role. Each request costs 10 tokens of the daily budget of the company.

## Zdroj API

- Koncový bod: `/roles/{id}/assignments`

## Parametry

| Jméno | Datový typ | Vyžadováno | Výchozí | Dokumentace |
|---|---|:---:|---|---|
| `role_id` | `int64` | [x] |  | The role id. |

## Sloupce tabulky

Sloupce tabulky `RoleAssignmentsByRoleId` jsou uvedeny níže. Každý sloupec má datový typ SQL. Pro každý požadovaný sloupec musí být vždy během vkládání a aktualizace zadána nová hodnota, která není nulová (non-null).

| Jméno | Datový typ | Štítek | Vyžadováno | Značky | Dokumentace |
|---|---|---|:---:|---|---|
| `active_flag` | `char` | Příznak „Aktivní“ | [ ] | filtry na platformě, zapisovatelné, vypočítané, `active_flag` | Whether the role is active or not. |
| `name` | `varchar2` | Jméno | [ ] | filtry na platformě, zapisovatelné, vypočítané, `name` | The name of the role. |
| `parent_role_id` | `int64` | ID role rodiče | [ ] | filtry na platformě, zapisovatelné, vypočítané, `parent_role_id` | The ID of the parent role. |
| `role_id` | `int64` | ID role | [x] | filtry na platformě, zapisovatelné, vypočítané, `role_id` | The role ID. |
| `type` | `varchar2` | Typ | [ ] | filtry na platformě, zapisovatelné, vypočítané, `type` | The assignment type. |
| `user_id` | `int64` | ID Uživatele | [x] | filtry na platformě, zapisovatelné, `user_id` | The user ID. |
