BranchSection


Modelo BranchSection

{
    "id": 1,
    "name": "System-Managed Section",
    "type": "categories",
    "enabled": true,
    "in_order": 1,
    "created_at": "2020-09-17 00:41:47",
    "updated_at": "2020-09-17 00:41:47"
}

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"
}

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"
}

Eliminar BranchSection

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

Enlaces de BranchSection