Search Send Result

When the above two interfaces are successfully invoked, the user receives the return result containing eventId, which can be used to search for the actual sent result of the message in this interface.

Request Format

POST https://{apigw-address}/notification-center-service/v2.0/search/message

Only eventId results corresponding to this OU can be queried. Results of other applications or OU cannot be searched.

Request Parameters (URI)

Name

Location (Path/Query)

Mandatory/Optional

Data Type

Description

orgId

Query

Mandatory

String

The organization ID. How to get the orgId>>

Request Parameters (Body)

Name

Mandatory/Optional

Data Type

Description

eventId

Mandatory

String

An eventId that returns the result for the user to query when a mail or SMS request is sent

Error Codes

Code

Data Type

Description

32403

permission.denied.message.result

You are not allowed to view the message record results

32404

not.exist.message.result

The message record was not found

Samples

Request Sample

url: https://{apigw-address}/notification-center-service/v2.0/search/message?orgId=yourOrgId
method: POST
requestBody:
{
   "eventId": "xxx"
}

Return Sample

{"code":0,"msg":"OK","submsg":"","requestId":""}

Abnormal Sample

{"code":32600 , "msg":"eventId is not existed or exceed storage time", "submsg":"eventId is not existed or exceed storage time", "data": null, "requestId": null}