Interface description
Add a company or organization
Request Example
https://v7.cmsv8.com/StandardApiAction_mergeCompany.action?jsession=66d754dd7f41473dbd2&name=cmsv6&parentId=0&account=cmsv6&password=cmsv6
Request parameters
| Parameter name | Parameter type | Whether it is required | Example | Parameter meaning |
|---|---|---|---|---|
| jsession | string | Yes | 66d754dd7f41473dbd2 | Session number |
| name | string | Yes | cmsv6 | Company/Organization name |
| account | string | Yes | cmsv6 | Company/Organization primary account |
| parentId | number | Yes | 0 | Parent company/organization ID (default 0) |
| encryptPwd | string | No | cmsv6 | Account password (MD5 encryption) |
| password | string | No | cmsv6 | Clear text password [encryptPwd is preferred, if the encryptPwd and password are both empty, the default is 000000] |
| id | number | No | 0 | Company/Organization id (only the company name can be modified [it is recommended that the parameter transmission method is consistent with the addition method. If the ID cannot be found, perform the addition operation] |
| isEabnleValidity | number | No | 0 | Whether the validity period is enabled 0 is not enabled 1 is enabled |
| validity | string | No | 2024-12-01 00:00:00 | Validity yyyy- MM- dd HH:mm:ss |
| organizationCode | string | No | 20241201 | Road Transport Permit |
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.
| id | number | Company/organization id |
Return Example
{
"result": 0
}