All Products
Search
Document Center

Expenses and Costs:GetAccountRelation

Last Updated:Aug 28, 2026

Retrieves details about a financial relationship.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

RelationId

integer

No

The ID of the financial relationship. Value returned by calling the AddAccountRelation operation.

1234

RequestId

string

No

The unique ID of the request. The ID is used to mark a request and troubleshoot a problem.

requestId

Response elements

Element

Type

Description

Example

object

result

Message

string

The message returned.

Message returned

RequestId

string

The ID of the request.

RequestId

Data

object

data

Id

integer

The ID of the financial relationship.

ID of the financial relationship

ParentUserId

integer

The ID of the Alibaba Cloud account that is used as the management account.

ID of the Alibaba Cloud account that is used as the management account

ChildUserId

integer

The ID of the Alibaba Cloud account that is used as a member.

ID of the Alibaba Cloud account that is used as a member

StartTime

integer

The time when the financial relationship between the management account and the member was established.

2021-11-01

EndTime

integer

The time when the financial relationship between the management account and the member was terminated.

2021-12-01

Type

string

The type of the financial relationship.

enterprise_group

Status

string

The status of the financial relationship between the management account and the member.

  • RELATED [Association established]

  • CONFIRMING [To be confirmed by the other party]

  • REJECTED [Refused by the other party]

  • CONNECTION_CANCELED [Financial sub-account cancel request]

  • CONNECTION_MASTER_CANCEL [Financial master account cancel invitation]

  • CHANGE_CONFIRMING [Relationship change to be confirmed]

  • INITIAL [Initial new relationship status]

RELATED

GmtModified

integer

The time when the financial relationship between the management account and the member was modified.

2021-12-01

Code

string

The status code returned.

200

Success

boolean

Indicates whether the call is successful.

true

Examples

Success response

JSON format

{
  "Message": "Message returned\n",
  "RequestId": "RequestId",
  "Data": {
    "Id": 0,
    "ParentUserId": 0,
    "ChildUserId": 0,
    "StartTime": 0,
    "EndTime": 0,
    "Type": "enterprise_group",
    "Status": "RELATED",
    "GmtModified": 0
  },
  "Code": "200",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.