Return membership plans owned by the selected entitlement model.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Get, RequestUri = new Uri("https://example.com/api/workspace/entitlement-operations/models/membership/example/plans?ConditionFamily=0&TermKind=0&TermUnit=0"),};using (var response = await client.SendAsync(request)){ response.EnsureSuccessStatusCode(); var body = await response.Content.ReadAsStringAsync(); Console.WriteLine(body);}const url = 'https://example.com/api/workspace/entitlement-operations/models/membership/example/plans?ConditionFamily=0&TermKind=0&TermUnit=0';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://example.com/api/workspace/entitlement-operations/models/membership/example/plans?ConditionFamily=0&TermKind=0&TermUnit=0'Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional search text matched against plan key and display name.
Whether inactive plans should be included.
Optional model-scoped plan family ids that at least one assigned family must match.
Optional active plan condition family filter.
Optional derived active plan term shape filter.
Optional duration/window value paired with TermKind.
Optional duration/window unit paired with TermKind.
Optional renewal policy id currently assigned to the plan.
One-based page number.
Requested page size.
Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Responses
Section titled “Responses”OK
object
Paginated membership plan list response.
object
Membership plan summary row.
object
Plan family reference attached to a plan or exposed for plan authoring.
object
Renewal policy summary attached to a plan.
object
object
object
object
object
Example
{ "Data": { "Items": [ { "DurationUnit": 0, "GracePeriodUnit": 0, "RenewalPolicy": { "Mode": 0 } } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}Forbidden
object
Examplegenerated
{ "type": "example", "title": "example", "status": 1, "detail": "example", "instance": "example"}Not Found
object
Paginated membership plan list response.
object
Membership plan summary row.
object
Plan family reference attached to a plan or exposed for plan authoring.
object
Renewal policy summary attached to a plan.
object
object
object
object
object
Example
{ "Data": { "Items": [ { "DurationUnit": 0, "GracePeriodUnit": 0, "RenewalPolicy": { "Mode": 0 } } ] }, "Errors": [ { "Type": 0, "Severity": 0 } ], "Warnings": [ { "Type": 0, "Severity": 0 } ]}