Get All Format Surat

To get the data in the specified collection. If no parameters are passed, it lists all of them. Otherwise, it lists the documents in the collection matching the specified parameters:

Method : GET

URL : /surat/format

Response : 200 OK

{
"data": [
{
"id": 1,
"kode": "S-1",
"nama_surat": "Surat Keterangan",
"pemohon": 1
}
],
"limit": 5,
"offset": 0,
"pagination": [
{
"page": 1,
"url": "http://127.0.0.1:8000/surat/format?limit=5&offset=0"
}
]
}

Response : 404 NOT FOUND

Not Found

Response : 500 ERROR

Internal Server Error