POST

TicketCustomFields.EditGroup

Update only a ticket custom field group header (Hebrew/English group name, let_multiple, dependency). Same as editing a group name on Ticket Custom Filed. Child fields in group_data are not changed.

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 TicketCustomFields.EditGroup function and returns JSON.

Push Service

Pushes event ticketcustomfields.group.updated to users who should see this change.

Automation

No automation is run for this function.

Special Instructions

  • Send the bearer token on protected calls with Authorization: Bearer YOUR TOKEN.
  • Send parameters as POST body fields exactly as documented.

Required Parameters

No body parameters are required for this function.

Optional Parameters

NameTypeSampleWhat it gives
group_name
post
stringga-1718960000Group storage name. Alias: name.
position
post
int1Top-level index of the group (dashboard position/data-id).
grp_name_en
post
stringBillingGroup English name.
grp_name_he
post
stringBillingGroup Hebrew name.
let_multiple
post
int11 allow multiple group rows.
dependency_ticket
post
int01 to keep group dependency; 0 removes dependency keys.
dependency_field_ticket
post
stringa-1718960317Dependency field name.
dependency_field_value_ticket
post
string1Dependency field value.

Authentication

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

Authorization: Bearer YOUR TOKEN

Sample Request

{
    "url": "\/app\/TicketCustomFields.EditGroup",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": {
        "group_name": "ga-1718960000",
        "grp_name_en": "Billing",
        "grp_name_he": "Billing"
    },
    "url_user": "https:\/\/{user}.bull36.com\/app\/TicketCustomFields.EditGroup",
    "url_domain": "https:\/\/{domain}\/app\/TicketCustomFields.EditGroup"
}

Endpoint

POST /app/TicketCustomFields.EditGroup
POST https://{user}.bull36.com/app/TicketCustomFields.EditGroup
POST https://{domain}/app/TicketCustomFields.EditGroup

Sample Output

{
    "success": 1,
    "message": "Success",
    "socket_event": "ticketcustomfields.group.updated"
}

JavaScript Example

const token = 'YOUR TOKEN';
const body = new URLSearchParams({ group_name: 'ga-1718960000', grp_name_en: 'Billing', grp_name_he: 'Billing' });
const res = await fetch('/app/TicketCustomFields.EditGroup', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
console.log(await res.json());

Error Example

{
    "success": 0,
    "message": "Ticket custom field group not found."
}