Updates company information.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| CompanyId |
integer |
Yes |
The company ID. |
51001 |
| CompanyName |
string |
Yes |
The name of the company or organization. |
testYanwen045 |
| CompanyType |
integer |
Yes |
The company type. |
0 |
| CompanyCode |
string |
Yes |
The company code. |
xxx |
| CompanyPhone |
string |
Yes |
The phone number of the company. |
1511 |
| CompanyEmail |
string |
No |
The email address of the company. |
test@163.com |
| CompanyAddress |
string |
Yes |
The address of the company. |
test |
| Province |
string |
Yes |
The province. |
Beijing |
| City |
string |
Yes |
The city. |
Beijing |
| PostCode |
string |
Yes |
The postal code. |
100000 |
| CountryCode |
string |
Yes |
The country code. |
CN |
| Department |
string |
No |
The department. |
test |
| Lang |
string |
No |
The language. |
zh |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. |
C2BAAB19-BCEB-569B-BE08-7C728344A79C |
| CompanyId |
integer |
The company ID. |
51001 |
Examples
Success response
JSON format
{
"RequestId": "C2BAAB19-BCEB-569B-BE08-7C728344A79C",
"CompanyId": 51001
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | NotFound | 没有找到必要内容,请检查参数输入。 | |
| 400 | MissingParameter | 缺失必填参数,请检查参数输入。 | Required parameters are missing. Check the input parameters. |
| 400 | InvalidParameter | 无效参数,请检查参数输入。 | Invalid parameters exist. Check the input parameters. |
| 400 | ParamRepeat | 入参和后端已有数据重复,不允许数据重复保存。 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.