Messages, Login and Status Codes
Department discussions and JWT web login. A signed JWT does not encrypt its payload. Generate it on a trusted server and explicitly identify the intended user. Check HTTP status separately from the JSON business code.
Endpoints
| Method | Endpoint | Path |
|---|---|---|
GET |
JWT token login | /account/tokenLogin.do |
POST |
Get department discussions | /nd/api/file/dep_discussion |
POST |
Send department discussion | /nd/api/file/send_dep_discussion |
Business Status Codes
| code | Meaning |
|---|---|
| 0 | Success |
| 1 | Unknown error |
| 2 | Invalid parameters |
| 7 | Insufficient space |
| 12 | Permission denied |
| 13 | Invalid token |
Integration Notes
Based on the supplied Babel API reference. Preserve exact endpoint paths and field casing. Confirm unspecified or inconsistent field types during integration rather than assuming undocumented parameters. Use the deployment's HTTPS domain and keep credentials out of public pages.