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
| Name | Type | Sample | What it gives |
|---|---|---|---|
group_namepost | string | ga-1718960000 | Group storage name. Alias: name. |
positionpost | int | 1 | Top-level index of the group (dashboard position/data-id). |
grp_name_enpost | string | Billing | Group English name. |
grp_name_hepost | string | Billing | Group Hebrew name. |
let_multiplepost | int | 1 | 1 allow multiple group rows. |
dependency_ticketpost | int | 0 | 1 to keep group dependency; 0 removes dependency keys. |
dependency_field_ticketpost | string | a-1718960317 | Dependency field name. |
dependency_field_value_ticketpost | string | 1 | Dependency 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.EditGroupSample 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."
}