Proyek
Menampilkan data proyek yang dimiliki oleh pengguna PortaPro/Eces.
GET /project
Method : GET
URL : /project
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 | |
| perusahaans | Text | 1,2 | id perusahaan proyek. |
Response
{
"status": true,
"message": "Data fetched!",
"errors": null,
"data": {
"data": [
{
"prj_id": 1,
"prj_kd": "HLD001",
"prj_nm": "HOLDING",
"prj_alm": "-",
"prj_telp": "-",
"prj_fax": "-",
"prj_add1": "Bandung",
"prj_add2": "mediasarana info",
"prj_add3": "",
"prj_add4": "",
"prj_add5": "",
"prj_add6": "L",
"prj_kategori": "Landed",
"prj_add8": "",
"prj_add9": "",
"prj_update": "2023-07-27 22:54:33",
"blank": "0",
"prj_general": 1,
"bphtb_incl": 0,
"prj_rek2": "",
"prj_bnk2": "",
"prj_gmbr": "tik.png",
"prj_close": 0,
"status_label": "Open",
"prj_gmbar_android": null,
"prj_gmbarNm": null,
"cbg_desc": null,
"cbg_path_map": null,
"prsh_id": 1,
"prsh_nm": "-",
"perusahaan": {
"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/project?page=1",
"last": "http://portapro-api-public.local/api/vendor/v1/project?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/project?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "Next »",
"active": false
}
],
"path": "http://portapro-api-public.local/api/vendor/v1/project",
"per_page": 10,
"to": 1,
"total": 1
}
}
}