POST
Workdiary.Entries.List
Same as Workdiary.Get — member attendance list (DATE / ENTRANCE / EXIT / sick_day / vacation). Use this alias when you need an explicit List route for the detail table.
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 Workdiary.Entries.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
- This is the member attendance LIST API (not Workdiary.List which is the monthly team summary table).
- sick / sick_day filter: optional. 1 = only sick-day rows, 2 = only vacation-day rows, 0 = only normal (non-sick, non-vacation) rows. Omit for all rows (same as dashboard).
- Each data[] row includes sick_day (0|1|2), sick_day_type (normal|sick|vacation), entrance, exit, total_hours, final_total, extra_hours, note, files, approve.
- Vacation rows (sick_day=2): entrance and exit are empty; note defaults to "Vacation Day" when blank; total_hours shows 0:00.
- this_day=all_data for full month, or day number 01-31 for one day.
Required Parameters
No body parameters are required for this function.
Optional Parameters
| Name | Type | Sample | What it gives |
|---|---|---|---|
sm_datepost | string | 2026-08 | Month YYYY-MM or "August 2026". |
this_daypost | string | all_data | all_data for full month, or day number 01-31. |
sickpost | int | 1 | Filter: 1 = sick only, 2 = vacation only, 0 = normal only. Alias: sick_day. Omit = all. |
sick_daypost | int | 2 | Alias for sick. |
limitpost | int | 25 | Maximum 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\/Workdiary.Entries.List",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"sm_date": "2026-09",
"this_day": "all_data",
"sick": "2"
},
"url_user": "https:\/\/{user}.bull36.com\/app\/Workdiary.Entries.List",
"url_domain": "https:\/\/{domain}\/app\/Workdiary.Entries.List"
}Endpoint
POST /app/Workdiary.Entries.List
POST https://{user}.bull36.com/app/Workdiary.Entries.List
POST https://{domain}/app/Workdiary.Entries.ListSample Output
{
"success": 1,
"user_id": 14,
"month": "2026-09",
"count": 3,
"data": [
{
"date": "01-09-2026",
"entrance": "",
"exit": "",
"total_hours": "0:00",
"note": "Vacation Day",
"sick_day": 2,
"sick_day_type": "vacation"
},
{
"date": "02-09-2026",
"entrance": "",
"exit": "",
"total_hours": "0:00",
"note": "Vacation Day",
"sick_day": 2,
"sick_day_type": "vacation"
},
{
"date": "05-08-2026",
"entrance": "",
"exit": "",
"total_hours": "0:00",
"note": "Sick day",
"sick_day": 1,
"sick_day_type": "sick"
}
]
}Count Only
Use the matching count route with the same filters when the UI only needs total rows for paging.
{
"url": "\/app\/Workdiary.Entries.Count",
"url_user": "https:\/\/{user}.bull36.com\/app\/Workdiary.Entries.Count",
"url_domain": "https:\/\/{domain}\/app\/Workdiary.Entries.Count",
"method": "POST",
"headers": {
"Authorization": "Bearer YOUR TOKEN"
},
"body": {
"sm_date": "2026-09",
"this_day": "all_data",
"sick": "2"
},
"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();
body.set('sm_date', '2026-09');
body.set('this_day', 'all_data');
body.set('sick', '2');
const res = await fetch('https://{domain}/app/Workdiary.Entries.Count', {
method: 'POST',
headers: { Authorization: `Bearer ${token}` },
body
});
const data = await res.json();
console.log(data.count);JavaScript Example
const token = 'YOUR TOKEN';
// Vacation days only
const body = new URLSearchParams({ user_id: '14', sm_date: '2026-09', this_day: 'all_data', sick: '2' });
const res = await fetch('/app/Workdiary.Entries.List', { method: 'POST', headers: { Authorization: 'Bearer ' + token }, body });
console.log(await res.json());Error Example
{
"success": 0,
"message": "Team member not found"
}