GET /api/templates/:template_id/foreign_input_sets
Listar conjuntos de entrada externos

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Alcance por ubicación

Validations:

  • Must be a Integer

organization_id
opcional

Alcance por organización

Validations:

  • Must be a Integer

template_id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

search
opcional

filtrar resultados

Validations:

  • Must be a String

order
opcional

organizar resultados

Validations:

  • Must be a String

page
opcional

paginar resultados

Validations:

  • Must be a String

per_page
opcional

número de entradas por solicitud

Validations:

  • Must be a String


GET /api/templates/:template_id/foreign_input_sets/:id
Mostrar detalles del conjunto de entrada externo

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Alcance por ubicación

Validations:

  • Must be a Integer

organization_id
opcional

Alcance por organización

Validations:

  • Must be a Integer

template_id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/templates/:template_id/foreign_input_sets
Crear un conjunto de entrada externo

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Alcance por ubicación

Validations:

  • Must be a Integer

organization_id
opcional

Alcance por organización

Validations:

  • Must be a Integer

template_id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

foreign_input_set
requerido

Validations:

  • Must be a Hash

foreign_input_set[target_template_id]
requerido

ID de la plantilla de destino

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

foreign_input_set[include_all]
opcional , nil permitido

Include all inputs from the foreign template

Validations:

  • Must be one of: true, false, 1, 0

foreign_input_set[include]
opcional , nil permitido

Una lista de nombres de entrada separados por comas que se incluirá desde la plantilla externa.

Validations:

  • Must be a String

foreign_input_set[exclude]
opcional , nil permitido

Una lista de nombres de entrada separados por comas que se incluirá desde la plantilla externa.

Validations:

  • Must be a String

foreign_input_set[description]
opcional , nil permitido

Descripción del conjunto de entrada

Validations:

  • Must be a String


DELETE /api/templates/:template_id/foreign_input_sets/:id
Eliminar un conjunto de entrada externo

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Alcance por ubicación

Validations:

  • Must be a Integer

organization_id
opcional

Alcance por organización

Validations:

  • Must be a Integer

template_id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


PUT /api/templates/:template_id/foreign_input_sets/:id
Actualizar un conjunto de entrada externo

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Alcance por ubicación

Validations:

  • Must be a Integer

organization_id
opcional

Alcance por organización

Validations:

  • Must be a Integer

template_id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

id
requerido

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

foreign_input_set
requerido

Validations:

  • Must be a Hash

foreign_input_set[target_template_id]
opcional

ID de la plantilla de destino

Validations:

  • Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.

foreign_input_set[include_all]
opcional , nil permitido

Include all inputs from the foreign template

Validations:

  • Must be one of: true, false, 1, 0

foreign_input_set[include]
opcional , nil permitido

Una lista de nombres de entrada separados por comas que se incluirá desde la plantilla externa.

Validations:

  • Must be a String

foreign_input_set[exclude]
opcional , nil permitido

Una lista de nombres de entrada separados por comas que se incluirá desde la plantilla externa.

Validations:

  • Must be a String

foreign_input_set[description]
opcional , nil permitido

Descripción del conjunto de entrada

Validations:

  • Must be a String