label_creation

Create kit labels and return them as a zip.

Flow: validate the panels, generate and render the labels, store the zip in Google Storage, then commit the new order-lookup rows. Schema rules (counts, child count, zero labels) are enforced by LabelCreationSchema and answer 422 before this function runs. Panel and token checks answer 400.

post/api/v3/admin/label-creation/

Request

  • Base URL
    https://api.endless.health (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Request body

ticket_idstring required
number_of_order_lookupsinteger required
number_of_large_labelsinteger required
number_of_small_labelsinteger required
test_panel_idinteger required
sample_type'SERUM_SEPARATOR' | 'SERUM_SEPARATOR_SERUM' | 'SERUM_SEPARATOR_BLOOD' | 'HEPARIN_CAPILLARY_BLOOD' | 'HEPARIN_CAPILLARY_PLASMA' | 'HEPARIN_VENOUS_BLOOD' | 'HEPARIN_VENOUS_PLASMA' | 'EDTA_CAPILLARY_BLOOD' | 'EDTA_CAPILLARY_PLASMA' | 'EDTA_VENOUS_BLOOD' | 'EDTA_VENOUS_PLASMA' | 'UNKNOWN' required
collection_method'ADX_CARD' | 'EH_CASSETTE_V1' | 'REDDROP' | 'TASSO' | 'VACUTAINER' required
tagsstring[]
activation_flow'UNKNOWN' | 'AT_HOME' | 'EVENT'

Intended kit activation flow assigned to an order lookup.

UNKNOWN covers historical and unclassified records. Later consumers may define their own fallback; this value object does not imply one.

domainstring uri nullable
custom_url_templatestring uri nullable

Response

Successful Response

unknown required

Changes

    • info

      added the new TASSO enum value to the request property ///

    • info

      added the new TASSO enum value to the request property