Queries the financial information of an enterprise account that is part of a management-member relationship.
Try it now
Test
RAM authorization
Action | Access level | Resource type | Condition key | Dependent action |
bssapi:QueryFinancialAccountInfo | get | *All Resource
| None | None |
Request parameters
Parameter | Type | Required | Description | Example |
UserId | integer | Yes | The user ID (UID) of the Alibaba Cloud account. | 1990699401005016 |
Response elements
Parameter | Type | Description | Example |
object | |||
Code | string | The status code. | Success |
Message | string | The message returned. | Successful! |
RequestId | string | The request ID. | 97426BC2-792E-41F5-92B8-73C710DA7779 |
Success | boolean | Indicates whether the request was successful. | true |
| Data | object | The data returned. | |
MemberNickName | string | The display name of the member account. | Test |
IsFinancialAccount | boolean | Indicates whether the account is an enterprise financial account. Valid values: true and false. | true |
MemberGroupName | string | The name of the group to which the member account belongs. | Test group |
UserName | string | The logon name of the account. | killortop3 |
AccountType | string | The type of the enterprise financial account. Valid values: MASTER: management account. MEMBER: member account. | MEMBER |
MemberGroupId | integer | The ID of the group to which the member account belongs. | 124 |
Examples
Success response
JSON format
{
"Code": "Success",
"Message": "Successful!",
"RequestId": "97426BC2-792E-41F5-92B8-73C710DA7779",
"Success": true,
"Data": {
"MemberNickName": "Test\n",
"IsFinancialAccount": true,
"MemberGroupName": "Test group\n",
"UserName": "killortop3",
"AccountType": "MEMBER",
"MemberGroupId": 124
}
}Error codes
HTTP status code | Error code | Error message | Description |
400 | InvalidParameter | The specified request contains invalid parameters. | |
400 | MissingParameter | The specified request lacks essential parameters. | |
500 | InternalError | An error occurred in the internal server. | System exception, please try again |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.