Scenario Services

Get scenario services

Changed on

List scenario services with optional filters. Returns paginated scenario service records the caller has access to.

get/api/v2/scenario_services

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

Query parameters

OR

Filters

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

Sort scenario service

Response

Collection scenario service

Example response

{
  "data": [
    {
      "id": "201",
      "type": "scenario_services",
      "attributes": {
        "name": "UX design",
        "billable": true,
        "billing_type_id": 1,
        "unit_id": 1,
        "quantity": "80.0",
        "price": 12000,
        "budget_total": 960000,
        "revenue": 960000,
        "cost": 720000,
        "profit": 240000,
        "profit_margin": "25.0"
      },
      "relationships": {
        "organization": {
          "data": {
            "type": "organizations",
            "id": "1"
          }
        },
        "scenario": {
          "data": {
            "type": "scenarios",
            "id": "42"
          }
        },
        "scenario_section": {
          "data": {
            "type": "scenario_sections",
            "id": "101"
          }
        },
        "service_type": {
          "data": {
            "type": "service_types",
            "id": "31"
          }
        }
      }
    }
  ],
  "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