# 人员数据接口

| 服务地址             | http\://{centerserver}:20030/x\_program\_center/jaxrs/invoke/personSync/execute |
| ---------------- | ------------------------------------------------------------------------------- |
| 调用方式             | HTTP                                                                            |
| 调用方法             | POST                                                                            |
| 请求报文Content-Type | application/json; charset=utf-8                                                 |
| 响应报文Content-Type | application/json; charset=utf-8                                                 |

本服务对应用户的增删改查操作，通过传请求报文的action参数进行对应的操作：

| 参数             | 执行操作      |
| -------------- | --------- |
| add            | 新增用户      |
| update         | 修改用户      |
| updatepwd      | 修改密码      |
| updateSuperior | 修改用户的汇报对象 |
| delete         | 删除用户      |

如：删除用户的请求报文为

| <p>{</p><p>"action": "delete", //删除用户</p><p>"flag" : "" //用户标志</p><p>}</p> |
| -------------------------------------------------------------------------- |

{% file src="/files/-LsGEPug1vqcPAFgVJPm" %}


---

# 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/ren-yuan-shu-ju-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.
