Esempi

POST /api/common_parameters
{
  "common_parameter": {
    "name": "special_key",
    "value": "123"
  }
}
201
{
  "created_at": "2019-11-07 08:32:20 UTC",
  "updated_at": "2019-11-07 08:32:20 UTC",
  "hidden_value?": false,
  "hidden_value": "*****",
  "id": 767575239,
  "name": "special_key",
  "parameter_type": "string",
  "value": "123"
}

Parametri

Nome parametro Descrizione
location_id
opzionale

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
opzionale

Set the current organization context for the request

Validations:

  • Must be a Integer

common_parameter
richiesto

Validations:

  • Must be a Hash

common_parameter[name]
richiesto

Validations:

  • Must be a String

common_parameter[value]
richiesto

Validations:

  • Must be a String

common_parameter[parameter_type]
richiesto

Type of value

Validations:

  • Must be one of: string, boolean, integer, real, array, hash, yaml, json.

common_parameter[hidden_value]
opzionale , consentito nil

Validations:

  • Must be one of: true, false.