All interfaces that are not specifically marked otherwise adhere to this global specification:
Request headers:
Header | Description |
Content-Type | application/json |
Unless otherwise specified, the type of the return result is always: application/json。
Field | Type | Description |
code | Int | Status Code: 0 normal, non-zero indicates error |
msg | String | Status Code |
data | String[] | Return Result |
Object Type Return Example:
json
Array Type Return Example:
json
code | message | Description |
1 | ok | ok |
2 | system error | system error |
100010 | token expire | token expire |
100020 | invaild enterprise id | invaild enterprise id |
100021 | invaild app id | invaild app id |
100030 | invalid user id | invalid user id |
100031 | invalid query type | invalid query type |
100040 | Invalid params | Invalid params |
100060 | Invalid org or account | Invalid org or account |
100061 | mobile already exist error | mobile already exist error |
100062 | Invalid mobile number | Invalid mobile number |
100063 | email already exist error | email already exist error |
100064 | Invalid email | Invalid email |
100065 | Invalid params | Invalid params |
100070 | org id is required | org id is required |
100080 | Invalid dept name | Invalid dept name |
100081 | Invalid dept id | Invalid dept id |
100082 | parent dept not exisit | parent dept not exisit |
100083 | Invalid parameters | Invalid parameters |
100090 | Invalid dept name | Invalid dept name |
100091 | Invalid dept id | Invalid dept id |
100092 | parent dept not exisit | parent dept not exisit |
100093 | Invalid org id | Invalid org id |
100094 | Invalid parameters | Invalid parameters |
100093 | Invalid org id | Invalid org id |
100094 | Invalid parameters | Invalid parameters |
100110 | Invalid group id | Invalid group id |
100111 | Invalid account | Invalid account |
100120 | group not exist error | group not exist error |
100130 | Invalid group name | Invalid group name |
100140 | Invalid nick name | Invalid nick name |
100141 | Invalid password | Invalid password |
100142 | account already exist error | account already exist error |
100143 | org account already exist error | org account already exist error |
100144 | account dept is null | account dept is null |
100150 | Invalid status | Invalid status |
100151 | Invalid account id list | Invalid account id list |
100160 | Invalid file | Invalid file |
100161 | Invalid column header error | Invalid column header error |
100162 | Invalid content null | Invalid content null |
100163 | Invalid type | Invalid type |
100164 | Invalid cover | Invalid cover |
100165 | Invalid language | Invalid language |