| 错误码 | 描述 |
|---|---|
| US20004 | 对方企业没有企业管理员账号,请先通知对方企业在百望云建立企业管理员账号,再发起邀请 |
| US20005 | 对方企业企业管理员账号邮箱地址缺失,请先通知对方企业在百望云完善邮箱地址,再发起邀请 |
{
"fromOrgId": 0,
"fromTenantId": "string",
"toOrgId": 0,
"toTenantId": "string",
"relTypes": [
0
],
"relTypeExt": "string",
"authTypes": [
0
],
"relStartTime": "string",
"relEndTime": "string",
"creater": "string",
"sourceFlag": 0,
"autoAudit": 0
}curl --location '/api/orgRel/addOrgRel/v2' \
--header 'Content-Type: application/json' \
--data '{
"fromOrgId": 0,
"fromTenantId": "string",
"toOrgId": 0,
"toTenantId": "string",
"relTypes": [
0
],
"relTypeExt": "string",
"authTypes": [
0
],
"relStartTime": "string",
"relEndTime": "string",
"creater": "string",
"sourceFlag": 0,
"autoAudit": 0
}'{
"requestId": "string",
"success": true,
"message": null,
"errorCode": "string",
"errorMsg": null,
"requestID": "string",
"total": 0,
"data": [
{}
]
}