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

Parámetros

Nombre del parámetro Descripción
location_id
opcional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

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

Orden y campo de clasificación, p. ej., 'id DESC'

Validations:

  • Must be a String

page
opcional

Número de página, comenzando por 1

Validations:

  • Must be a number.

per_page
opcional

Número de resultados por página para devolver

Validations:

  • Must be a number.


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

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

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

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

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

Incluir todas las entradas de la plantilla externa

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

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

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

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opcional

Set the current organization context for the request

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

Incluir todas las entradas de la plantilla externa

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