CancelResponse
Cancellation result (proto CancelResponse). Wire shape is audit/errors/warnings
plus cancelReference — not a nested booking or cancel object with penalties.
auditData object
Audit metadata (AuditData proto). Real wire uses requestId + transactions[]
(see G2 E2E captures). There is no processTime field on this message.
Request correlation id
transactions object[]
Provider transaction audit records when settings.auditTransactions is true.
Transaction id
Connection code that produced this exchange
Outbound request body (as sent to the provider)
Inbound response body (as received from the provider)
Round-trip duration in milliseconds
Provider URL that was called
HTTP status code (0 when transport failed before a status)
httpResponseHeaders object
Selected response headers from the provider call
errors object[]
Error code identifier. Transient provider-side failures (integration unreachable, HTTP 502/503/504, connection error or open circuit breaker) are reported as ERR_CODE_BAD_RESPONSE.
Possible values: [ERR_CODE_NONE, ERR_CODE_UNKNOWN, ERR_CODE_CONNECTION_DATA_MISSING, ERR_CODE_BAD_RESPONSE, ERR_CODE_BAD_REQUEST, ERR_CODE_MISSING_FIELDS, ERR_CODE_CONFIGURATION]
ERR_CODE_CONNECTION_DATA_MISSINGError type category. Provider-side failures (including transient outages) are reported as ERR_TYPE_PROVIDER.
Possible values: [ERR_TYPE_NONE, ERR_TYPE_UNKNOWN, ERR_TYPE_CLIENT, ERR_TYPE_PROVIDER, ERR_TYPE_SERVICE]
ERR_TYPE_PROVIDERHuman-readable error description
Connection code associated with the error (if applicable)
testb-conn-1876additionalData object
Optional string map. When the aggregator recognizes the provider
message, it may set retryable and recommended_action
(restart_availability, requote_new_price,
verify_booking_then_restart, backoff_and_retry, fix_request).
warnings object[]
Warning code identifier
WARN_CODE_NONEHuman-readable warning description
No markup configured for connection; selling price uses provider gross/suggestedConnection code associated with the warning
testb-conn-1876additionalData object
Additional data providing context about the warning. For INFO_NO_MARKUP_CONFIGURED warnings, includes:
- warning_type: "INFO_NO_MARKUP_CONFIGURED"
- connection_code: The affected connection code For STAY_DATE_NORMALIZED warnings, includes:
- warning_type: "STAY_DATE_NORMALIZED"
- severity: "INFO"
- field: "checkIn" or "checkOut"
- received: original timestamp string
- used: civil date actually searched (YYYY-MM-DD)
debugData object[]
Debug type/value pairs when enabled (present on real cancel captures)
Remark type
Remark value
Cancel reference returned by the provider when available
{
"auditData": {
"requestId": "string",
"transactions": [
{
"id": "string",
"connectionCode": "string",
"request": "string",
"response": "string",
"duration": 0,
"httpUrl": "string",
"httpStatusCode": 0,
"httpResponseHeaders": {}
}
]
},
"errors": [
{
"code": "ERR_CODE_CONNECTION_DATA_MISSING",
"type": "ERR_TYPE_PROVIDER",
"description": "string",
"connectionCode": "testb-conn-1876",
"additionalData": {}
}
],
"warnings": [
{
"code": "WARN_CODE_NONE",
"description": "No markup configured for connection; selling price uses provider gross/suggested",
"connectionCode": "testb-conn-1876",
"additionalData": {
"warning_type": "INFO_NO_MARKUP_CONFIGURED",
"connection_code": "testb-conn-1876"
}
}
],
"debugData": [
{
"type": "string",
"value": "string"
}
],
"cancelReference": "string"
}