Project

General

Profile

API References » History » Version 3

chin-yeh, 10/25/2011 05:00 PM

1 1 chin-yeh
{{toc}}
2
3
h1. API References
4 2 chin-yeh
5
This is the list of API references for all of the integrated SP web services.
6
7
h2. Query utilization status of the Special Bundle Set
8
9 3 chin-yeh
This API queries whether the special bundle set has been utilized.
10
11
_Method Signature:_
12
<pre>
13
<code class="JAVA">
14
public static TransactionResponse queryUtilizationStatus(String memberId, 
15
			String countryCode) throws RemoteException
16
</code.
17
</pre>
18
19 2 chin-yeh
h3. Input Parameters
20
21 3 chin-yeh
* _memberId_ - the shopper/member ID
22
* _countryCode_ - the country code of the member
23
24 2 chin-yeh
h3. Output Parameters
25 3 chin-yeh
26
The returned object, *TransactionResponse* consists of:
27
* _process_ - the process code of the submitted request
28
* _trxId_ - the submitted transaction ID, a.k.a. order ID
29
* _centerId_ - either _ONLINE_ or _TEST_
30
* _memberId_ - the member/shopper ID
31
* _status_ - the [[wiki#ErrorCode-References|status code]], e.g. 0000
32
* _errCode_ - the [[wiki#ErrorCode-References|error code]], e.g. 00000
33
* _errMessage_ - the detailed description of the status code
34
* _isUtilized_ - true if utilized else false
35
36 2 chin-yeh
37
h3. Code Snippets
38
39
h2. Utilize the Special Bundle Set
40
41
h3. Input Parameters
42
43
h3. Output Parameters
44
45
h3. Code Snippets
46
47
h2. Return the Special Bundle Set
48
49
h3. Input Parameters
50
51
h3. Output Parameters
52
53
h3. Code Snippets