Country
Modelo Country
{
"id": 15,
"company_id": 116,
"name": "Venezuela",
"code": "VEN"
}
| Atributo |
Tipo |
Descripción |
id |
int |
- |
company_id |
int |
- |
name |
string |
- |
code |
string |
- |
Insertar Country
| Método |
URI |
Cabeceras |
| POST |
/companies/{companyId}/countries |
Authorization |
Listar Country
{info} Soporta:
Paginación
Filters
Carga dinámica
| Método |
URI |
Cabeceras |
| GET |
/companies/{companyId}/countries |
N/A |
Mostrar Country
{info} Soporta:
Carga dinámica
| Método |
URI |
Cabeceras |
| GET |
/companies/{companyId}/countries/{countryId} |
N/A |
Actualizar Country
| Método |
URI |
Cabeceras |
| PATCH |
/companies/{companyId}/countries/{countryId} |
Authorization |
Eliminar Country
| Método |
URI |
Cabeceras |
| DELETE |
/companies/{companyId}/countries/{countryId} |
Authorization |
Enlaces de Country