Examples

POST /api/common_parameters
{
  "common_parameter": {
    "name": "special_key",
    "value": "123"
  }
}
201
{
  "created_at": "2018-11-16 10:03:07 UTC",
  "updated_at": "2018-11-16 10:03:07 UTC",
  "hidden_value?": false,
  "hidden_value": "*****",
  "id": 767575239,
  "name": "special_key",
  "value": "123"
}

Params

Param name Description
location_id
optional

Set the current location context for the request

Validations:

  • Must be a Integer

organization_id
optional

Set the current organization context for the request

Validations:

  • Must be a Integer

common_parameter
required

Validations:

  • Must be a Hash

common_parameter[name]
required

Validations:

  • Must be a String

common_parameter[value]
required

Validations:

  • Must be a String

common_parameter[parameter_type]
required

Type of value

Validations:

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

common_parameter[hidden_value]
optional , nil allowed

Validations:

  • Must be one of: true, false.