---
title: "Creating a new Estimate Scenario Resource"
method: POST
path: "/estimate_scenario_resources"
tags: ["Estimate Scenario Resources"]
---

# Creating a new Estimate Scenario Resource

`POST /estimate_scenario_resources`

## Request

- Base URL: `https://api.mavenlink.com/api/v1`
- URL: `https://api.mavenlink.com/api/v1/estimate_scenario_resources`
- Auth: none declared

This endpoint returns structured Estimate Scenario Resource objects.
As with all Kantata OX API endpoints, the returned data will be referenced in sorted order in the `results` array
and will be indexed by ID in the `estimate_scenario_resources` top-level JSON key.
Please see our [Response Format](#section/Response-Format) section for more information.

## Query parameters

- `include` string

## Request body

- object
  - `estimate_scenario_resource` object
    - `estimate_scenario_id` integer, required: The estimate scenario to which the resource is attached.
    - `label` string: The name of the resource. An auto-generated label will be supplied if not present.
    - `role_id` integer, required: The role with which the resource will be associated.
    - `allocation_attributes` object
      - `duration_days` integer: The number of business days a resource is expected to work on the project.
      - `percent_allocated` number, float: The percentage of available hours the resource will work on the project.
      - `relative_start_day` integer: The zero-based day that a scenario resource is expected to start working on the project, relative to the start date of the estimate scenario.
    - `external_reference` object: Typically populated programmatically by a third party system via an integration, this is an optional object that holds data from an external system. It connects objects in an external system with objects in Kantata OX (for example, to connect a Jira issue to a Kantata OX Project).
      - `service_name` string, required: The provider name of the integration. If you are adding multiple external references to the same object, the `service_name` must be unique.
      - `service_model` string, required: The object type of the external object this external reference belongs to.
      - `service_model_ref` string, required: The object ID of the external object this external reference belongs to.
      - `status` string: The status of the integration. Options are `successful`, `pending`, or `failed`.
      - `external_message` string: The message on the external object.
      - `external_link` string: The link to the external object.
      - `external_status` string: The status of the external object in the external system.
      - `locked` boolean: Whether the subject is locked.

## Response `200`

Estimate Scenario Resource has been created.

- object
  - `count` integer
  - `meta` object
    - `count` integer
    - `page_count` integer
    - `page_number` integer
    - `page_size` integer
  - `results` object[]
    - `key` string
    - `id` string
  - `estimate_scenario_resources` object
  - `external_references` object
  - `users` object
  - `roles` object
  - `organization_memberships` object
  - `estimate_scenario_resource_allocations` object
  - `organizations` object

## Other responses

- `400`: Bad Request
- `401`: Unauthorized request
- `403`: Forbidden request
- `404`: Page Not Found
- `422`: Unprocessable Entity
- `503`: Service is unavailable

---

[API](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation.md) - [All operations](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/llms.txt) - [OpenAPI document](https://skmtc.dev/kantata/apis/kantata-ox-api-documentation/revisions/9d4ebed2fa98?raw)
