BranchRating


Modelo BranchRating

{
    "id": 1,
    "rate": 5,
    "comment": "Excelente Servicio",
    "created_at": "2020-12-29 20:26:53",
    "updated_at": "2020-12-29 20:26:53",
    "order_id": 1508,
    "client_id": 11,
    "branch_id": 2,
    "branch_group_id": 2
}

Insertar BranchRating

Insertar BranchRating de Order

Método URI Cabeceras
POST /companies/{companyId}/orders/{orderId}/branch-ratings Authorization
{
    "rate": "required|integer|min:1|max:5",
    "comment": "string|max:255"
}

Listar BranchRating

Listar BranchRating de Client

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

Método URI Cabeceras
GET /companies/{companyId}/clients/{clientId}/branch-ratings Authorization

Listar BranchRating de Branch

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

Método URI Cabeceras
GET /companies/{companyId}/branches/{branchId}/branch-ratings Authorization

Listar BranchRating de BranchGroup

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

Método URI Cabeceras
GET /companies/{companyId}/branch-groups/{branchGroupId}/branch-ratings Authorization

Mostrar BranchRating

{info} Soporta: Carga dinámica

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

Actualizar BranchRating

Método URI Cabeceras
PATCH /companies/{companyId}/branch-ratings/{branchRatingId} Authorization
{
    "comment": "required|string|max:255"
}

Enlaces de BranchRating