POST

Customer.DynamicContent.List

Client Dynamic content page. Table rows (forms, quotes, posts, assigned pdf_signer_customer) plus the Document to sign dropdown (org pdf_signer templates). Use this instead of staff PdfSigner.List with a Customer.Login token.

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 Customer.DynamicContent.List 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

  • Customer.Login tokens cannot call PdfSigner.List (staff Settings templates). That list for the client page is data.pdf_signer / data.select_pdf_signer here: pdf_signer where user_id is the org and customer_id is 0 or this customer. Dropdown fields: id, name.
  • Assigned documents stay in data.pdf_signer_customer (the table). Eye: signed file if filename exists, else /dashboard/user/document-sign/{base64 id}.
  • Existing grouped keys are unchanged: dynamic_values, quotes, forms, pdf_signer_customer. Additive: pdf_signer, select_pdf_signer, items, view_url, view_action.
  • Does not change staff PdfSigner.* or allow client tokens on those routes.

Required Parameters

No body parameters are required for this function.

Optional Parameters

NameTypeSampleWhat it gives
limit
post
int25Maximum rows to return. Values above 25 are capped.

Authentication

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

Authorization: Bearer YOUR TOKEN

Sample Request

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

Endpoint

POST /app/Customer.DynamicContent.List
POST https://{user}.bull36.com/app/Customer.DynamicContent.List
POST https://{domain}/app/Customer.DynamicContent.List

Sample Output

{
    "success": 1,
    "count": 2,
    "data": {
        "pdf_signer": [
            {
                "id": 9,
                "pdf_signer_id": 9,
                "name": "demo project"
            }
        ],
        "select_pdf_signer": [
            {
                "id": 9,
                "pdf_signer_id": 9,
                "name": "demo project"
            }
        ],
        "pdf_signer_customer": [],
        "dynamic_values": [],
        "quotes": [],
        "forms": [],
        "items": []
    }
}

Count Only

Use the matching count route with the same filters when the UI only needs total rows for paging.

{
    "url": "\/app\/Customer.DynamicContent.Count",
    "url_user": "https:\/\/{user}.bull36.com\/app\/Customer.DynamicContent.Count",
    "url_domain": "https:\/\/{domain}\/app\/Customer.DynamicContent.Count",
    "method": "POST",
    "headers": {
        "Authorization": "Bearer YOUR TOKEN"
    },
    "body": [],
    "sample_output": {
        "success": 1,
        "count": 123
    },
    "notes": {
        "count": "Use the matching count route when available, or count returned rows.",
        "max_limit": 25
    }
}

Count JavaScript

const token = 'YOUR TOKEN';
const body = new URLSearchParams();

const res = await fetch('https://{domain}/app/Customer.DynamicContent.Count', {
  method: 'POST',
  headers: { Authorization: `Bearer ${token}` },
  body
});
const data = await res.json();
console.log(data.count);

JavaScript Example

const token = 'YOUR TOKEN';
const body = new URLSearchParams();

const res = await fetch('/app/Customer.DynamicContent.List', {
  method: 'POST',
  headers: { Authorization: `Bearer ${token}` },
  body
});
const data = await res.json();
console.log(data);

Error Example

{
    "success": 0,
    "error": "customer_login_required"
}