POST

Ticket.ColumnSettingsSave

Save the current user's ticket list column visibility into user_detail_2.ticket_dashboard_fields (customer-tickets column picker Save). Upserts the user_detail_2 row.

Permissions

  • User must be logged in with a valid bearer token.
  • Returned or changed records are limited by the user permissions, team access, folder access, and account settings.

Action

  • Runs the Ticket.ColumnSettingsSave function and returns JSON.

Push Service

No push is sent because this function only reads data or returns helper information.

Automation

No automation is run for this function.

Special Instructions

  • Send ticket_dashboard_fields as an array of field key strings (or JSON string).
  • Aliases: fields, visible_fields.
  • Non-array / empty input is stored as [].
  • Scoped to authenticated user_id + owner_id.

Required Parameters

No body parameters are required for this function.

Optional Parameters

NameTypeSampleWhat it gives
ticket_dashboard_fields
post
array|json["ticket_id","customer_name","status"]Visible column keys. Aliases: fields, visible_fields. Optional — omitted/invalid becomes [].

Authentication

Send the bearer token returned by Login in the request header.

Authorization: Bearer YOUR TOKEN

Sample Request

{
    "url": "\/app\/Ticket.ColumnSettingsSave",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": {
        "ticket_dashboard_fields": [
            "ticket_id",
            "customer_name",
            "status",
            "date_created"
        ]
    },
    "url_user": "https:\/\/{user}.bull36.com\/app\/Ticket.ColumnSettingsSave",
    "url_domain": "https:\/\/{domain}\/app\/Ticket.ColumnSettingsSave"
}

Endpoint

POST /app/Ticket.ColumnSettingsSave
POST https://{user}.bull36.com/app/Ticket.ColumnSettingsSave
POST https://{domain}/app/Ticket.ColumnSettingsSave

Sample Output

{
    "success": 1,
    "message": "Success",
    "ticket_dashboard_fields": [
        "ticket_id",
        "customer_name",
        "status",
        "date_created"
    ]
}

JavaScript Example

const token = 'YOUR TOKEN';
const body = new URLSearchParams();
body.set('ticket_dashboard_fields', JSON.stringify(['ticket_id','customer_name','status']));
const res = await fetch('/app/Ticket.ColumnSettingsSave', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
console.log(await res.json());

Error Example

{
    "success": 0,
    "message": "Unauthorized"
}