corestack_ ticket_ options_ get
Read the new ticket choices.
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
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
A company from companies, when chooses_company is true. At least 1.
One website, as before; it is added to website_ids. At least 1.
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
{
"name": "corestack_ticket_options_get",
"arguments": {
"website_ids": [950, 951]
}
}If it is refused
| Reason | What to do |
|---|---|
invalid_arguments | The 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_mismatch | client_company_id is not a company your agency reaches. |
pin_refused | The token is limited to some sites; a ticket belongs to the whole company. |
scope_required | The token lacks a scope this call needs. Open the link in the answer to add it, then call again. |
rate_limited | Too many calls. Wait for the number of seconds the answer names. |
temporarily_unavailable | The Control Panel could not answer just now. Nothing was started; try again shortly. |
internal_error | Something went wrong on our side. Quote the trace id to support. |