Kategori
end point :
http://[base_url]/categories/index
method : get
Opsi
- type_id
- 1 = Buku
- 2 = ePustaka
Parameter
- client_id
- page(optional)
- per_page(optional)
Contoh Request
http://[base_url]/categories/index?client_id=EieoeZuyivjYgxrDKeVp?type_id=1
Response
{
"meta": {
"code": 200,
"confirm": "sukses"
},
"data": {
"Category": [
{
"icon": null,
"children": [],
"id": 674,
"name": " Khastara"
},
{
"icon": null,
"children": [],
"id": 503,
"name": "Agama"
}
]
}
}