CorefinityCorefinityDocs
Open the Control PanelControl Panel
Support · 3 of 12

corestack_ticket_options_get

Read the new ticket choices.

Scope readNo secrets returned
On this page

When to use it

Read what a new support ticket can name, exactly as the New Ticket form offers it to the person: the websites and their environments, the departments, the priorities (Medium is the form's default) and the notice the form shows when Emergency is picked. An agency person also chooses the company: companies lists the ones the form offers, and the websites listed are those of the token's company unless client_company_id names another. A ticket can name several websites and environments: pass website_ids to list the environments of every one of them.

Ask for it

Prompt
Using the Corefinity MCP server, call corestack_ticket_options_get with website_ids [950,951]. (Read the new ticket choices.) Tell me what it returned.

Inputs

client_company_idinteger

A company from companies, when chooses_company is true. At least 1.

website_idinteger

One website, as before; it is added to website_ids. At least 1.

website_idsarray of integers

Websites from websites; the answer then lists their environments. Up to 50 items.

The answer: chooses_company, companies (null unless the person chooses a company), company_id, websites, website_ids (the websites given), website_id (the first of them), environments (null until a website is given: every environment of the websites given, each with its website_id), environment_groups (the same environments under their website: website_id, website_name, environments; null until a website is given), departments, priorities (value, label), default_priority and emergency_notice (null when none is set).

Example call

tools/call
{
  "name": "corestack_ticket_options_get",
  "arguments": {
    "website_ids": [950, 951]
  }
}

If it is refused

ReasonWhat to do
invalid_argumentsThe company or a website is not one the form offers this person, named in fields ("That website is not one you can raise a ticket about.", the form's words).
tenant_mismatchclient_company_id is not a company your agency reaches.
pin_refusedThe token is limited to some sites; a ticket belongs to the whole company.
scope_requiredThe token lacks a scope this call needs. Open the link in the answer to add it, then call again.
rate_limitedToo many calls. Wait for the number of seconds the answer names.
temporarily_unavailableThe Control Panel could not answer just now. Nothing was started; try again shortly.
internal_errorSomething went wrong on our side. Quote the trace id to support.

The same task elsewhere

Was this helpful?
Open in ClaudeOpen in ChatGPT