BranchSection


Modelo BranchSection

{
    "id": 3,
    "name": "System-Managed Section",
    "type": "categories",
    "enabled": true,
    "in_order": 65535,
    "created_at": "2020-09-17 00:53:20",
    "updated_at": "2020-09-17 00:53:20",
    "payload": null
}
Atributo Tipo Descripción
id int -
name string -
type string -
enabled bool -
in_order int -
created_at datetime\|null -
updated_at datetime\|null -

Insertar BranchSection

Método URI Cabeceras
POST /companies/{companyId}/branch-sections Authorization
{
    "name": "required_if:type,custom|string|max:64",
    "type": "required|string|in:custom,categories",
    "enabled": "boolean",
    "in_order": "integer",
    "payload": ""
}

Listar BranchSection

{info} Soporta: Paginación Filters Carga dinámica

Método URI Cabeceras
GET /companies/{companyId}/branch-sections Authorization

Mostrar BranchSection

{info} Soporta: Carga dinámica

Método URI Cabeceras
GET /companies/{companyId}/branch-sections/{branchSectionId} Authorization

Actualizar BranchSection

Método URI Cabeceras
PATCH /companies/{companyId}/branch-sections/{branchSectionId} Authorization
{
    "name": "string|max:64",
    "type": "string|in:custom,categories",
    "enabled": "boolean",
    "in_order": "integer",
    "payload": ""
}

Eliminar BranchSection

Método URI Cabeceras
DELETE /companies/{companyId}/branch-sections/{branchSectionId} Authorization

Enlaces de BranchSection