You can call this operation to query the notification settings.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeNoticeConfig

The operation that you want to perform.

Set the value to DescribeNoticeConfig.

SourceIp String No 1.2.3.4

The source IP address of the request.

Response parameters

Parameter Type Example Description
RequestId String D185B7FF-E24C-422D-83D3-C2A25C7A2727

The ID of the request.

NoticeConfigList Array

The list of notification settings.

TimeLimit Integer 1

The time period during which notifications can be sent to the recipients. Valid values:

  • 0: any time
  • 1: 08:00 to 22:00
Route Integer 7

The notification method.

Project String sas_suspicious

The project identifier.

AliUid Long 121234141424

The AliUid of the user.

CurrentPage Integer 1

The page number of the returned page.

Examples

Sample requests

http(s)://[Endpoint]/? Action=DescribeNoticeConfig
&<Common request parameters>

Sample success responses

XML format

<DescribeNoticeConfigResponse>
    <RequestId>D185B7FF-E24C-422D-83D3-C2A25C7A2727</RequestId>
    <NoticeConfigList>
        <Project>sas_suspicious</Project>
        <CurrentPage>1</CurrentPage>
        <TimeLimit>1</TimeLimit>
        <Route>7</Route>
        <AliUid>1049769453489698</AliUid>
    </NoticeConfigList>
    <NoticeConfigList>
        <Project>sas_healthcheck</Project>
        <CurrentPage>1</CurrentPage>
        <TimeLimit>1</TimeLimit>
        <Route>7</Route>
        <AliUid>1049769453489698</AliUid>
    </NoticeConfigList>
</DescribeNoticeConfigResponse>

JSON format

{
  "RequestId":"D185B7FF-E24C-422D-83D3-C2A25C7A2727",
  "NoticeConfigList":[
    {
      "Project":"sas_suspicious",
      "CurrentPage":1,
      "TimeLimit":1,
      "Route":7,
      "AliUid":10497611111111
    },
    {
      "Project":"sas_healthcheck",
      "CurrentPage":1,
      "TimeLimit":1,
      "Route":7,
      "AliUid":10422222222
    }
  ]
}

Error codes

For a list of error codes, visit the API Error Center.