UOF.Schemas.Common.Response (uof_schemas v0.2.0)

Copy Markdown View Source

The Betradar HTTP API's generic <response> envelope.

Every API endpoint can return this instead of its typed payload: as an error body (response_code such as NOT_FOUND, with message/errors) or as the acknowledgement of a write/command (booking, recovery, custom-bet submit). Because it is shared across endpoints, it is the single root element whose name collides between API groups, so dynamic dispatch maps "response" here.

Upstream defines it three times — error_response.xsd (sports API), ErrorResponse.xsd (custom bet) and UnifiedFeedResponse.xsd — with slightly different fields. This module is the hand-written union of those, since no single XSD produces it; it lives under common/ (outside the generated api/ tree) so mix uof.schemas.gen neither overwrites nor removes it.

Summary

Functions

changeset(struct, params)