POST

TicketCustomFields.Dependencies

List fields that can be chosen as a dependency target (same source as the Dependency field dropdown). Optionally limit to fields inside one group with isGrp=1 and isGrpname=ga-...

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.Dependencies 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 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
selected_value
post
stringa-1718960317Currently selected field name (marked selected=1).
isGrp
post
int01 to list only fields inside the group named isGrpname.
isGrpname
post
stringga-1718960000Group storage name when isGrp=1. Alias: group_name.

Authentication

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

Authorization: Bearer YOUR TOKEN

Sample Request

{
    "url": "\/app\/TicketCustomFields.Dependencies",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": [],
    "url_user": "https:\/\/{user}.bull36.com\/app\/TicketCustomFields.Dependencies",
    "url_domain": "https:\/\/{domain}\/app\/TicketCustomFields.Dependencies"
}

Endpoint

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

Sample Output

{
    "success": 1,
    "count": 2,
    "data": [
        {
            "name": "a-1718960317",
            "en": "ORDER_ID",
            "he": "ORDER_ID",
            "type": "text",
            "selected": 0
        }
    ]
}

JavaScript Example

const token = 'YOUR TOKEN';
const res = await fetch('/app/TicketCustomFields.Dependencies', { method: 'POST', headers: { Authorization: 'Bearer ' + token } });
console.log(await res.json());

Error Example

{
    "success": 0,
    "message": "Organization not found."
}