Request mobileReloadFavResult.txt

Rayvandy Gabbytian , December 06, 2014 20:31

Download (2.04 KB)

 
1
function mobileReloadFavResult() {
2
	path = "bii_RestfulRib/service/mobileReloadServices/mobileReloadFavResult";
3
	
4
	var input = {
5
	    method : 'post',
6
	    returnedContentType : 'json',
7
	    path : path,
8
	    body:{
9
            contentType:'application/json; charset=UTF-8',
10
            content:
11
                JSON.stringify({
12
                	"fromAccount":"0",
13
                	"fromAccountMap":fromAccountMap,
14
                	"locale":"en",
15
                	"mobileNumber":"0818223344556",
16
                	"remoteIPAddress":"10.247.12.12",
17
//                	"serviceInfoBean":serviceInfoBean,
18
                	"sessionId":"1234567890",
19
                    "smsServiceBean":JSON.stringify({
20
                        "amount": "",
21
                        "beneName": "",
22
                        "cifNo": "0002768476",
23
                        "currentDateTime": null,
24
                        "fromAccountNumber": "1001027095",
25
                        "lastTACVerifyDateTime": null,
26
                        "mobileNo": "",
27
                        "sendSMSSuccess": true,
28
                        "serviceName": "",
29
                        "smsBean": null,
30
                        "smsLifeSpan": 15,
31
                        "smsPINAttemptCount": 0,
32
                        "status": "Successful",
33
                        "tac": "12345678",
34
                        "tacAttemptCount": 0,
35
                        "tacLifeSpan": 10,
36
                        "tacSentDateTime": null,
37
                        "toAccount": "",
38
                        "transactionID": "20141129000000010551",
39
                        "userId": 0
40
                     }),
41
                    "tacSentDateTime":"20141104 00:00:00",
42
                    "tacValue":"12345678",
43
                    "userAgent":"",
44
                    "userAlias":"ribuser1",
45
                    "userId":"1391",
46
                    "voucherAmount":"25000",
47
                    "voucherType":"xl baru",
48
                    "voucherTypeMap":voucherTypeMap
49
                })
50
            }
51
	};
52
	
53
	
54
	return WL.Server.invokeHttp(input);
55
}