Actions
Programming Guide » History » Revision 9
« Previous |
Revision 9/15
(diff)
| Next »
chin-yeh, 10/31/2011 10:09 AM
- Table of contents
- Programming Guide
Programming Guide¶
- Steps-By-Steps - describes how to integrate the SP web services APIs.
- API References - the API references of all of the APIs mentioned in the Steps-By-Steps
Demo Application:
Below is the list of libraries needed:
Steps-By-Steps¶
Query Utilization Status¶
This API checks if the member has already purchased the special bundle set.
Steps:- This API requires the parameters:
- memberId
- countryCode
- Pass the required parameters into the method, queryUtilizationStatus
- If the returned status is:
- 0000
- then check the returned value, isUtilized, true means has been utilized
- any other codes
- do not proceed as it could be system error or programming error
- 0000
Utilize the Special Bundle Set¶
This API informs SP web services when the member has purchased the special bundle set.
Steps:- Query the utilization status of the special bundle set
- if not yet utilized
- pass the following parameters to the method, flagSpecialSetUtilization:
- dbConnection
- orderId
- countryCode
- memberId
- trxDate
- if the returned status is 0000, it has been successfully processed
- pass the following parameters to the method, flagSpecialSetUtilization:
- if utilized, inform the member that he/she has purchased the bundle set.
- if not yet utilized
Return or Exchange Special Bundle Set¶
Invokes this API when the member return or exchange the special bundle set.
Steps:- there's no need to query the utilization status
- pass the following parameters to the method, unflagSpecialSetUtilization:
- dbConnection
- orderId
- countryCode
- memberId
- trxDate
- if the returned status is 0000, it has been successfully processed
API References¶
See API References
Updated by chin-yeh about 13 years ago · 9 revisions