Scenario Bookings

Update a scenario booking

Changed on

Update a scenario booking's attributes.

patch/api/v2/scenario_bookings/{id}

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_bookings/{id}
  • Auth
    none declared

Path parameters

idstring required

ID

Request body

Example request

{
  "data": {
    "type": "scenario_bookings",
    "attributes": {
      "time": 300,
      "note": "Extended sprint"
    },
    "id": "401"
  }
}

Response

Single scenario booking

Example response

{
  "data": {
    "id": "401",
    "type": "scenario_bookings",
    "attributes": {
      "time": 240,
      "total_time": 2400,
      "started_on": "2026-03-02",
      "ended_on": "2026-03-13",
      "booking_method_id": 1,
      "total_working_days": 10,
      "note": "Kickoff sprint"
    },
    "relationships": {
      "organization": {
        "data": {
          "type": "organizations",
          "id": "1"
        }
      },
      "scenario_item": {
        "data": {
          "type": "scenario_items",
          "id": "301"
        }
      },
      "creator": {
        "data": {
          "type": "people",
          "id": "7"
        }
      }
    }
  }
}

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

    • info

      added the non-success response with the status

    • info

      the request property // became optional

    • info

      the request property // became optional

    • info

      the request property // became optional