Managing Departments
Scenarios
After logging in to Huawei Cloud Meeting Management Platform using an enterprise administrator account on a third-party application, you can query, modify, add, and delete all departments in the enterprise.
Service Process
- A third-party application logs in to Huawei Cloud Meeting Management Platform using an enterprise administrator account and password to obtain a token.
- The third-party application sends an authentication request to API Gateway.
- After receiving the request, API Gateway sends an account authentication request to Huawei Cloud Meeting Management Platform.
- Huawei Cloud Meeting Management Platform returns a token after successful authentication.
- API Gateway returns the token information to the third-party application.
- To query enterprise departments by name, the third-party application sends a request carrying the department name parameter to API Gateway.
- API Gateway sends a request to Huawei Cloud Meeting Management Platform to obtain all departments of the enterprise by name.
- Huawei Cloud Meeting Management Platform returns the list of matched departments to API Gateway.
- API Gateway returns the department list to the third-party application.
- To query a specific department and its level-1 sub-departments, the third-party application sends a request carrying the department code to API Gateway.
- API Gateway sends a request to Huawei Cloud Meeting Management Platform to query the specified department and its level-1 sub-departments.
- Huawei Cloud Meeting Management Platform returns the department details to API Gateway.
- API Gateway returns the department details to the third-party application.
- To add a department, the third-party application sends a request carrying the department parameters to API Gateway.
- API Gateway sends a request to Huawei Cloud Meeting Management Platform to add the department.
- Huawei Cloud Meeting Management Platform adds the department and returns the new department code to API Gateway.
- API Gateway returns the new department code to the third-party application.
- To modify a department, the third-party application sends a request carrying the department code and the modified department parameters to API Gateway.
- API Gateway sends a request to Huawei Cloud Meeting Management Platform to modify the department.
- Huawei Cloud Meeting Management Platform modifies the department details.
- To delete a department, the third-party application sends a request carrying the department code to API Gateway.
- API Gateway sends a request to Huawei Cloud Meeting Management Platform to delete the department.
- Huawei Cloud Meeting Management Platform deletes the department.
The department management APIs shown from steps 6 to 26 in the preceding figure can be called in any sequence.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot