Reports one or more custom events.


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 PutCustomEvent

The operation that you want to perform. Set the value to PutCustomEvent.

EventInfo.N.Content String Yes IOException

The content of the custom event. Valid values of N: 1 to 50.

EventInfo.N.EventName String Yes myEvent

The name of the custom event. Valid values of N: 1 to 50.

EventInfo.N.Time String No 20171013T170923.456+0800

The time when the custom event occurred. Valid values of N: 1 to 50.

EventInfo.N.GroupId String No 123456

The ID of the application group. Valid values of N: 1 to 50.

If the reported event belongs to no application groups, set the value to 0.

Response parameters

Parameter Type Example Description
RequestId String 131DD9C8-9A32-4428-AD2E-4E3013B6E3A7

The ID of the request.

Code String 200

The HTTP status code.

Note The status code 200 indicates that the call was successful.
Message String success

The returned message.


Sample requests

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

Sample success responses

XML format


JSON format

    "Message": "success",
    "RequestId": "131DD9C8-9A32-4428-AD2E-4E3013B6E3A7",
    "Code": "200"

Error codes

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