Scenario Sections

Get scenario sections

Changed on

List scenario sections with optional filters. Returns paginated scenario section records the caller has access to.

get/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

Query parameters

OR

Filters

{
  "0": {
    "scenario_id": {
      "eq": 42
    }
  },
  "1": {
    "scenario_id": {
      "eq": 43
    }
  },
  "$op": "or"
}

Response

Collection 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"
          }
        }
      }
    }
  ],
  "meta": {
    "current_page": 1,
    "total_pages": 1,
    "total_count": 1,
    "page_size": 30,
    "max_page_size": 200
  }
}

Changes

    • 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