Actions
Bug #1533
closedBuat handle error duplicate entry api booking tokopedia
Platform:
SWB - Sistem Wahana Baru
User:
SP:
Sprint:
Description
1. tambah handle try catch pada fungsi insert ke db
2. cek jika dapat error kode 1062 => Duplicate entry, maka kirim respone code sukses 200 dengan data yang dibutuhkan tokopedia
// contoh respone api booking { "code": 0, "data": { "awb": "YHC333MF", "branch_code": "6AB-191-S75-125-S70-128-G08-169-PHW" }, "detail": { "booking": "TWHN-000005WDECZ" }, "message": "successfull", "status": "success" }
Updated by Redmine Admin 12 months ago
- Status changed from In Progress to Ready for Deployment
Updated by Redmine Admin 12 months ago
- Project changed from 36 to Sales & Marketing
Updated by Samsul Fauzi 12 months ago
- Status changed from Ready for Deployment to Resolved
Actions