Scenario Items

Create a scenario item

Changed on

Create a new scenario item. Requires the Scenario Builder feature on the organization's plan.

post/api/v2/scenario_items

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/scenario_items
  • Auth
    none declared

Request body

Example request

{
  "data": {
    "type": "scenario_items",
    "attributes": {
      "scenario_service_id": 201,
      "person_id": 7,
      "used_quantity": "40.0",
      "start_date": "2026-03-02",
      "end_date": "2026-04-24"
    }
  }
}

Response

Single scenario item

Example response

{
  "data": {
    "id": "301",
    "type": "scenario_items",
    "attributes": {
      "start_date": "2026-03-02",
      "end_date": "2026-04-24",
      "used_quantity": "40.0",
      "markup": "20.0",
      "discount": "10.0",
      "cost": 9000,
      "price": 12000
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "1"
        }
      },
      "person": {
        "data": {
          "type": "people",
          "id": "7"
        }
      },
      "scenario_service": {
        "data": {
          "type": "scenario_services",
          "id": "201"
        }
      }
    }
  }
}

Changes

    • warning

      added the new bad_decimal_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum value to the // response property for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • warning

      removed the request property //

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status

    • warning

      removed the optional property // from the response with the status