Persist explicit membership plan ordering.
using System.Net.Http.Headers;var client = new HttpClient();var request = new HttpRequestMessage{ Method = HttpMethod.Put, RequestUri = new Uri("https://example.com/api/workspace/entitlement-operations/models/membership/example/plans/order"), Content = new StringContent("{ \"PlanIds\": [ \"example\" ] }") { Headers = { ContentType = new MediaTypeHeaderValue("application/json") } }};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/order';const options = { method: 'PUT', headers: {'Content-Type': 'application/json'}, body: '{"PlanIds":["example"]}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request PUT \ --url https://example.com/api/workspace/entitlement-operations/models/membership/example/plans/order \ --header 'Content-Type: application/json' \ --data '{ "PlanIds": [ "example" ] }'Authorizations
Section titled “Authorizations”- None
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Query Parameters
Section titled “Query Parameters”Optional access token for clients that cannot set Authorization headers. Prefer Authorization: Bearer <token> when possible.
Request Body
Section titled “Request Body”Explicit plan ordering inside one entitlement model.
object
Plan ids in target display order.
Examplegenerated
{ "PlanIds": [ "example" ]}Explicit plan ordering inside one entitlement model.
object
Plan ids in target display order.
Examplegenerated
{ "PlanIds": [ "example" ]}Explicit plan ordering inside one entitlement model.
object
Plan ids in target display order.
Examplegenerated
{ "PlanIds": [ "example" ]}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 } ]}Bad Request
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 } ]}Conflict
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 } ]}