Scenario Sections

Create a scenario section

Changed on

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

post/api/v2/scenario_sections

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_sections
  • Auth
    none declared

Request body

Example request

{
  "data": {
    "type": "scenario_sections",
    "attributes": {
      "name": "Design phase",
      "scenario_id": 42,
      "position": 1
    }
  }
}

Response

Single scenario section

Example response

{
  "data": {
    "id": "101",
    "type": "scenario_sections",
    "attributes": {
      "name": "Design phase",
      "position": 1,
      "preferences": {}
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "1"
        }
      },
      "scenario": {
        "data": {
          "type": "scenarios",
          "id": "42"
        }
      }
    }
  }
}

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