GET /api/common_parameters
Llista tots els paràmetres globals.

Params

Param Name Description
search
Optional

filtra els resultats


Value:

Must be String

order
Optional

ordena els resultats


Value:

Must be String

page
Optional

pagina els resultats


Value:

Must be String

per_page
Optional

Nombre d'entrades per petició


Value:

Must be String


GET /api/common_parameters/:id
Mostra un paràmetre global

Params

Param Name Description
id
Required

Value:

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/common_parameters
Crea un paràmetre global

Params

Param Name Description
common_parameter
Required

Value:

Must be a Hash

common_parameter[name]
Required

Value:

Must be String

common_parameter[value]
Required

Value:

Must be String

common_parameter[hidden_value]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be one of: true, false.


PUT /api/common_parameters/:id
Actualitza un paràmetre global

Params

Param Name Description
id
Required

Value:

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

common_parameter
Required

Value:

Must be a Hash

common_parameter[name]
Optional

Value:

Must be String

common_parameter[value]
Optional

Value:

Must be String

common_parameter[hidden_value]
Optional , <span class="translation_missing" title="translation missing: ca.apipie.nil_allowed">Nil Allowed</span>

Value:

Must be one of: true, false.


DELETE /api/common_parameters/:id
Suprimeix un paràmetre global

Params

Param Name Description
id
Required

Value:

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