该API将允许管理员创建新用户。
关于XML 响应: http://[ APM Host ]:[ APM Port ]/AppManager/xml/Users/create?apikey=[ API Key ]&userName=[name]&role=[role]&password=[password] For JSON Response: http://[ APM Host ]:[ APM Port ]/AppManager/json/Users/create?apikey=[ API Key ]&userName=[name]&role=[role]&password=[password]
API请求中涉及的参数如下所述:
| 字段 | 描述 |
|---|---|
| userName | 用户的用户名。 |
| role | 新用户的用户组。 |
| password | 新用户的密码。 |
| email(可选) | 用户的电子邮件ID。 |
| describe(可选) | 用户的描述。 |
| groupId(可选) | 需要与用户关联的业务组的组标识。组ID应该用逗号分隔。 |
| groupName(可选) | 需要与用户关联的业务组的名称。如果提供了groupId,则将忽略此参数。 |
示例响应:
<AppManager-response uri="/AppManager/xml/users/create"> <result> <response response-code="4000"> <User email="manager" userId="6" describe="manager" userName="manager" role="MANAGER"> <AssociatedGroups groupId="10000035" groupName="Applications Manager"/> <AssociatedGroups groupId="10000037" groupName="mg1"/> <AssociatedGroups groupId="10000038" groupName="mg2"/> </User> </response> </result> </AppManager-response> |
它允许我们跟踪关键指标,如响应时间、资源利用率、错误率和交易性能。实时监控告警会及时通知我们任何问题或异常,使我们能够立即采取行动。
审稿人角色:研究与开发

Lexmark技术支持经理