Update NUP/Reserve
Update data NUP/Reservasi pada aplikasi PortaPro/Eces.
PUT /reserve/{id}
POST /reserve
Method : PUT
URL : /reserve/{id}
Request
Headers
| parameter | Required | Value |
|---|---|---|
| X-MSI | Y | kode_perusahaan_anda |
| Authorization | Y | Bearer <access token > |
Body Parameters
Body Parameters : application/x-www-form-urlencoded
| Parameter | Required | Type | Value | Deskripsi |
|---|---|---|---|---|
| res_id | Y | bigint(20) | ID NUP/Reserve | |
| res_tgl | Y | Datetime | Y-m-d H:i:s | Tanggal NUP/Reserve |
| res_no | Y | Varchar(255) | unik | Nomor Mutasi Penerimaan NUP/Reserve |
| res_no_reff | Y | Varchar(255) | unik | Nomor urut pemesanan |
| res_nom | Y | Double | 10000 | Nilai NUP |
| res_ket | Varchar(255) | Keterangan transaksi | ||
| res_status | Y | smallint(6) | Status NUP/Reserve. 0=NUP/Reserve, 1=Batal, 2=Booking, 3=Belum Konfirmasi, 4=Menuggu Verifikasi | |
| res_referral | Varchar(100) | kode referral NUP/Reserve | ||
| mrk_id | Y | Numeric | ID Marketing | |
| cusw_id | Numeric | ID Prospek | ||
| cus_nm | Y | Varchar(200) | Nama Prospek | |
| cus_hp | Y | Varchar(50) | No Handphone Prospek | |
| cus_mail | Varchar(100) | alamat email Prospek | ||
| cus_identitas | Y | Varchar(50) | No Identitas Prospek | |
| cus_npwp | Varchar(50) | NPWP Prospek | ||
| cus_alm | Varchar(255) | Alamat domisili Prospek | ||
| prj_id | Y | bigint(20) | ID Proyek | |
| kat_id | bigint(20) | ID Kategori Unit | ||
| sprop_cluster | Varchar(200) | Nama cluster unit | ||
| sprop_type | Varchar(200) | Nama Type Unit | ||
| prop_id | bigint(20) | ID Unit Properti | ||
| crbyr_id | Y | bigint(20) | ID Metode bayar : 25=Cash, 26=Cek/Giro, 27=Transfer, 28=EDC | |
| rek_id | Y | bigint(20) | ID Rekening Penerimaan NUP/Reserve | |
| prospek_status | Y | bigint(20) | ID Status Prospek | |
| prospek_sumber | Y | int(11) | ID Sumber info prospek |
Response
{
"status": true,
"message": "Data updated!",
"errors": null,
"data": {
"res_id": 23035,
"res_tgl": "2023-03-30 11:14:07",
"res_no": "BCS455-BM-2303-00005",
"res_no_reff": "a1123111",
"res_nom": 1000000,
"res_ket": "Reservasi MSI REGENCY A/N Nugraha Sukma P No NUP/Reserve a1123111 Senilai 1.000.000",
"res_status": 0,
"res_status_label": "Reservasi",
"res_referral": null,
"res_bk": "B",
"res_girono": "-",
"res_girotgl": "2023-08-07 08:52:25",
"mrk_id": 2,
"cusw_id": 9,
"cus_nm": "Nugraha Sukma P",
"cus_hp": "12345678",
"cus_identitas": "1122",
"cus_npwp": null,
"cus_alm": null,
"prj_id": 11,
"kat_id": null,
"sprop_type": null,
"sprop_cluster": null,
"prop_id": null,
"crbyr_id": 27,
"rek_id": 212,
"tran_jns": 6000,
"book_id": null,
"usr_id": 3
}
}