Skip to main content

Warning

Warning information. Warnings are non-fatal issues that don't prevent the operation from completing but may indicate configuration issues or sub-optimal results.

Common warnings:

  • INFO_NO_MARKUP_CONFIGURED: Connection has no margin configured; selling price uses provider gross/suggested
  • STAY_DATE_NORMALIZED: Search checkIn/checkOut was not UTC midnight; time-of-day was ignored. additionalData.received is what the buyer sent; used is the civil date searched. Severity is INFO. HTTP status remains 200.
codestring

Warning code identifier

Example: WARN_CODE_NONE
descriptionstring

Human-readable warning description

Example: No markup configured for connection; selling price uses provider gross/suggested
connectionCodestring

Connection code associated with the warning

Example: testb-conn-1876
additionalData 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)
property name*string
Warning
{
"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"
}
}