# 数据同步接口

用户信息包括3个部分：基本信息、用户属性和所在部门。新增用户（add）和修改用户(update)时，需列式该用户下的全量属性和所在部门。接口根据报文的用户所在部门对用户的身份进行增删改。

组织信息包括3个部分：基本信息、组织属性和组织职务。新增组织（add）和修改组织（update）时，需列式该组织下的全量组织属性和组织职务。接口同时根据报文对组织属性和组织职务进行增删改

参考：<http://www.o2oa.net/x_desktop/forum.html?app=ForumDocument&id=6bd56582-fe85-4bf3-ace6-edf5e31f3a72>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://o2oa.gitbook.io/course/ping-tai-shi-shi/zu-zhi-guan-li/shu-ju-tong-bu-jie-kou.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
