SaveTerminalLog

更新时间:
复制 MD 格式

Invoke the SaveTerminalLog API to report agent-side log information. Regular customers do not need to be concerned with this API.

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

InstanceId

string

Yes

The instance ID.

ccc-test

CallId

string

Yes

The CallId of the call channel, generated by the SIP protocol. Each SIP call has a unique CallId.

e13c9740-1e37-123b-21b6-00163e352f9

JobId

string

Yes

The call ID.

job-b8b0ca63-330c-4e65-8ae3-9de2c7ce7683

AppName

string

Yes

The AppName.

CCCClient

DataType

integer

Yes

The data type. The default value is 1.

1

Content

string

Yes

The content information.

none

Status

string

Yes

The status information, either true or false.

true

UniqueRequestId

string

Yes

The method request ID.

none

MethodName

string

No

The method name.

TurnServerTest

Response elements

Element

Type

Description

Example

object

HttpStatusCode

integer

The HTTP status code.

200

RequestId

string

The request ID.

BA03159C-E808-4FF1-B27E-A61B6E888D7F

Success

boolean

Indicates whether the operation succeeded.

true

Code

string

The response code.

OK

Message

string

The response message.

TimeStamp

integer

The time when the log was generated, in UNIX timestamp format, in milliseconds.

1647309061000

Examples

Success response

JSON format

{
  "HttpStatusCode": 200,
  "RequestId": "BA03159C-E808-4FF1-B27E-A61B6E888D7F",
  "Success": true,
  "Code": "OK",
  "Message": "无",
  "TimeStamp": 1647309061000
}

Error codes

HTTP status code

Error code

Error message

Description

400 Parameter.Format The format of parameter %s is invalid. %s
500 InternalService.Common An internal service error occurred. %s
403 Permission.Unauthorized You are not authorized to perform this action. %s privileges are required.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.