Skip to main content

Add New Operator

is used add new operator

Request address

  • API Address (requestURI) : /openapi/v1/operator/add

Request parameters

Parameter nameTypeRequirementDescription
operatorIdLongOUID of the current operator
subSystemCodeStringRSubsystem code
subSystemNameStringOSubsystem name
tenantPermissionStringOTenant data access permission granted to the administrator
userNameStringRLogin account
nicknameStringOName
roleIdsList<Long>ORole IDs, multiple roles allowed
passwordStringRPassword
passwordConfirmStringRConfirm password
remarkStringORemark
deletedIntegerOStatus: 0 for enabled, 1 for disabled

Sample request

{
"subSystemCode": "000001",
"userName": "test56789",
"nickname": "nihao1",
"roleIds": [
20
],
"tenantPermission": "TTF,MFT",
"passwordConfirm": "PC3espdNOczdGpZkFjJFroQMCKua/oAH5DBNAq04IFS+5mAQN/9/7cM5q8jQO2obelETPPlGnJRLKBAcG0w3aP34qPt53/IkbAXGnPy/T4rHgncOAD+OxdoroTtpsJNSWAn1RIOWNURh01G1UBuJ1oakyTIQC7NCDSV91cjc3QM=",
"remark": "",
"deleted": 0,
"password": "PC3espdNOczdGpZkFjJFroQMCKua/oAH5DBNAq04IFS+5mAQN/9/7cM5q8jQO2obelETPPlGnJRLKBAcG0w3aP34qPt53/IkbAXGnPy/T4rHgncOAD+OxdoroTtpsJNSWAn1RIOWNURh01G1UBuJ1oakyTIQC7NCDSV91cjc3QM="
}

Response parameters

Parameter nameTypeRequirementDescription
codeStringRResponse code
msgStringRResponse message
data-OData returned (if applicable)
successBooleanRIndicates if the operation was successful

Sample response

{
"code": "0",
"msg": "ok",
"data": null,
"success": true
}