Interface description
Find Company/Organization
Parameter example
https://v7.cmsv8.com/StandardApiAction_findCompany.action?jsession=66d754dd7f41473dbd2
Request parameters
| Parameter name | Parameter type | Whether it is required | Example | Parameter meaning |
|---|---|---|---|---|
| jsession | string | Yes | 66d754dd7f41473dbd2 | Session number |
| id | number | No | 0 | Company/organization id |
| name | string | No | cmsv6 | Company/Organization name |
Return parameters
| Parameter name | Parameter type | Description |
| - - - - - - - - - - - - | - - - - - - - - - - - - | - - - - - - - - - - - - | - - - - - - - - - - - - | - - - - - - - - - - - - |
| result | number | interface status code, 0 is normal, and other information is abnormal. For more information, see Error Code Description.
| name | string | Company/Organization name |
| id | number | Company/organization id |
| level | number | Organization Type: 1- Company, 12- Department, 15- Administrative Region |
| accountID | number | Company/organization primary account ID |
| parentId | number | parent company/organization id (default 0)|
Return Example
{
"result": 0,
"company":
{
"id":2,
"name":"test",
"level":1,
"parentId":0,
"companyId":0
}
}