Gateway
| API | Description |
|---|---|
| POST gateway/points |
Used to issue points to member based on recycle items. |
| POST gateway/pointSTS |
Used to check the points issuance status. |
| POST gateway/pointCancel |
Used to reversed the points issuance transaction. |
| POST gateway/redeem |
Used to process member redemption thru vending machine. |
| POST gateway/redeemStatus |
Used to check the redemption status. |
| POST gateway/redeemCancel |
Used to reversed the points issuance transaction. |
| POST gateway/CheckBalance/{AcctNo}/{lang} |
Check the latest available balance for customer. |
| POST gateway/RedeemVoucherQR |
POST RedeemVoucherQR Check the latest QRcode or create. |
Apps
| API | Description |
|---|---|
| GET api/ads/{lang}/{func} |
GET function by language and func |
| GET api/Announcement/{lang}/{func} |
GET Announcement by language and func |
| GET api/AnnouncementDetail/{Lang}/{Ids} |
GET Return the details of the annoucement, or fix ids. |
| POST api/AcccountVoucher |
POST it will return the voucher detail, unique id is get from the listing above, func = [Active][Used][Expired][ById], VoucherId is required when using [ById] |
| GET api/vouchers?status={status} |
GET it will return the voucher detail, Filter by status (Active, Used, Expired) (optional) |
| GET api/vouchers/{id} |
GET it will return the voucher detail, VoucherId is required |
| POST api/vouchers/{id}/redeem |
POST it will return the voucher detail, unique id is get from the listing above, func = [Active][Used][Expired][ById], VoucherId is required when using [ById] |
| GET api/FAQ/{lang}/{func} |
GET the FAQ listing, func=[not require] |
| GET api/WebView/{id} |
GET WebView URL function by id |
| POST api/register |
POST Register function |
| POST api/cmlogin |
POST Login function will generate TOKEN |
| GET api/cmlogin/{id}/{pass}/{lang} |
GET Login function for testing only. |
| GET api/users/profile |
GET or POST Profile @Func=[Basic] - return profile with basic value, [Full] - return full profile detail for update. |
| PUT api/users/profile |
POST Update user Profile function. Warning : any Blank value will post as null. |
| POST api/UpdateProfile/Picture |
POST Update user picture function. image as Base64. Warning : any Blank value will post as null. |
| POST api/UpdatePassword/{func} |
POST Update user password function. func = [ New , Change ]. Warning : any Blank value will post as null. |
| GET api/GetState/{Lang}/{Func} |
GET Country State function. [id] = default 458 fixed. can bypass without id |
| POST api/Case/Create |
POST New Case function. Warning : any Blank value will post as null. |
| POST api/Case/Listing/{func} |
POST Get Case Listing. func = [Detail,Pending,Completed] |
| POST api/Cert/Request |
POST Cert with JWTAuthorize. Warning : any Blank value will post as null. |
| POST api/Cert/Listing/{func} |
POST Cert Listing function. Func = '' (No func right now) |
| POST api/Claim/Insurance |
POST ClaimInsurance. Warning : any Blank value will post as null. |
| POST api/Claim/Listing/{func} |
POST Claim Listing function. Func = '' (No func right now) |
| POST api/auth/send-otp |
POST Create 6 digit otp, no need auth. |
| POST api/auth/verify-otp |
POST otp Validate |
| GET api/SessionLogin/{UserId}/{Lang} |
GET To check if the session can be auto login. This need To Call a url To reprocess the |
| POST api/RedeemVoucherQR |
POST It will pass the QR value from SP , once get the value API need to encrypted for security |
| POST api/AccountTransaction |
POST Return the transaction listing. @Func=[All] - return all transaction, [Point] - return only collected points transaction, [Redeem] - return only redemption transaction, @SearchKey01 - can input value to search transaction (StartDate), @SearchKey02 - can input value to search transaction (EndDate) |
| GET api/AccountTransaction/{Func}/{AcctNo}/{SearchKey01}/{SearchKey02} |
GET Return the transaction listing. @Func=[All] - return all transaction, [Point] - return only collected points transaction, [Redeem] - return only redemption transaction, @SearchKey01 - can input value to search transaction (StartDate), @SearchKey02 - can input value to search transaction (EndDate) |
| GET api/transactions?category={category}&page={page}&limit={limit} |
Return the transaction listing. |
| GET api/transactions/{id} |
Return the transaction listing. |
| POST api/ForgetPassword |
POST To update for forget password. |
| POST api/TerminalLocation |
POST select Terminal Location |
| POST api/TerminalProfile |
POST Get Terminal Profile to VM |
| POST api/QRcodeProfile |
POST Scan QRcode to access Profile |
| POST api/APIMessageHandler |
POST API Message Handler for all function |
| POST api/RequestHandler |
POST API Request Handler for all function [Bitmap] - Procedures bitmap, [Func] - Procedures function, @SearchKey01 - can input value to search transaction (StartDate), @SearchKey02 - can input value to search transaction (EndDate) |
| POST api/RequestHandlerAuth |
POST API Request Handler for all function [Bitmap] - Procedures bitmap, [Func] - Procedures function, @SearchKey01 - can input value to search transaction (StartDate), @SearchKey02 - can input value to search transaction (EndDate) |
| POST api/RequestHandlerAuth2 |
POST API Request Handler for all function [Bitmap] - Procedures bitmap, [Func] - Procedures function, @SearchKey01 - can input value to search transaction (StartDate), @SearchKey02 - can input value to search transaction (EndDate) |
| GET api/locations?latitude={latitude}&longitude={longitude} |
Get Locations {latitude}/{longitude} (Optional) |
| GET api/locations/{id} |
Get Locations by id |
| GET api/locations/nearby?latitude={latitude}&longitude={longitude}&radius={radius} |
Get Locations Nearby |
| GET api/movement/stats |
Get movement stats |
| GET api/movement/challenges |
Gets a list of available movement challenges |
| POST api/movement/challenges/{id}/start |
Starts a movement challenge |
| PUT api/movement/challenges/active/progress |
Updates the progress of the active challenge |
| GET api/forest/stats |
Gets the user's forest statistics |
| POST api/forest/update |
Updates the user's forest statistics based on recycling activity |
| POST api/Apps/{id}?pass={pass}&Lang={Lang} |
No documentation available. |