TalentAttributeDefinition
Definición de Atributos dinámicos para los Talents (Administrables).
Modelo TalentAttributeDefinition
{
"id": 6,
"attribute": "complexion:eye_color",
"name": "Eye color",
"unit": null,
"definition": {
"rules": "nullable|string|max:255",
"type": "input_text",
"options": [],
"is_mandatory": false,
"is_public": true,
"is_title_visible": true,
"default": null
},
"in_order": 5,
"created_at": "2022-11-18T02:28:55.000000Z",
"updated_at": "2022-11-18T02:28:55.000000Z",
"deleted_at": null
}
Insertar TalentAttributeDefinition
URI |
Cabeceras |
POST /talent-attribute-definitions |
Auth |
Carga útil
{
"attribute": "complexion:eye_color",
"name": "Eye color",
"unit": null,
"definition": {
"rules": "nullable|string|max:255",
"type": "input_text",
"options": [],
"is_mandatory": false,
"is_public": true,
"is_title_visible": true,
"default": null
}
}
Atributos
-
attribute
string
obligatorio
max: 64
-
name
string
obligatorio
max: 255
-
unit
string
opcional
nullable
max: 32
-
definition
object
opcional
-
rules
string
opcional
-
type
string
opcional
"input_text"
"options"
"image"
choice
-
options
object
opcional
-
string|max
string
opcional
-
is_mandatory
boolean
opcional
-
is_public
boolean
opcional
-
is_title_visible
boolean
opcional
-
default
string
opcional
Listar TalentAttributeDefinition
URI |
Cabeceras |
GET /talent-attribute-definitions |
Guest |
Atributos
-
per_page
integer
opcional
min: 1
max: 60
-
page
integer
opcional
min: 1
Listar All TalentAttributeDefinition
URI |
Cabeceras |
GET /talent-attribute-definitions/all |
Guest |
Mostrar TalentAttributeDefinition
URI |
Cabeceras |
GET /talent-attribute-definitions/{talentAttributeDefinition} |
Guest |
Actualizar TalentAttributeDefinition
URI |
Cabeceras |
PATCH /talent-attribute-definitions/{talentAttributeDefinition} |
Auth |
Carga útil
{
"attribute": "complexion:eye_color",
"name": "Eye color",
"unit": null,
"definition": {
"rules": "nullable|string|max:255",
"type": "input_text",
"options": [],
"is_mandatory": false,
"is_public": true,
"is_title_visible": true,
"default": null
}
}
Atributos
-
attribute
string
opcional
max: 64
-
name
string
opcional
max: 255
-
unit
string
opcional
nullable
max: 32
-
definition
object
opcional
-
rules
string
opcional
nullable
-
type
string
opcional
nullable
"input_text"
"options"
"image"
choice
-
options
object
opcional
-
string|max
string
opcional
-
is_mandatory
boolean
opcional
nullable
-
is_public
boolean
opcional
nullable
-
default
string
opcional
nullable
Eliminar TalentAttributeDefinition
URI |
Cabeceras |
DELETE /talent-attribute-definitions/{talentAttributeDefinition} |
Auth |
Restaurar TalentAttributeDefinition
URI |
Cabeceras |
POST /talent-attribute-definitions/{talentAttributeDefinitionId}/restore |
Auth |
Enlaces de TalentAttributeDefinition