Make an announcement
| Properties | Values |
|---|---|
| HTTP method | POST |
| Interface path | /nd/api/enterprise/broadcast |
| Category | Enterprise API |
Interface description
Interface path: /nd/api/enterprise/broadcast
HTTP method: POST
HTTP method: POST
POST request body parameters
Parameter name Comment (description) title Announcement content string (required) string content content (required) string target_users[] UserId array, if empty, it means all users will receive it, string[] target_deps[] Target department, all members of this department and sub-departments will receive notification, string[] Target_users and target_deps must be filled in at least 1
Return field description
{"code":0,"success":true}
Call instructions
- Before calling, you need to complete Get token or the corresponding login-free authentication, and carry
Authorization: Bearer <access_token>in the request header. - If there are differences in parameters and return fields due to deployment versions, the actual private cloud API documents and joint debugging results should prevail.
- Category: Enterprise API.