# Show a form --- Get a form. --- ## Description A form is used to collect additional data. For example, during the order process a form can collects essential customer information for the ticket issuer, including email addresses, allergy notifications, and required accommodations such as baby seats. ## Attributes details ### Code The unique code of this form. ### Fields The fields composing the form. A field can of different types, and can be required or not. Endpoint: GET /v1/forms/{id} Version: 1.0.7 Security: JWT ## Path parameters: - `id` (string, required) Form identifier ## Response 200 fields (application/ld+json): - `@context` (any) - `@id` (string) - `@type` (string) - `id` (string) Example: "0195197f-7918-7285-bb4b-7df2b682c3eb" - `code` (string) Example: "customer_infos_form" - `fields` (array) - `fields.required` (boolean) Example: true - `fields.type` (string) Enum: "text", "single_choice", "multi_choices", "bool", "integer", "decimal", "date", "time", "datetime" - `fields.label` (string) Example: "Lastname" - `fields.description` (string) Example: "Enter your lastname" - `fields.choices` (array) When the field's type is either single_choice or multi_choice this array contains the list of accepted values. - `fields.choices.value` (string) Example: "3" ## Response 403 fields (application/ld+json): - `@context` (any) - `@id` (string) - `@type` (string) - `title` (string,null) A short, human-readable summary of the problem. - `detail` (string,null) A human-readable explanation specific to this occurrence of the problem. - `status` (number) - `instance` (string,null) A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. - `type` (string) A URI reference that identifies the problem type - `description` (string,null) ## Response 404 fields (application/ld+json): - `@context` (any) - `@id` (string) - `@type` (string) - `title` (string,null) A short, human-readable summary of the problem. - `detail` (string,null) A human-readable explanation specific to this occurrence of the problem. - `status` (number) - `instance` (string,null) A URI reference that identifies the specific occurrence of the problem. It may or may not yield further information if dereferenced. - `type` (string) A URI reference that identifies the problem type - `description` (string,null)