CompanyType
Modelo CompanyType
{
"id": 2,
"name": "Casting agency",
"created_at": "2022-11-30T18:00:26.000000Z",
"updated_at": "2022-11-30T18:00:26.000000Z",
"deleted_at": null
}
Insertar CompanyType
URI |
Cabeceras |
POST /company-types |
Auth |
Carga Ăștil
{
"name": "Casting agency"
}
Atributos
-
name
string
obligatorio
max: 40
Listar CompanyType
URI |
Cabeceras |
GET /company-types |
Guest |
Atributos
-
per_page
integer
opcional
min: 1
max: 60
-
page
integer
opcional
min: 1
Listar All CompanyType
URI |
Cabeceras |
GET /company-types/all |
Guest |
Mostrar CompanyType
URI |
Cabeceras |
GET /company-types/{companyType} |
Guest |
Actualizar CompanyType
URI |
Cabeceras |
PATCH /company-types/{companyType} |
Auth |
Carga Ăștil
{
"name": "Casting agency"
}
Atributos
-
name
string
opcional
max: 40
Eliminar CompanyType
URI |
Cabeceras |
DELETE /company-types/{companyType} |
Auth |
Restaurar CompanyType
URI |
Cabeceras |
POST /company-types/{companyTypeId}/restore |
Auth |
Enlaces de CompanyType