All Products
Search
Document Center

OpenSearch:Response structure

Last Updated:Oct 21, 2022

Success responses

Example

{
    "requestId": "D77D0DAF-790D-F5F5-A9C0-133738165014",
    "result": (Array|Object) // The result that was returned.
}

Structure

Field

Type

Description

requestId

String

The ID of the request.

result

Array/Object

The result that was returned.

Error responses

Example

{
    "requestId": "BD1EA715-DF6F-06C2-004C-C1FA0D3A9820",
  "httpCode": 404,
    "code": "App.NotFound",
    "message": "App not found"
}

Structure

Field

Type

Description

requestId

String

The ID of the request.

httpCode

Integer

The HTTP status code.

code

String

The error code.

message

String

The error message.

For more information, see Error codes.