Modifies financial units. Batch modification is supported.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
bss:ModifyCostUnit |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| UnitEntityList |
array<object> |
No |
The list of financial units. |
|
|
object |
No |
|||
| NewUnitName |
string |
Yes |
The new name of the financial unit. |
newTest |
| OwnerUid |
integer |
Yes |
The user ID of the financial unit owner. |
1321312312 |
| UnitId |
integer |
Yes |
The ID of the financial unit. |
2524352 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The status code. |
Success |
| Data |
array<object> |
The returned data. |
|
|
object |
|||
| IsSuccess |
boolean |
Indicates whether the operation was successful. |
true |
| OwnerUid |
integer |
The user ID of the financial unit owner. |
823756287 |
| UnitId |
integer |
The ID of the new financial unit. |
356349875 |
| Message |
string |
The error message. |
Successful! |
| RequestId |
string |
The request ID. |
F5B803CF-94D8-43AF-ADB3-D819AAD30E27 |
| Success |
boolean |
Indicates whether the operation was successful. |
true |
Examples
Success response
JSON format
{
"Code": "Success",
"Data": [
{
"IsSuccess": true,
"OwnerUid": 823756287,
"UnitId": 356349875
}
],
"Message": "Successful!",
"RequestId": "F5B803CF-94D8-43AF-ADB3-D819AAD30E27",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.