All Products
Search
Document Center

:GetAccountFactoryBaseline

Last Updated:Apr 29, 2024

Obtains the details of an account factory baseline.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
BaselineIdstringNo

The baseline ID.

afb-bp1nf0enuzb89az*****
RegionIdstringNo

The region ID.

cn-hangzhou

Response parameters

ParameterTypeDescriptionExample
object

The baseline configuration.

RequestIdstring

The request ID.

60D54503-F1F6-51B6-B6FA-A70CBDA2A68C
BaselineIdstring

The baseline ID.

afb-bp16ae2k8a3yo3d*****
BaselineNamestring

The name of the baseline.

Default
BaselineItemsobject []

The baseline items.

Namestring

The name of the baseline item.

1097526274671790
Versionstring

The version of the baseline item.

1.0
Configstring

The configuration of the baseline item.

The value is a JSON string.

{\"Notifications\":[{\"GroupKey\":\"account_msg\",\"Contacts\":[{\"Name\":\"aa\"}],\"PmsgStatus\":1,\"EmailStatus\":1,\"SmsStatus\":1}]}
CreateTimestring

The time when the baseline was created.

2022-11-28T00:46:34Z
UpdateTimestring

The time when the baseline was updated.

2022-11-02T01:00:07Z
Descriptionstring

The description of the baseline.

Default baseline
Typestring

The type of the baseline. Valid values:

  • System: default baseline.
  • Custom: custom baseline.
Custom

Examples

Sample success responses

JSONformat

{
  "RequestId": "60D54503-F1F6-51B6-B6FA-A70CBDA2A68C",
  "BaselineId": "afb-bp16ae2k8a3yo3d*****",
  "BaselineName": "Default",
  "BaselineItems": [
    {
      "Name": "1097526274671790",
      "Version": "1.0",
      "Config": "{\\\"Notifications\\\":[{\\\"GroupKey\\\":\\\"account_msg\\\",\\\"Contacts\\\":[{\\\"Name\\\":\\\"aa\\\"}],\\\"PmsgStatus\\\":1,\\\"EmailStatus\\\":1,\\\"SmsStatus\\\":1}]}"
    }
  ],
  "CreateTime": "2022-11-28T00:46:34Z",
  "UpdateTime": "2022-11-02T01:00:07Z",
  "Description": "Default baseline",
  "Type": "Custom"
}

Error codes

HTTP status codeError codeError messageDescription
400InvalidParameterThe specified parameter %s is not valid.The specified parameter %s is invalid.
404InvalidUser.NotFoundThe specified user does not exist.The user does not exist.
404InvalidBaseline.NotFoundThe specified baseline does not exist.The specified account baseline does not exist.
404InvalidEnterpriseRealName.NotFoundThe specified account has not passed enterprise real name verification. Please complete the verification for the account first.The specified account has not passed enterprise real-name verification. Please complete the verification for the account first.
500InternalErrorA system error occurred.A system error occurred.

For a list of error codes, visit the Service error codes.