Ejemplos

PUT /api/users/135138680/table_preferences/test_subscriptions_resource
{
  "columns": [
    "1",
    "2",
    "3"
  ],
  "table_preference": {
    "columns": [
      "1",
      "2",
      "3"
    ]
  }
}
200
{
  "id": 3,
  "name": "test_subscriptions_resource",
  "columns": [
    "1",
    "2",
    "3"
  ],
  "created_at": "2019-11-07 08:53:02 UTC",
  "updated_at": "2019-11-07 08:53:02 UTC"
}

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

table_preferences
requerido

Validations:

  • Must be a Hash

table_preferences[name]
requerido

Nombre de la tabla

Validations:

  • Must be a String

table_preferences[columns]
opcional

Lista de columnas seleccionadas por el usuario

Validations:

  • Must be an array of any type