POST
Meeting.CustomerOptions
Return available second customers for a customer meeting.
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 Meeting.CustomerOptions 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 | 123 | Main customer id. You may also send data_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\/Meeting.CustomerOptions",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": [],
"url_user": "https:\/\/{user}.bull36.com\/app\/Meeting.CustomerOptions",
"url_domain": "https:\/\/{domain}\/app\/Meeting.CustomerOptions"
}Endpoint
POST /app/Meeting.CustomerOptions
POST https://{user}.bull36.com/app/Meeting.CustomerOptions
POST https://{domain}/app/Meeting.CustomerOptionsSample Output
{
"success": 1,
"customer_html": "Jane Demo"
}Count Only
Use the matching count route with the same filters when the UI only needs total rows for paging.
{
"url": "\/app\/Meeting.CustomerOptions",
"url_user": "https:\/\/{user}.bull36.com\/app\/Meeting.CustomerOptions",
"url_domain": "https:\/\/{domain}\/app\/Meeting.CustomerOptions",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": [],
"sample_output": {
"success": 1,
"count": 123
},
"notes": {
"options_count": "Count customer option items in customer_html after HTML is stripped.",
"max_limit": "No paging field on this option list."
}
}Count JavaScript
const token = 'YOUR TOKEN';
const body = new URLSearchParams();
const res = await fetch('https://{domain}/app/Meeting.CustomerOptions', {
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();
// Fill body fields from the Sample Request JSON above.
const res = await fetch('/app/Meeting.CustomerOptions', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
const data = await res.json();
console.log(data);Error Example
{
"success": 0,
"message": "Please select customer from your combo meeting folders"
}