Examples

GET /katello/api/organizations/114267492/subscriptions/128914721
200
{
  "arch": null,
  "description": null,
  "support_type": null,
  "roles": null,
  "usage": null,
  "addons": null,
  "id": 128914721,
  "cp_id": "abc123",
  "subscription_id": 904941504,
  "name": "basic subscription",
  "start_date": "2011-10-11 04:00:00 UTC",
  "end_date": "2040-01-01 04:59:59 UTC",
  "available": 9,
  "quantity": 10,
  "consumed": 1,
  "account_number": 12400203,
  "contract_number": 123403949,
  "support_level": "all hands on deck",
  "product_id": null,
  "sockets": 2,
  "cores": 2,
  "ram": 2,
  "instance_multiplier": 1,
  "stacking_id": "stack8473",
  "multi_entitlement": true,
  "type": "normal",
  "product_name": "basic subscription",
  "unmapped_guest": false,
  "virt_only": false,
  "virt_who": true,
  "upstream": true,
  "upstream_pool_id": "100",
  "hypervisor": {
    "id": 980190962,
    "name": "host1.example.com"
  },
  "host_count": 1,
  "provided_products": [
    {
      "id": 785257261,
      "name": "Fedora"
    },
    {
      "id": 1073012828,
      "name": "Red Hat Linux"
    }
  ],
  "activation_keys": [
    {
      "id": 713118017,
      "name": "DevKey",
      "release_version": null,
      "service_level": null,
      "environment": {
        "id": 292811013,
        "name": "Dev"
      },
      "content_view": {
        "id": null,
        "name": null
      }
    }
  ]
}

Params

Param name Description
organization_id
optional

Organization identifier

Validations:

  • Must be a number.

id
required

Subscription identifier

Validations:

  • Must be a number.