Send department discussion
POST /nd/api/file/send_dep_discussion
POST body parameters
| Parameter | Type | Description |
|---|---|---|
dep_id |
string |
Required department ID |
message |
string |
Required JSON string, e.g. {"Type":"Text","Body":"Hello"} |
Response
Fields listed in the source: code, messageId, success.
message is a serialized string, not an unencoded nested object. Confirm the target department and text before sending.
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.