Project

General

Profile

Actions

Bug #23535

closed

Subscription quantity available should not show less than -1

Added by Jonathon Turel almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
trivial
Triaged:
Fixed in Releases:
Found in Releases:

Description

-1 signifies an unlimited subscription. Lower than that is meaningless and confusing!

from /organizations/:id/subscriptions

{
"id": 8,
"cp_id": "4028f92462e434240162e4388ed20001",
"subscription_id": 6,
"name": "ZooProduct",
"start_date": "2018-04-20 14:02:12 -0400",
"end_date": "2048-04-12 13:02:12 -0500",
"available": -2,
"quantity": -1,
"consumed": 1,
"account_number": null,
"contract_number": null,
"support_level": null,
"product_id": "405389364906",
"sockets": null,
"cores": null,
"ram": null,
"instance_multiplier": 1,
"stacking_id": null,
"multi_entitlement": null,
"type": "NORMAL",
"product_name": "ZooProduct",
"unmapped_guest": false,
"virt_only": false,
"virt_who": false,
"upstream": false
}

Actions

Also available in: Atom PDF