GetMetadataResponse
GetMetadataResponse returns static metadata exposed by the aggregator.
auditData object
Request audit information and downstream trace ids.
Identifier supplied by the caller to correlate the request.
transactions object[]
Downstream transactions performed during the request lifecycle.
Access identifier used for the provider call.
Raw request payload captured for auditing.
Raw response payload captured for auditing.
Identifier of the transaction within the aggregator.
Duration in milliseconds for the provider call.
Target URL of the provider call.
HTTP status code returned by the provider.
httpResponseHeaders object
HTTP headers returned by the provider.
errors object[]
Blocking errors encountered while retrieving metadata.
Error type grouping to help the client react appropriately.
Possible values: [ERR_TYPE_NONE, ERR_TYPE_UNKNOWN, ERR_TYPE_CLIENT, ERR_TYPE_PROVIDER, ERR_TYPE_SERVICE]
Specific error code exposed by the aggregator.
Possible values: [ERR_CODE_NONE, ERR_CODE_UNKNOWN, ERR_CODE_ACCESS_DATA_MISSING, ERR_CODE_BAD_RESPONSE, ERR_CODE_BAD_REQUEST, ERR_CODE_MISSING_FIELDS, ERR_CODE_CONFIGURATION]
Human readable description of the error.
additionalData object
Additional key/value data associated with the error.
Access identifier that produced the error when applicable.
warnings object[]
Non-blocking warnings returned alongside the metadata.
Warning code categorising the issue.
Possible values: [WARN_CODE_NONE, WARN_MAPPING_HOTEL_MISSING, WARN_MAPPING_ROOM_MISSING, WARN_MAPPING_RATE_PLAN_MISSING, WARN_MAPPING_BOARD_CODE_MISSING]
Human readable warning description.
additionalData object
Additional key/value data associated with the warning.
Access identifier that produced the warning when available.
debugData object[]
Additional debug data for diagnostic purposes.
Type identifier that categorises the value.
Associated value.
metadata object
Metadata payload requested by the caller.
Access identifier that provided the metadata.
metadataData object
Access specific metadata values.
Access identifier used in the metadata source.
data object[]
Arbitrary data entries supplied by the provider.
Type identifier that categorises the value.
Associated value.
Creation timestamp for the metadata entry.
Last update timestamp for the metadata entry.
{
"auditData": {
"requestId": "string",
"transactions": [
{
"accessId": "string",
"request": "string",
"response": "string",
"id": "string",
"duration": 0,
"httpUrl": "string",
"httpStatusCode": 0,
"httpResponseHeaders": {}
}
]
},
"errors": [
{
"type": "ERR_TYPE_NONE",
"code": "ERR_CODE_NONE",
"description": "string",
"additionalData": {},
"accessId": "string"
}
],
"warnings": [
{
"code": "WARN_CODE_NONE",
"description": "string",
"additionalData": {},
"accessId": "string"
}
],
"debugData": [
{
"type": "string",
"value": "string"
}
],
"metadata": {
"access": "string",
"metadataData": {
"access": "string",
"data": [
{
"type": "string",
"value": "string"
}
]
},
"createdAt": "2024-07-29T15:51:28.071Z",
"updatedAt": "2024-07-29T15:51:28.071Z"
}
}