POST
Customer.Reminder.Count
Return the total number of contactus_reminder rows for one customer. Uses the same filters as Customer.Reminder.List.
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.Reminder.Count 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
| Name | Type | Sample | Explanation |
|---|---|---|---|
customer_idpost | int | 58 | Customer id. Alias: cust_id. |
Optional Parameters
No optional body parameters are defined for this function.
Authentication
Send the bearer token returned by Login in the request header.
Authorization: Bearer YOUR TOKEN
Sample Request
{
"url": "\/app\/Customer.Reminder.Count",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"customer_id": "58"
},
"url_user": "https:\/\/{user}.bull36.com\/app\/Customer.Reminder.Count",
"url_domain": "https:\/\/{domain}\/app\/Customer.Reminder.Count"
}Endpoint
POST /app/Customer.Reminder.Count
POST https://{user}.bull36.com/app/Customer.Reminder.Count
POST https://{domain}/app/Customer.Reminder.CountSample Output
{
"success": 1,
"count": 3,
"total_record": 3
}JavaScript Example
const token = 'YOUR TOKEN';
const res = await fetch('/app/Customer.Reminder.Count', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body: new URLSearchParams({ customer_id: '58' }) });
console.log(await res.json());Error Example
{
"success": 0,
"message": "Customer not found"
}