---
title: "Create job item role"
method: POST
path: "/job_items/{job_item_id}/job_item_roles"
tags: ["Job Items", "Job Item Roles"]
---

# Create job item role

`POST /job_items/{job_item_id}/job_item_roles`

## Request

- Base URL: `https://api.streamtime.net/v2`
- URL: `https://api.streamtime.net/v2/job_items/{job_item_id}/job_item_roles`
- Auth: HTTP bearer

## Path parameters

- `job_item_id` integer, required

## Request body

- JobItemRole: Role assignment on a job item, including planned time and rates.
  - `id` integer: Job item role ID
  - `jobItemId` integer: Job item ID
  - `roleId` integer: Role ID
  - `active` boolean: Is the role assignment active
  - `jobCurrencySellRate` number, float, nullable: Sell rate in job currency (per hour)
  - `totalPlannedMinutes` integer: Total planned minutes for this role
  - `jobCurrencyTotalPlannedTimeExTax` number, float, nullable: Total planned time ex tax (job currency) for this role
  - `jobCurrencyTotalPlannedTimeCostExTax` number, float, nullable: Total planned time cost ex tax

## Response `200`

Job item role created.

- JobItemRole: Role assignment on a job item, including planned time and rates.
  - `id` integer: Job item role ID
  - `jobItemId` integer: Job item ID
  - `roleId` integer: Role ID
  - `active` boolean: Is the role assignment active
  - `jobCurrencySellRate` number, float, nullable: Sell rate in job currency (per hour)
  - `totalPlannedMinutes` integer: Total planned minutes for this role
  - `jobCurrencyTotalPlannedTimeExTax` number, float, nullable: Total planned time ex tax (job currency) for this role
  - `jobCurrencyTotalPlannedTimeCostExTax` number, float, nullable: Total planned time cost ex tax

---

[API](https://skmtc.dev/streamtime/apis/public-api.md) · [All operations](https://skmtc.dev/streamtime/apis/public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/streamtime/apis/public-api/revisions/cda8d1405534?raw)
