Perusahaan
Menampilkan list data perusahaan.
GET /perusahaan
Method : GET
URL : /perusahaan
Request
Headers
| Headers parameter | Required | Value |
|---|---|---|
| X-MSI | Y | kode_perusahaan_anda |
| Authorization | Y | Bearer <access token > |
Parameters
| Parameter | Required | Type | Value | Deskripsi |
|---|---|---|---|---|
| search | Text | green land | pencarian berdasarkan kode atau nama proyek | |
| paginate | Boolean: true/false | true | menampilkan paging atau tidak |
Response
{
"status": true,
"message": "Data fetched!",
"errors": null,
"data": {
"data": [
{
"prsh_id": 1,
"prsh_kd": "PRSH001",
"prsh_nm": "-",
"prsh_alm": null,
"prsh_telp": null,
"prsh_fax": null,
"prsh_kota": null,
"prsh_prov": null,
"prsh_ngr": null,
"prsh_email": null,
"prsh_kodepos": null,
"prsh_status": null,
"prsh_npwp": null,
"prsh_tglkukuh": null,
"prsh_holding": null,
"prsh_gmbarnm": null,
"prsh_desc": null,
"prsh_web": "",
"created_by": "0",
"created_at": "2022-10-21 13:47:42",
"updated_by": "",
"updated_at": null
}
],
"links": {
"first": "http://portapro-api-public.local/api/vendor/v1/perusahaan?page=1",
"last": "http://portapro-api-public.local/api/vendor/v1/perusahaan?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« Previous",
"active": false
},
{
"url": "http://portapro-api-public.local/api/vendor/v1/perusahaan?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "http://portapro-api-public.local/api/vendor/v1/perusahaan",
"per_page": 10,
"to": 1,
"total": 1
}
}
}