POST
MissionSteps.List
Alias of Mission.StepsList. List Create Mission modal Step options (missions_steps) for the account.
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
- Returns MissionSteps rows as JSON.
- Supports the documented filters and paging fields.
- List responses are capped at 25 rows per call.
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.
- For paging, do not request more than 25 rows.
- For total rows, call the matching Count function with the same filters.
Required Parameters
No body parameters are required for this function.
Optional Parameters
| Name | Type | Sample | What it gives |
|---|---|---|---|
searchpost | string | Analyze | Search name_en and name_he. Aliases: filter_data, search[value], name. |
startpost | int | 0 | First row offset for paging. Alias: offset. |
limitpost | int | 25 | Maximum rows to return. Values above 25 are capped. Aliases: length, per_page. |
Authentication
Send the bearer token returned by Login in the request header.
Authorization: Bearer YOUR TOKEN
Sample Request
{
"url": "\/app\/MissionSteps.List",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"limit": "25"
},
"url_user": "https:\/\/{user}.bull36.com\/app\/MissionSteps.List",
"url_domain": "https:\/\/{domain}\/app\/MissionSteps.List"
}Endpoint
POST /app/MissionSteps.List
POST https://{user}.bull36.com/app/MissionSteps.List
POST https://{domain}/app/MissionSteps.ListSample Output
{
"success": 1,
"count": 4,
"recordsTotal": 4,
"recordsFiltered": 4,
"total_record": 4,
"start": 0,
"limit": 25,
"data": [
{
"id": 12,
"missions_steps_id": 12,
"data_id": 12,
"name_en": "Analyze Response Quality",
"name_he": "Analyze Response Quality",
"name": "Analyze Response Quality",
"color": "#ffffff",
"status": 1,
"status_order": 1
}
]
}Count Only
Use the matching count route with the same filters when the UI only needs total rows for paging.
{
"url": "\/app\/MissionSteps.Count",
"url_user": "https:\/\/{user}.bull36.com\/app\/MissionSteps.Count",
"url_domain": "https:\/\/{domain}\/app\/MissionSteps.Count",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": [],
"sample_output": {
"success": 1,
"count": 123
},
"notes": {
"route": "Mission.StepsCount",
"count": "Total matching mission steps for the same filters.",
"max_limit": 25
}
}Count JavaScript
const token = 'YOUR TOKEN';
const body = new URLSearchParams();
const res = await fetch('https://{domain}/app/MissionSteps.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({ limit: '25' });
const res = await fetch('/app/MissionSteps.List', {
method: 'POST',
headers: { Authorization: 'Bearer ' + token },
body
});
console.log(await res.json());Error Example
{
"success": "0",
"error": "bearer_token_required",
"message": "Authorization bearer token is required. Send header: Authorization: Bearer YOUR TOKEN"
}