Obtener la lista de Categorías¶
-
GET
https://api.software.madkting.com/categories/
¶ Objeto de respuesta Categoría
Status Codes: - 200 OK – Ok.
- 500 Internal Server Error – Error interno.
Ejemplo de petición¶
GET https://api.software.madkting.com/categories/ HTTP/1.1
Accept: application/json
Authorization: Token 54f2d8bcfc49e7821da31a83ab95e40213c0a5c1
Ejemplo de respuesta¶
HTTP/1.1 200 OK
Vary: Accept
Content-Type: application/json
Allow: POST, OPTIONS
[
{
"is_active": true,
"name": "Herramientas",
"parent_pk": null,
"pk": 510
},
{
"is_active": true,
"name": "Veh\u00edculos y Repuestos",
"parent_pk": null,
"pk": 511
},
{
"is_active": true,
"name": "Electr\u00f3nica",
"parent_pk": null,
"pk": 512
},
{
"is_active": true,
"name": "Deportes ",
"parent_pk": null,
"pk": 513
},
{
"is_active": true,
"name": "Hogar",
"parent_pk": null,
"pk": 514
}
]