ClientRating
Representa a una calificación otorgada a un Cliente. Las calificaciones de Clientes son otorgadas
por Providers.
Modelo ClientRating
{
"id": 1,
"order_id": 3,
"client_id": 1,
"provider_id": 1,
"rate": 4,
"comment": null,
"created_at": "2019-02-20 18:20:10",
"updated_at": "2019-02-20 18:20:10"
}
Insertar ClientRating
Método |
URI |
Cabeceras |
POST |
/companies/{companyId}/order-providers/{orderProviderId}/client-ratings |
Authorization |
{
"rate": "required|integer|min:1|max:5",
"comment": "string|max:255"
}
Listar ClientRating
Listar ClientRating de Client
{info} Soporta:
Paginación
Filters
Carga dinámica
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/clients/{clientId}/client-ratings |
Authorization |
Listar ClientRating de Order
{info} Soporta:
Paginación
Filters
Carga dinámica
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/orders/{orderId}/client-ratings |
Authorization |
Mostrar ClientRating
{info} Soporta:
Carga dinámica
Método |
URI |
Cabeceras |
GET |
/companies/{companyId}/client-ratings/{clientRatingId} |
Authorization |
Actualizar ClientRating
Método |
URI |
Cabeceras |
PATCH |
/companies/{companyId}/client-ratings/{clientRatingId} |
Authorization |
{
"comment": "required|string|max:255"
}
Enlaces de ClientRating