DEV

Type.

QuestionnaireSessionLine

No description

Fields

Required

No description

currentQuestion

Question

The next question to answer on this line; null once the line is COMPLETED.

dependentOptions

[DependentOptionSet!]!

Required

Provider-agnostic up-front dependent-options table. One DependentOptionSet per distinct optionsSource among this line's questions, covering every reachable option combination scoped to this line's item (HTS code). Clients use this to derive visible options for provider-backed questions locally, without additional server calls.

id

ID!

Required

Stable external id, prefixed questionnaire_session_line_.

programId

ID!

Required

External id of the ComplianceProgram this line answers.

Required

ALL questions for this line's questionnaire version in display order, each with its latest answer. Display conditions are NOT evaluated server-side here — deliver the full tree so the client can evaluate them locally (one-shot delivery, zero subsequent round-trips for conditional branching).

responseId

ID

External id of the finalized response; null until the line is COMPLETED.

Required

No description

targetId

ID!

Required

No description

targetType

ResponseTargetType!

Required

What the line is about — a durable CatalogItem or a per-shipment Item.

visibleQuestions

[SessionLineQuestion!]!

Required

All currently-visible questions in display order, each with its latest answer merged (null when unanswered). Display conditions are evaluated server-side against this line's answers — the render-ready review list; clients never re-implement the evaluator.
Book a demo

Was this page helpful?