Get enterprise logs
POST /nd/api/enterprise/enterprise_logs
POST body parameters
| Parameter | Type | Description |
|---|---|---|
department_id |
string |
Optional department filter |
keyword |
string |
Optional keyword |
startTime |
number |
Optional start time; confirm units |
endTime |
number |
Optional end time; confirm units |
startIndex |
int |
Optional start offset |
pageSize |
int |
Optional page size |
Response
Fields listed in the source: code, success, logs, total.
The PDF does not specify POST time units; GET explicitly uses seconds. Pagination names differ by method and must not be mixed.
Calling the Endpoint
Use Authorization: Bearer <access_token>. GET parameters belong in the URL query; normal business POST requests use JSON. Check HTTP status and then the business result. Confirm array serialization and ambiguous types with the deployment instead of inventing fields.