Commit 880cbf890cc1b503c31280ad3bc43c99f5a37977
1 parent
2c952521
Exists in
develop
update mockup
Showing
7 changed files
with
1001 additions
and
268 deletions
Show diff stats
app.js
... | ... | @@ -329,6 +329,7 @@ app.post('/ssb/profile/historyPackage', require('./ssb').queryHistoryPackage); |
329 | 329 | app.post('/ssb/profile/currentPackage', require('./ssb').queryCurrentPackage); |
330 | 330 | app.post('/ssb/package/apply', require('./ssb').applyPack); |
331 | 331 | app.post('/ssb/package/subscriber', require('./ssb').deletePackage); // |
332 | +app.post('/ssb/transform', require('./ssb').createNewRegistration); // | |
332 | 333 | |
333 | 334 | app.post('/verifyReceipt', require('./apple').verifyReceipt); // |
334 | 335 | |
... | ... | @@ -374,6 +375,7 @@ app.post('/point/v1/deleteCustomer', require('./micro_point').deleteCustomer); |
374 | 375 | app.post('/privilege/v1/history/delete', require('./privilege').deleteCustomer); |
375 | 376 | |
376 | 377 | app.post('/v1/MVP/enq/getMobileOfferInventory/', require('./true').getMobileOfferInventory); |
378 | +app.post('/v1/get_AccountStatusHistoryList/', require('./true').getAccountStatusHistoryList); | |
377 | 379 | |
378 | 380 | app.post('/api/v1/LG-API/notifySubscription', require('./lg').notifySubscription); |
379 | 381 | ... | ... |
ccbs.js
... | ... | @@ -76,7 +76,7 @@ module.exports.assetDetail = async (req, res) => { |
76 | 76 | "term": "12", |
77 | 77 | "fee": "xxxx", |
78 | 78 | "startDate": "04/10/2019", |
79 | - "expireDate": "05/10/2022", | |
79 | + "expireDate": "05/07/2022", | |
80 | 80 | "contractIndicator": "No", |
81 | 81 | "offerCode": "12534317", |
82 | 82 | "contractNumber": "-", |
... | ... | @@ -161,7 +161,15 @@ module.exports.usageInfo = async (req, res) => { |
161 | 161 | }, |
162 | 162 | "trueWallet": { |
163 | 163 | "device": "123", |
164 | - "lastAccess": "123" | |
164 | + "lastAccess": "" | |
165 | + }, | |
166 | + "trueTv": { | |
167 | + "device": "", | |
168 | + "lastAccess": "27/11/2018 04:31:22" | |
169 | + }, | |
170 | + "trueVisions": { | |
171 | + "device": "", | |
172 | + "lastAccess": "" | |
165 | 173 | }, |
166 | 174 | "tdgError": false, |
167 | 175 | "TrueMoneyError": true | ... | ... |
int.js
... | ... | @@ -90,21 +90,21 @@ module.exports.getFuturePromotionList = async (req, res) => { |
90 | 90 | let response = { |
91 | 91 | "getFuturePromotionListResponse": { |
92 | 92 | "return": { |
93 | - "uuid": "df9f1de2-9d11-43e5-b836-7b589fb8e084", | |
93 | + "uuid": "4cee2c7d-37aa-445c-b3da-e2fd0467b53d", | |
94 | 94 | "errorCode": "OSBbllngA00001", |
95 | 95 | "message": "Success.", |
96 | 96 | "futureOfferList": { |
97 | - "size": 4, | |
97 | + "size": 8, | |
98 | 98 | "futureOfferArray": [ |
99 | 99 | { |
100 | 100 | "offer": { |
101 | - "socType": "D", | |
101 | + "socType": "U", | |
102 | 102 | "iddIndicator": "N", |
103 | - "code": "14284917", | |
103 | + "code": "53032", | |
104 | 104 | "rcRate": "0.0", |
105 | 105 | "irIndicator": "N", |
106 | - "name": "VGSHFYYD228", | |
107 | - "description": "Disc. Subscription Fee for 6 Months Sub.", | |
106 | + "name": "INTSPS01", | |
107 | + "description": "Internation Call Special Rate", | |
108 | 108 | "ffIndicator": "N", |
109 | 109 | "serviceLevel": { |
110 | 110 | "code": "C", |
... | ... | @@ -113,28 +113,77 @@ module.exports.getFuturePromotionList = async (req, res) => { |
113 | 113 | "cugIndicator": "N" |
114 | 114 | }, |
115 | 115 | "future": { |
116 | - "orderType": null, | |
116 | + "orderType": { | |
117 | + "code": "2", | |
118 | + "description": "ChangePP" | |
119 | + }, | |
120 | + "activityReason": "CREQ", | |
121 | + "futureSource": "OMX", | |
122 | + "futureSocParentId": "1216", | |
123 | + "futureId": "1091", | |
124 | + "futureType": "NXTPP", | |
125 | + "remark": "RETEAP60->SMRTCP09", | |
126 | + "futureSocId": "1220", | |
127 | + "createDate": "2018-10-06T17:09:19.000+07:00", | |
128 | + "status": { | |
129 | + "code": "1", | |
130 | + "description": "WAITING" | |
131 | + } | |
132 | + }, | |
133 | + "serviceAgreement": { | |
134 | + "agreementSocSequence": null, | |
135 | + "agreementId": "1265897", | |
136 | + "expirationIssueDate": null, | |
137 | + "parentSocSequence": null, | |
138 | + "effectiveDate": null, | |
139 | + "effectiveIssueDate": "2018-10-06T00:00:00.000+07:00", | |
140 | + "socSequence": null, | |
141 | + "expirationDate": null, | |
142 | + "status": "F" | |
143 | + } | |
144 | + }, | |
145 | + { | |
146 | + "offer": { | |
147 | + "socType": "P", | |
148 | + "iddIndicator": "N", | |
149 | + "code": "12996017", | |
150 | + "rcRate": "899.0", | |
151 | + "irIndicator": "N", | |
152 | + "name": "SMRTCP09", | |
153 | + "description": "N_4G+ Super Smart 899, Voice500min Net 12 GB Unltd", | |
154 | + "ffIndicator": "N", | |
155 | + "serviceLevel": { | |
156 | + "code": "C", | |
157 | + "description": "Subscriber" | |
158 | + }, | |
159 | + "cugIndicator": "N" | |
160 | + }, | |
161 | + "future": { | |
162 | + "orderType": { | |
163 | + "code": "2", | |
164 | + "description": "ChangePP" | |
165 | + }, | |
117 | 166 | "activityReason": "CREQ", |
118 | - "futureSource": "ADDSERVICES", | |
167 | + "futureSource": "OMX", | |
119 | 168 | "futureSocParentId": null, |
120 | - "futureId": null, | |
121 | - "futureType": "REQUEST", | |
122 | - "remark": null, | |
123 | - "futureSocId": "927420", | |
124 | - "createDate": "2018-02-27T23:59:59.000+07:00", | |
169 | + "futureId": "1091", | |
170 | + "futureType": "NXTPP", | |
171 | + "remark": "RETEAP60->SMRTCP09", | |
172 | + "futureSocId": "1216", | |
173 | + "createDate": "2018-10-06T17:09:19.000+07:00", | |
125 | 174 | "status": { |
126 | - "code": "B", | |
127 | - "description": "PROCESSING" | |
175 | + "code": "1", | |
176 | + "description": "WAITING" | |
128 | 177 | } |
129 | 178 | }, |
130 | 179 | "serviceAgreement": { |
131 | 180 | "agreementSocSequence": null, |
132 | - "agreementId": "1062554", | |
181 | + "agreementId": "1265897", | |
133 | 182 | "expirationIssueDate": null, |
134 | 183 | "parentSocSequence": null, |
135 | - "effectiveDate": "2018-02-28T00:00:00.000+07:00", | |
136 | - "effectiveIssueDate": "2018-02-27T23:59:59.000+07:00", | |
137 | - "socSequence": "927420", | |
184 | + "effectiveDate": "2020-11-02T00:00:00.000+07:00", | |
185 | + "effectiveIssueDate": "2018-10-06T00:00:00.000+07:00", | |
186 | + "socSequence": null, | |
138 | 187 | "expirationDate": null, |
139 | 188 | "status": "F" |
140 | 189 | } |
... | ... | @@ -143,11 +192,11 @@ module.exports.getFuturePromotionList = async (req, res) => { |
143 | 192 | "offer": { |
144 | 193 | "socType": "U", |
145 | 194 | "iddIndicator": "N", |
146 | - "code": "14053717", | |
147 | - "rcRate": "145.0", | |
195 | + "code": "41701", | |
196 | + "rcRate": "0.0", | |
148 | 197 | "irIndicator": "N", |
149 | - "name": "VGRET06S085", | |
150 | - "description": "#1 IRD/STD Happy Family HD", | |
198 | + "name": "RMPGPS01", | |
199 | + "description": "GPRS Provisioning SOC - RMV (HMMS,HINTERNET)", | |
151 | 200 | "ffIndicator": "N", |
152 | 201 | "serviceLevel": { |
153 | 202 | "code": "C", |
... | ... | @@ -156,41 +205,182 @@ module.exports.getFuturePromotionList = async (req, res) => { |
156 | 205 | "cugIndicator": "N" |
157 | 206 | }, |
158 | 207 | "future": { |
159 | - "orderType": null, | |
208 | + "orderType": { | |
209 | + "code": "2", | |
210 | + "description": "ChangePP" | |
211 | + }, | |
160 | 212 | "activityReason": "CREQ", |
161 | - "futureSource": "ADDSERVICES", | |
162 | - "futureSocParentId": null, | |
163 | - "futureId": null, | |
164 | - "futureType": "REQUEST", | |
165 | - "remark": null, | |
166 | - "futureSocId": "927421", | |
167 | - "createDate": "2018-02-27T23:59:59.000+07:00", | |
213 | + "futureSource": "OMX", | |
214 | + "futureSocParentId": "1216", | |
215 | + "futureId": "1091", | |
216 | + "futureType": "NXTPP", | |
217 | + "remark": "RETEAP60->SMRTCP09", | |
218 | + "futureSocId": "1219", | |
219 | + "createDate": "2018-10-06T17:09:19.000+07:00", | |
168 | 220 | "status": { |
169 | - "code": "B", | |
170 | - "description": "PROCESSING" | |
221 | + "code": "1", | |
222 | + "description": "WAITING" | |
171 | 223 | } |
172 | 224 | }, |
173 | 225 | "serviceAgreement": { |
174 | 226 | "agreementSocSequence": null, |
175 | - "agreementId": "1062554", | |
227 | + "agreementId": "1265897", | |
176 | 228 | "expirationIssueDate": null, |
177 | 229 | "parentSocSequence": null, |
178 | - "effectiveDate": "2018-02-28T00:00:00.000+07:00", | |
179 | - "effectiveIssueDate": "2018-02-27T23:59:59.000+07:00", | |
180 | - "socSequence": "927421", | |
230 | + "effectiveDate": null, | |
231 | + "effectiveIssueDate": "2018-10-06T00:00:00.000+07:00", | |
232 | + "socSequence": null, | |
181 | 233 | "expirationDate": null, |
182 | 234 | "status": "F" |
183 | 235 | } |
184 | 236 | }, |
185 | 237 | { |
186 | 238 | "offer": { |
187 | - "socType": "D", | |
239 | + "socType": "U", | |
240 | + "iddIndicator": "N", | |
241 | + "code": "41661", | |
242 | + "rcRate": "0.0", | |
243 | + "irIndicator": "N", | |
244 | + "name": "RMHSPS04", | |
245 | + "description": "Hi-Speed 3G/EDGE/GPRS 42.0 Mbps - PostPay", | |
246 | + "ffIndicator": "N", | |
247 | + "serviceLevel": { | |
248 | + "code": "C", | |
249 | + "description": "Subscriber" | |
250 | + }, | |
251 | + "cugIndicator": "N" | |
252 | + }, | |
253 | + "future": { | |
254 | + "orderType": { | |
255 | + "code": "2", | |
256 | + "description": "ChangePP" | |
257 | + }, | |
258 | + "activityReason": "CREQ", | |
259 | + "futureSource": "OMX", | |
260 | + "futureSocParentId": "1216", | |
261 | + "futureId": "1091", | |
262 | + "futureType": "NXTPP", | |
263 | + "remark": "RETEAP60->SMRTCP09", | |
264 | + "futureSocId": "1218", | |
265 | + "createDate": "2018-10-06T17:09:19.000+07:00", | |
266 | + "status": { | |
267 | + "code": "1", | |
268 | + "description": "WAITING" | |
269 | + } | |
270 | + }, | |
271 | + "serviceAgreement": { | |
272 | + "agreementSocSequence": null, | |
273 | + "agreementId": "1265897", | |
274 | + "expirationIssueDate": null, | |
275 | + "parentSocSequence": null, | |
276 | + "effectiveDate": null, | |
277 | + "effectiveIssueDate": "2018-10-06T00:00:00.000+07:00", | |
278 | + "socSequence": null, | |
279 | + "expirationDate": null, | |
280 | + "status": "F" | |
281 | + } | |
282 | + }, | |
283 | + { | |
284 | + "offer": { | |
285 | + "socType": "U", | |
286 | + "iddIndicator": "N", | |
287 | + "code": "40941", | |
288 | + "rcRate": "0.0", | |
289 | + "irIndicator": "N", | |
290 | + "name": "PROSTDA1", | |
291 | + "description": "Standard Provisioning Services for Post Pay # 1", | |
292 | + "ffIndicator": "N", | |
293 | + "serviceLevel": { | |
294 | + "code": "C", | |
295 | + "description": "Subscriber" | |
296 | + }, | |
297 | + "cugIndicator": "N" | |
298 | + }, | |
299 | + "future": { | |
300 | + "orderType": { | |
301 | + "code": "2", | |
302 | + "description": "ChangePP" | |
303 | + }, | |
304 | + "activityReason": "CREQ", | |
305 | + "futureSource": "OMX", | |
306 | + "futureSocParentId": "1216", | |
307 | + "futureId": "1091", | |
308 | + "futureType": "NXTPP", | |
309 | + "remark": "RETEAP60->SMRTCP09", | |
310 | + "futureSocId": "1217", | |
311 | + "createDate": "2018-10-06T17:09:19.000+07:00", | |
312 | + "status": { | |
313 | + "code": "1", | |
314 | + "description": "WAITING" | |
315 | + } | |
316 | + }, | |
317 | + "serviceAgreement": { | |
318 | + "agreementSocSequence": null, | |
319 | + "agreementId": "1265897", | |
320 | + "expirationIssueDate": null, | |
321 | + "parentSocSequence": null, | |
322 | + "effectiveDate": null, | |
323 | + "effectiveIssueDate": "2018-10-06T00:00:00.000+07:00", | |
324 | + "socSequence": null, | |
325 | + "expirationDate": null, | |
326 | + "status": "F" | |
327 | + } | |
328 | + }, | |
329 | + { | |
330 | + "offer": { | |
331 | + "socType": "U", | |
332 | + "iddIndicator": "N", | |
333 | + "code": "59532", | |
334 | + "rcRate": "0.0", | |
335 | + "irIndicator": "N", | |
336 | + "name": "RMGPSS01", | |
337 | + "description": "GPRS Unlimited", | |
338 | + "ffIndicator": "N", | |
339 | + "serviceLevel": { | |
340 | + "code": "C", | |
341 | + "description": "Subscriber" | |
342 | + }, | |
343 | + "cugIndicator": "N" | |
344 | + }, | |
345 | + "future": { | |
346 | + "orderType": { | |
347 | + "code": "2", | |
348 | + "description": "ChangePP" | |
349 | + }, | |
350 | + "activityReason": "CREQ", | |
351 | + "futureSource": "OMX", | |
352 | + "futureSocParentId": "1216", | |
353 | + "futureId": "1091", | |
354 | + "futureType": "NXTPP", | |
355 | + "remark": "RETEAP60->SMRTCP09", | |
356 | + "futureSocId": "1221", | |
357 | + "createDate": "2018-10-06T17:09:19.000+07:00", | |
358 | + "status": { | |
359 | + "code": "1", | |
360 | + "description": "WAITING" | |
361 | + } | |
362 | + }, | |
363 | + "serviceAgreement": { | |
364 | + "agreementSocSequence": null, | |
365 | + "agreementId": "1265897", | |
366 | + "expirationIssueDate": null, | |
367 | + "parentSocSequence": null, | |
368 | + "effectiveDate": null, | |
369 | + "effectiveIssueDate": "2018-10-06T00:00:00.000+07:00", | |
370 | + "socSequence": null, | |
371 | + "expirationDate": null, | |
372 | + "status": "F" | |
373 | + } | |
374 | + }, | |
375 | + { | |
376 | + "offer": { | |
377 | + "socType": "U", | |
188 | 378 | "iddIndicator": "N", |
189 | - "code": "14297617", | |
379 | + "code": "12900522", | |
190 | 380 | "rcRate": "0.0", |
191 | 381 | "irIndicator": "N", |
192 | - "name": "VGSHFYYD355", | |
193 | - "description": "Disc.Decoder Service Fee -6 Months Sub", | |
382 | + "name": "RETENS69", | |
383 | + "description": "Retention Voice Free 100 Mins (All Net) 12 Months", | |
194 | 384 | "ffIndicator": "N", |
195 | 385 | "serviceLevel": { |
196 | 386 | "code": "C", |
... | ... | @@ -201,13 +391,13 @@ module.exports.getFuturePromotionList = async (req, res) => { |
201 | 391 | "future": { |
202 | 392 | "orderType": null, |
203 | 393 | "activityReason": "CREQ", |
204 | - "futureSource": "ADDSERVICES", | |
394 | + "futureSource": "REQUEST", | |
205 | 395 | "futureSocParentId": null, |
206 | 396 | "futureId": null, |
207 | - "futureType": "FUTPP", | |
397 | + "futureType": "UPDATESERVICES", | |
208 | 398 | "remark": null, |
209 | - "futureSocId": "927422", | |
210 | - "createDate": "2018-02-27T23:59:59.000+07:00", | |
399 | + "futureSocId": "844758", | |
400 | + "createDate": "2019-04-29T10:23:10.000+07:00", | |
211 | 401 | "status": { |
212 | 402 | "code": "B", |
213 | 403 | "description": "PROCESSING" |
... | ... | @@ -215,25 +405,25 @@ module.exports.getFuturePromotionList = async (req, res) => { |
215 | 405 | }, |
216 | 406 | "serviceAgreement": { |
217 | 407 | "agreementSocSequence": null, |
218 | - "agreementId": "1062554", | |
408 | + "agreementId": "1265897", | |
219 | 409 | "expirationIssueDate": null, |
220 | 410 | "parentSocSequence": null, |
221 | - "effectiveDate": "2018-02-28T00:00:00.000+07:00", | |
222 | - "effectiveIssueDate": "2018-02-27T23:59:59.000+07:00", | |
223 | - "socSequence": "927422", | |
224 | - "expirationDate": null, | |
411 | + "effectiveDate": "2018-10-08T00:00:00.000+07:00", | |
412 | + "effectiveIssueDate": "2019-04-29T10:23:10.000+07:00", | |
413 | + "socSequence": "844758", | |
414 | + "expirationDate": "2019-10-08T00:00:00.000+07:00", | |
225 | 415 | "status": "F" |
226 | 416 | } |
227 | 417 | }, |
228 | 418 | { |
229 | 419 | "offer": { |
230 | - "socType": "U", | |
420 | + "socType": "D", | |
231 | 421 | "iddIndicator": "N", |
232 | - "code": "11209513", | |
233 | - "rcRate": "145.0", | |
422 | + "code": "14009917", | |
423 | + "rcRate": "0.0", | |
234 | 424 | "irIndicator": "N", |
235 | - "name": "VGRET01S001", | |
236 | - "description": "#1 IRD/STD", | |
425 | + "name": "RET037", | |
426 | + "description": "Privilege Discount 50% 12 mth", | |
237 | 427 | "ffIndicator": "N", |
238 | 428 | "serviceLevel": { |
239 | 429 | "code": "C", |
... | ... | @@ -249,8 +439,8 @@ module.exports.getFuturePromotionList = async (req, res) => { |
249 | 439 | "futureId": null, |
250 | 440 | "futureType": "UPDATESERVICES", |
251 | 441 | "remark": null, |
252 | - "futureSocId": "265649", | |
253 | - "createDate": "2018-02-27T23:59:59.000+07:00", | |
442 | + "futureSocId": "844751", | |
443 | + "createDate": "2019-04-29T10:23:10.000+07:00", | |
254 | 444 | "status": { |
255 | 445 | "code": "B", |
256 | 446 | "description": "PROCESSING" |
... | ... | @@ -258,13 +448,13 @@ module.exports.getFuturePromotionList = async (req, res) => { |
258 | 448 | }, |
259 | 449 | "serviceAgreement": { |
260 | 450 | "agreementSocSequence": null, |
261 | - "agreementId": "1062554", | |
451 | + "agreementId": "1265897", | |
262 | 452 | "expirationIssueDate": null, |
263 | 453 | "parentSocSequence": null, |
264 | - "effectiveDate": "2016-01-19T23:59:59.000+07:00", | |
265 | - "effectiveIssueDate": "2018-02-27T23:59:59.000+07:00", | |
266 | - "socSequence": "265649", | |
267 | - "expirationDate": "2018-02-28T00:00:00.000+07:00", | |
454 | + "effectiveDate": "2018-10-08T00:00:00.000+07:00", | |
455 | + "effectiveIssueDate": "2019-04-29T10:23:10.000+07:00", | |
456 | + "socSequence": "844751", | |
457 | + "expirationDate": "2019-10-08T00:00:00.000+07:00", | |
268 | 458 | "status": "F" |
269 | 459 | } |
270 | 460 | } |
... | ... | @@ -290,46 +480,7 @@ module.exports.getCurrentCUGList = async (req, res) => { |
290 | 480 | "message": "error." |
291 | 481 | } |
292 | 482 | |
293 | - let response = { | |
294 | - "uuid": "efa38396-ea5a-4b55-8a07-bed5cb998d4a", | |
295 | - "errorCode": "INT00001", | |
296 | - "message": "Success.", | |
297 | - "cugOfferList": { | |
298 | - "cugOfferArray": [ | |
299 | - { | |
300 | - "cug": { | |
301 | - "groupDescription": "HR 001", | |
302 | - "groupId": "623", | |
303 | - "groupIdentifier": "Test", | |
304 | - "groupName": "HR 001", | |
305 | - "groupType": "GAS" | |
306 | - }, | |
307 | - "offerInfo": { | |
308 | - "code": "55092", | |
309 | - "description": "CUG On/Off Net (Package level)", | |
310 | - "name": "CCUGAS01", | |
311 | - "serviceLevel": { | |
312 | - "code": "C", | |
313 | - "description": "Subscriber" | |
314 | - }, | |
315 | - "socType": "U" | |
316 | - }, | |
317 | - "serviceAgreement": { | |
318 | - "agreementSocSequence": "58796", | |
319 | - "agreementId": "1052", | |
320 | - "expirationIssueDate": null, | |
321 | - "parentSocSequence": "58796", | |
322 | - "effectiveDate": "2013-05-12T16:46:04.000+07:00", | |
323 | - "effectiveIssueDate": "2013-05-12T16:46:04.000+07:00", | |
324 | - "socSequence": "58796", | |
325 | - "expirationDate": null, | |
326 | - "status": "A" | |
327 | - } | |
328 | - } | |
329 | - ], | |
330 | - "size": 1 | |
331 | - } | |
332 | - } | |
483 | + let response = { "uuid": "8efed95c-3b54-4491-8f1f-e32fa7a6feb4", "errorCode": "INT00001", "message": "Success.", "cugOfferList": { "cugOfferArray": [{ "cug": { "groupDescription": "เธเธเธชเธงเธขเนเธเธชเนเธเนเธฒเธเธฑเนเธ", "groupId": "7465", "groupIdentifier": "เธชเธธเธ เธฒเธเธฃเธฃเธเธเธเธชเธญเธเธเธฃเธดเธ", "groupName": "AMTESTKA", "groupType": "GAS" }, "offerInfo": { "code": "20471", "description": "Closed User Group (CUG) service", "name": "CUGFRS05", "serviceLevel": { "code": "C", "description": "Subscriber" }, "socType": "U" }, "serviceAgreement": { "agreementSocSequence": 827884, "agreementId": 1230507, "expirationIssueDate": null, "parentSocSequence": 827884, "effectiveDate": "2018-08-23T00:00:00.000+07:00", "effectiveIssueDate": "2018-08-23T13:38:42.000+07:00", "socSequence": 827886, "expirationDate": null, "status": "A" } }, { "cug": { "groupDescription": "เธเธเธชเธงเธขเนเธเธชเนเธเนเธฒเธเธฑเนเธ", "groupId": "7465", "groupIdentifier": "เธชเธธเธ เธฒเธเธฃเธฃเธเธเธเธชเธญเธเธเธฃเธดเธ", "groupName": "AMTESTKA", "groupType": "GAS" }, "offerInfo": { "code": "15152721", "description": "Close User Group (Free) - Family deal", "name": "CUGFRS14", "serviceLevel": { "code": "C", "description": "Subscriber" }, "socType": "U" }, "serviceAgreement": { "agreementSocSequence": 827883, "agreementId": 1230507, "expirationIssueDate": null, "parentSocSequence": 827883, "effectiveDate": "2018-08-23T00:00:00.000+07:00", "effectiveIssueDate": "2018-08-23T13:38:42.000+07:00", "socSequence": 827885, "expirationDate": null, "status": "A" } }], "size": 2 } } | |
333 | 484 | |
334 | 485 | res.status(200).send(response) |
335 | 486 | } |
... | ... | @@ -455,7 +606,7 @@ module.exports.getCurrentCreditLimitAtSubList = async (req, res) => { |
455 | 606 | } |
456 | 607 | |
457 | 608 | let response = { |
458 | - "uuid": "09dc5cf6-6cfb-4732-baed-b29dba320069", | |
609 | + "uuid": "805b0218-32e4-4e15-a2ab-d8923be46850", | |
459 | 610 | "errorCode": "INT00001", |
460 | 611 | "message": "Success.", |
461 | 612 | "creditLimitAtSubList": { |
... | ... | @@ -464,8 +615,8 @@ module.exports.getCurrentCreditLimitAtSubList = async (req, res) => { |
464 | 615 | "creditLimitAtSubInfo": { |
465 | 616 | "firstTriggerPercent": 0, |
466 | 617 | "incrementTriggerPercent": 0, |
467 | - "permanentThreshold": 5000, | |
468 | - "temporaryThreshold": 4454 | |
618 | + "permanentThreshold": 1000, | |
619 | + "temporaryThreshold": 2000 | |
469 | 620 | }, |
470 | 621 | "offerInfo": { |
471 | 622 | "code": "212158", |
... | ... | @@ -478,13 +629,13 @@ module.exports.getCurrentCreditLimitAtSubList = async (req, res) => { |
478 | 629 | "socType": "U" |
479 | 630 | }, |
480 | 631 | "serviceAgreement": { |
481 | - "agreementSocSequence": null, | |
482 | - "agreementId": 1025625, | |
632 | + "agreementSocSequence": 827892, | |
633 | + "agreementId": 1230507, | |
483 | 634 | "expirationIssueDate": null, |
484 | 635 | "parentSocSequence": null, |
485 | - "effectiveDate": "2014-02-23T23:59:59.000+07:00", | |
486 | - "effectiveIssueDate": "2014-02-23T23:59:59.000+07:00", | |
487 | - "socSequence": 152147, | |
636 | + "effectiveDate": "2018-08-23T13:50:24.000+07:00", | |
637 | + "effectiveIssueDate": "2018-08-23T13:50:24.000+07:00", | |
638 | + "socSequence": 827892, | |
488 | 639 | "expirationDate": null, |
489 | 640 | "status": "A" |
490 | 641 | } | ... | ... |
intx.js
... | ... | @@ -1732,7 +1732,259 @@ module.exports.getAllCCBSInvoiceList = async (req, res) => { |
1732 | 1732 | } |
1733 | 1733 | } |
1734 | 1734 | |
1735 | - res.status(200).send(response) | |
1735 | + let response1 = { | |
1736 | + "getAllInvoiceListResponse": { | |
1737 | + "return": { | |
1738 | + "invoiceList": { | |
1739 | + "size": "4", | |
1740 | + "invoiceInfoArray": [ | |
1741 | + { | |
1742 | + "discountTaxAmount": "-140", | |
1743 | + "adjustmentNetAmount": "0", | |
1744 | + "availableAdjustmentNetAmount": "1099", | |
1745 | + "invoiceBcBanId": "700046423", | |
1746 | + "dueDate": "2021-06-03T00:00:00.000+07:00", | |
1747 | + "orderIdGroup": "", | |
1748 | + "vatRate": "0.00", | |
1749 | + "converageEndDate1": "2021-06-09T00:00:00.000+07:00", | |
1750 | + "discountAmount": "-2000", | |
1751 | + "invoiceTFaxAmount": "76.93", | |
1752 | + "invoiceAmount": "1099", | |
1753 | + "invoiceStatusChangeDate": "2021-06-15T00:00:00.000+07:00", | |
1754 | + "paymentAmount": "1175.93", | |
1755 | + "baNo": "200078606", | |
1756 | + "billTaxAmount": "307.72", | |
1757 | + "billingDocumentType": { | |
1758 | + "code": "BL", | |
1759 | + "description": "Bill" | |
1760 | + }, | |
1761 | + "billAmount": "4703.72", | |
1762 | + "invoiceType": "BILL", | |
1763 | + "converageStartDate1": "2021-05-10T00:00:00.000+07:00", | |
1764 | + "currency": "THB", | |
1765 | + "billSequenceNo": "13522", | |
1766 | + "invoiceNo": "070520211000425014", | |
1767 | + "originalBalanceAmount": "1175.93", | |
1768 | + "customerManagerBaNo": "200078606", | |
1769 | + "invoiceCreationDate": "2021-06-02T00:00:00.000+07:00", | |
1770 | + "unpaidNetAmount": "0", | |
1771 | + "availableAdjustmentAmount": "1266.72", | |
1772 | + "discountNetAmount": "-2000", | |
1773 | + "billDate": "2021-05-11T01:00:00.000+07:00", | |
1774 | + "disputeNetAmount": "1.0", | |
1775 | + "creditTaxAmount": "0", | |
1776 | + "accountId": "200078606", | |
1777 | + "billProductType": "", | |
1778 | + "billingDocumentStatus": { | |
1779 | + "code": "N", | |
1780 | + "description": "Confirmed" | |
1781 | + }, | |
1782 | + "unpaidAmount": "0", | |
1783 | + "restrictionAmount": "2000", | |
1784 | + "disputeTaxAmount": "0.00", | |
1785 | + "invoiceCycle": { | |
1786 | + "code": "10", | |
1787 | + "month": "5", | |
1788 | + "year": "2021" | |
1789 | + }, | |
1790 | + "convergenceInvoiceNo": "000520211000134302", | |
1791 | + "coveredAmount": "1175.93", | |
1792 | + "invoiceId": "1067822", | |
1793 | + "performanceIndStatus": "", | |
1794 | + "unpaidTaxAmount": "0", | |
1795 | + "invoiceStatus": "C", | |
1796 | + "adjustmentAmount": "0", | |
1797 | + "restrictionTaxAmount": "140", | |
1798 | + "periodCvrgStartDate": "2021-04-10T00:00:00.000+07:00", | |
1799 | + "periodCvrgEndDate": "2021-05-09T00:00:00.000+07:00", | |
1800 | + "invoiceChargeType": "BILL" | |
1801 | + }, | |
1802 | + { | |
1803 | + "discountTaxAmount": "-140", | |
1804 | + "adjustmentNetAmount": "0", | |
1805 | + "availableAdjustmentNetAmount": "1099", | |
1806 | + "invoiceBcBanId": "700046423", | |
1807 | + "dueDate": "2021-05-03T00:00:00.000+07:00", | |
1808 | + "orderIdGroup": "", | |
1809 | + "vatRate": "0.00", | |
1810 | + "converageEndDate": "2021-05-09T00:00:00.000+07:00", | |
1811 | + "discountAmount": "-2000", | |
1812 | + "invoiceTaxAmount": "76.93", | |
1813 | + "invoiceAmount": "1099", | |
1814 | + "invoiceStatusChangeDate": "2021-06-15T00:00:00.000+07:00", | |
1815 | + "paymentAmount": "1175.93", | |
1816 | + "baNo": "200078606", | |
1817 | + "billTaxAmount": "307.72", | |
1818 | + "billingDocumentType": { | |
1819 | + "code": "BL", | |
1820 | + "description": "Bill" | |
1821 | + }, | |
1822 | + "billAmount": "4703.72", | |
1823 | + "invoiceType": "BILL", | |
1824 | + "converageStartDate": "2021-04-10T00:00:00.000+07:00", | |
1825 | + "currency": "THB", | |
1826 | + "billSequenceNo": "13521", | |
1827 | + "invoiceNo": "070420211000419181", | |
1828 | + "originalBalanceAmount": "1175.93", | |
1829 | + "customerManagerBaNo": "200078606", | |
1830 | + "invoiceCreationDate": "2021-04-29T00:00:00.000+07:00", | |
1831 | + "unpaidNetAmount": "0", | |
1832 | + "availableAdjustmentAmount": "1266.72", | |
1833 | + "discountNetAmount": "-2000", | |
1834 | + "billDate": "2021-04-29T00:00:00.000+07:00", | |
1835 | + "disputeNetAmount": "0.00", | |
1836 | + "creditTaxAmount": "0", | |
1837 | + "accountId": "200078606", | |
1838 | + "billProductType": "", | |
1839 | + "billingDocumentStatus": { | |
1840 | + "code": "N", | |
1841 | + "description": "Confirmed" | |
1842 | + }, | |
1843 | + "unpaidAmount": "0", | |
1844 | + "restrictionAmount": "2000", | |
1845 | + "disputeTaxAmount": "0.00", | |
1846 | + "invoiceCycle": { | |
1847 | + "code": "10", | |
1848 | + "month": "4", | |
1849 | + "year": "2021" | |
1850 | + }, | |
1851 | + "convergenceInvoiceNo": "000420211000131905", | |
1852 | + "coveredAmount": "1175.93", | |
1853 | + "invoiceId": "1039597", | |
1854 | + "performanceIndStatus": "", | |
1855 | + "unpaidTaxAmount": "0", | |
1856 | + "invoiceStatus": "C", | |
1857 | + "adjustmentAmount": "0", | |
1858 | + "restrictionTaxAmount": "140", | |
1859 | + "periodCvrgStartDate": "2021-03-10T00:00:00.000+07:00", | |
1860 | + "periodCvrgEndDate": "2021-04-09T00:00:00.000+07:00", | |
1861 | + "invoiceChargeType": "BILL" | |
1862 | + }, | |
1863 | + { | |
1864 | + "discountTaxAmount": "0", | |
1865 | + "adjustmentNetAmount": "0", | |
1866 | + "availableAdjustmentNetAmount": "30", | |
1867 | + "dueDate": "2021-05-03T00:00:00.000+07:00", | |
1868 | + "orderIdGroup": "INTEREST", | |
1869 | + "vatRate": "0.00", | |
1870 | + "discountAmount": "0", | |
1871 | + "invoiceTaxAmount": "0", | |
1872 | + "invoiceAmount": "30", | |
1873 | + "invoiceStatusChangeDate": "2021-06-15T00:00:00.000+07:00", | |
1874 | + "paymentAmount": "30.00", | |
1875 | + "baNo": "200078606", | |
1876 | + "billTaxAmount": "0", | |
1877 | + "billingDocumentType": { | |
1878 | + "code": null, | |
1879 | + "description": "" | |
1880 | + }, | |
1881 | + "billAmount": "30", | |
1882 | + "invoiceType": "DCB", | |
1883 | + "currency": "THB", | |
1884 | + "billSequenceNo": "-1", | |
1885 | + "invoiceNo": "AR1008437", | |
1886 | + "originalBalanceAmount": "30", | |
1887 | + "customerManagerBaNo": "200078606", | |
1888 | + "invoiceCreationDate": "2021-03-25T00:00:00.000+07:00", | |
1889 | + "unpaidNetAmount": "30.00", | |
1890 | + "availableAdjustmentAmount": "30", | |
1891 | + "discountNetAmount": "0", | |
1892 | + "disputeNetAmount": "0.00", | |
1893 | + "creditTaxAmount": "0", | |
1894 | + "accountId": "200078606", | |
1895 | + "billProductType": "", | |
1896 | + "billingDocumentStatus": { | |
1897 | + "code": null, | |
1898 | + "description": "" | |
1899 | + }, | |
1900 | + "unpaidAmount": "0", | |
1901 | + "restrictionAmount": "0", | |
1902 | + "disputeTaxAmount": "0.00", | |
1903 | + "invoiceCycle": { | |
1904 | + "code": "10", | |
1905 | + "month": "4", | |
1906 | + "year": "2021" | |
1907 | + }, | |
1908 | + "convergenceInvoiceNo": "", | |
1909 | + "coveredAmount": "30", | |
1910 | + "invoiceId": "1008437", | |
1911 | + "performanceIndStatus": "", | |
1912 | + "unpaidTaxAmount": "0", | |
1913 | + "invoiceStatus": "C", | |
1914 | + "adjustmentAmount": "0", | |
1915 | + "restrictionTaxAmount": "0", | |
1916 | + "chargeCode": "CN", | |
1917 | + "invoiceChargeType": "INTEREST" | |
1918 | + }, | |
1919 | + { | |
1920 | + "discountTaxAmount": "0", | |
1921 | + "adjustmentNetAmount": "0", | |
1922 | + "availableAdjustmentNetAmount": "20", | |
1923 | + "dueDate": "2021-06-30T00:00:00.000+07:00", | |
1924 | + "orderIdGroup": "COLLECTION", | |
1925 | + "vatRate": "0.00", | |
1926 | + "discountAmount": "0", | |
1927 | + "invoiceTaxAmount": "1.4", | |
1928 | + "invoiceAmount": "20", | |
1929 | + "invoiceStatusChangeDate": "2021-06-15T00:00:00.000+07:00", | |
1930 | + "paymentAmount": "21.40", | |
1931 | + "baNo": "200078606", | |
1932 | + "billTaxAmount": "1.4", | |
1933 | + "billingDocumentType": { | |
1934 | + "code": null, | |
1935 | + "description": "" | |
1936 | + }, | |
1937 | + "billAmount": "21.4", | |
1938 | + "invoiceType": "IMCG", | |
1939 | + "currency": "THB", | |
1940 | + "billSequenceNo": "-1", | |
1941 | + "invoiceNo": "AR1008438", | |
1942 | + "originalBalanceAmount": "21.4", | |
1943 | + "customerManagerBaNo": "200078606", | |
1944 | + "invoiceCreationDate": "2021-03-25T00:00:00.000+07:00", | |
1945 | + "unpaidNetAmount": "0", | |
1946 | + "availableAdjustmentAmount": "21.4", | |
1947 | + "discountNetAmount": "0", | |
1948 | + "disputeNetAmount": "0.00", | |
1949 | + "creditTaxAmount": "0", | |
1950 | + "accountId": "200078606", | |
1951 | + "billProductType": "", | |
1952 | + "billingDocumentStatus": { | |
1953 | + "code": null, | |
1954 | + "description": "" | |
1955 | + }, | |
1956 | + "unpaidAmount": "0", | |
1957 | + "restrictionAmount": "0", | |
1958 | + "disputeTaxAmount": "0.00", | |
1959 | + "invoiceCycle": { | |
1960 | + "code": "10", | |
1961 | + "month": "4", | |
1962 | + "year": "2021" | |
1963 | + }, | |
1964 | + "convergenceInvoiceNo": "", | |
1965 | + "coveredAmount": "21.4", | |
1966 | + "invoiceId": "1008438", | |
1967 | + "performanceIndStatus": "", | |
1968 | + "unpaidTaxAmount": "0", | |
1969 | + "invoiceStatus": "C", | |
1970 | + "adjustmentAmount": "0", | |
1971 | + "restrictionTaxAmount": "0", | |
1972 | + "chargeCode": "OCOLETYPEN", | |
1973 | + "invoiceChargeType": "COLLECTION", | |
1974 | + "periodCvrgStartDate": "test" | |
1975 | + } | |
1976 | + ] | |
1977 | + }, | |
1978 | + "totalSize": "4", | |
1979 | + "calculatedPageSize": "100", | |
1980 | + "errorCode": "OSBbllngA00001", | |
1981 | + "message": "Success.", | |
1982 | + "uuid": "07b92f9a-df39-4ed0-8123-042debc974ba" | |
1983 | + } | |
1984 | + } | |
1985 | + } | |
1986 | + | |
1987 | + res.status(200).send(response1) | |
1736 | 1988 | } |
1737 | 1989 | |
1738 | 1990 | module.exports.getPaymentList = async (req, res) => { |
... | ... | @@ -2051,7 +2303,7 @@ module.exports.getAccountInfo = async (req, res) => { |
2051 | 2303 | }, |
2052 | 2304 | "openDate": "2019-03-27T00:00:00.000+07:00", |
2053 | 2305 | "branchNo": "00000", |
2054 | - "partnerCode": null, | |
2306 | + "partnerCode": "100001", | |
2055 | 2307 | "businessLine": null, |
2056 | 2308 | "penaltyPayment": { |
2057 | 2309 | "creditCardType": null, |
... | ... | @@ -2069,5 +2321,139 @@ module.exports.getAccountInfo = async (req, res) => { |
2069 | 2321 | } |
2070 | 2322 | } |
2071 | 2323 | |
2072 | - res.status(200).send(response) | |
2324 | + let response1 = { | |
2325 | + "getAccountInfoResponse": { | |
2326 | + "return": { | |
2327 | + "uuid": "c521b8c0-e810-4467-b3ca-e1be3e274a1a", | |
2328 | + "errorCode": "OSBbllngA00001", | |
2329 | + "message": "Success.", | |
2330 | + "account": { | |
2331 | + "accountCollection": { | |
2332 | + "collectionIndicator": null, | |
2333 | + "suspensionReason": null, | |
2334 | + "fullSuspensionIndicator": null, | |
2335 | + "punishmentLevels": null, | |
2336 | + "startDate": null, | |
2337 | + "status": "NONE", | |
2338 | + "collectionTreatmentIndicator": "N" | |
2339 | + }, | |
2340 | + "classify": "R", | |
2341 | + "accountSubType": { | |
2342 | + "code": "RES", | |
2343 | + "description": "Individual - Residential" | |
2344 | + }, | |
2345 | + "ben": { | |
2346 | + "consolidateIndicator": "Y", | |
2347 | + "ben": "200078606", | |
2348 | + "bcBanId": "700046423", | |
2349 | + "billMedia": "S", | |
2350 | + "status": { | |
2351 | + "code": "O", | |
2352 | + "description": "Open" | |
2353 | + } | |
2354 | + }, | |
2355 | + "legacyBan": null, | |
2356 | + "exernalId": null, | |
2357 | + "ouId": "115614", | |
2358 | + "delinquent": "", | |
2359 | + "contact": { | |
2360 | + "preferredContactNo": "0909230076", | |
2361 | + "officePhone": null, | |
2362 | + "homePhone": "0924971811", | |
2363 | + "language": "TH", | |
2364 | + "privatePhone": null, | |
2365 | + "fax": null, | |
2366 | + "email": null | |
2367 | + }, | |
2368 | + "agreementId": "1344349", | |
2369 | + "customerId": "187374", | |
2370 | + "creditLimit": { | |
2371 | + "creditClass": "X", | |
2372 | + "creditLimitReasonCode": "CREQ", | |
2373 | + "personalCreditLimit": "0.0", | |
2374 | + "creditLimitExpirationDate": null, | |
2375 | + "temporaryCreditLimit": "0.0", | |
2376 | + "obligationCalculationFormula": "Formula 3" | |
2377 | + }, | |
2378 | + "company": { | |
2379 | + "code": "TI", | |
2380 | + "description": "True Internet Corporation Company Limited" | |
2381 | + }, | |
2382 | + "arBalance": "28471.34", | |
2383 | + "accountPriority": null, | |
2384 | + "address": { | |
2385 | + "country": null, | |
2386 | + "zipCode": "50200", | |
2387 | + "roomNo": "-", | |
2388 | + "city": "เนเธเธตเธขเธเนเธซเธกเน", | |
2389 | + "addressType": "I", | |
2390 | + "moo": "1", | |
2391 | + "soi": "-", | |
2392 | + "building": "UNI LOFT CHAINGMAI D", | |
2393 | + "sinceDate": null, | |
2394 | + "street": "-", | |
2395 | + "district": "เนเธกเธทเธญเธเนเธเธตเธขเธเนเธซเธกเน", | |
2396 | + "addressLine1": "137 * 1 * - *", | |
2397 | + "houseNo": "137", | |
2398 | + "addressLine2": "* UNI LOFT CHAINGMAI D * - * - * -", | |
2399 | + "addressLine3": "* เธชเธธเนเธเธ * เนเธกเธทเธญเธเนเธเธตเธขเธเนเธซเธกเน", | |
2400 | + "addressLine4": "เนเธเธตเธขเธเนเธซเธกเน 50200", | |
2401 | + "floor": "-", | |
2402 | + "subDistrict": "เธชเธธเนเธเธ" | |
2403 | + }, | |
2404 | + "parentBan": null, | |
2405 | + "initiationReason": null, | |
2406 | + "creditStatus": { | |
2407 | + "reasonDescription": null, | |
2408 | + "lastActivityDate": null, | |
2409 | + "reasonCode": null, | |
2410 | + "status": "NONE" | |
2411 | + }, | |
2412 | + "convergenceCode": "4PPremium", | |
2413 | + "accountId": "200078606", | |
2414 | + "statusDescription": null, | |
2415 | + "collectionStatus": { | |
2416 | + "reasonDescription": null, | |
2417 | + "lastActivityDate": null, | |
2418 | + "reasonCode": null, | |
2419 | + "status": "NONE" | |
2420 | + }, | |
2421 | + "taxId": "7175358721530", | |
2422 | + "withholdingTaxUpdateDate": null, | |
2423 | + "withholdingTaxIndicator": "N", | |
2424 | + "name": { | |
2425 | + "branchCode": null, | |
2426 | + "nameType": "I", | |
2427 | + "firstName": "เธชเธฑเธเธเธฐเธฃเธ", | |
2428 | + "lastName": "เธเธฅเนเธกเน", | |
2429 | + "organizationName": null, | |
2430 | + "branchName": null, | |
2431 | + "middleName": null, | |
2432 | + "storeId": null, | |
2433 | + "tilte": "เธเธธเธ" | |
2434 | + }, | |
2435 | + "openDate": "2019-03-27T00:00:00.000+07:00", | |
2436 | + "branchNo": "00000", | |
2437 | + "partnerCode": "123", | |
2438 | + "businessLine": null, | |
2439 | + "penaltyPayment": { | |
2440 | + "creditCardType": "MasterCard", | |
2441 | + "creditCardNumber": "10-20-30-40", | |
2442 | + "creditCardName": null, | |
2443 | + "creditCardExpirationDate": null, | |
2444 | + "bankCode": null, | |
2445 | + "bankBranchNumber": null, | |
2446 | + "bankAccountNumber": "30-111-9933-1", | |
2447 | + "penaltyPaymentType": "TEST_TYPE", | |
2448 | + "penaltyNo": "Jen'O Brian", | |
2449 | + "approvalCode": null | |
2450 | + }, | |
2451 | + "interestWaivingIndicator": "N" | |
2452 | + } | |
2453 | + } | |
2454 | + } | |
2455 | + } | |
2456 | + | |
2457 | + | |
2458 | + res.status(200).send(response1) | |
2073 | 2459 | } |
2074 | 2460 | \ No newline at end of file | ... | ... |
postpay_true.js
... | ... | @@ -288,7 +288,7 @@ module.exports.getLastInvoiceList = async (req, res) => { |
288 | 288 | "currency": "THB", |
289 | 289 | "billSequenceNo": "293", |
290 | 290 | "invoiceNo": "140620130200002104", |
291 | - "originalBalanceAmount": "747.93", | |
291 | + "originalBalanceAmount": "101.00", | |
292 | 292 | "customerManagerBaNo": "10000449", |
293 | 293 | "invoiceCreationDate": "2013-06-12T00:00:00.000+07:00", |
294 | 294 | "unpaidNetAmount": "699", |
... | ... | @@ -303,7 +303,7 @@ module.exports.getLastInvoiceList = async (req, res) => { |
303 | 303 | "code": "N", |
304 | 304 | "description": "Confirmed" |
305 | 305 | }, |
306 | - "unpaidAmount": "747.93", | |
306 | + "unpaidAmount": "100.00", | |
307 | 307 | "restrictionAmount": "0", |
308 | 308 | "disputeTaxAmount": "0.00", |
309 | 309 | "invoiceCycle": { |
... | ... | @@ -360,7 +360,7 @@ module.exports.getLastInvoiceList = async (req, res) => { |
360 | 360 | "code": "N", |
361 | 361 | "description": "Confirmed" |
362 | 362 | }, |
363 | - "unpaidAmount": "747.93", | |
363 | + "unpaidAmount": "101.00", | |
364 | 364 | "restrictionAmount": "0", |
365 | 365 | "disputeTaxAmount": "0.00", |
366 | 366 | "invoiceCycle": { |
... | ... | @@ -439,7 +439,7 @@ module.exports.getLastInvoiceList = async (req, res) => { |
439 | 439 | "adjustmentNetAmount": "0", |
440 | 440 | "availableAdjustmentNetAmount": "0.00", |
441 | 441 | "invoiceBcBanId": "813", |
442 | - "dueDate": "2013-03-26T00:00:00.000+07:00", | |
442 | + "dueDate": "2022-03-26T00:00:00.000+07:00", | |
443 | 443 | "vatRate": "0.00", |
444 | 444 | "converageEndDate": "", |
445 | 445 | "discountAmount": "0", |
... | ... | @@ -474,7 +474,7 @@ module.exports.getLastInvoiceList = async (req, res) => { |
474 | 474 | "code": "N", |
475 | 475 | "description": "Confirmed" |
476 | 476 | }, |
477 | - "unpaidAmount": "0", | |
477 | + "unpaidAmount": "102.00", | |
478 | 478 | "restrictionAmount": "0.00", |
479 | 479 | "disputeTaxAmount": "0.00", |
480 | 480 | "invoiceCycle": { |
... | ... | @@ -490,87 +490,175 @@ module.exports.getLastInvoiceList = async (req, res) => { |
490 | 490 | "invoiceStatus": "F", |
491 | 491 | "adjustmentAmount": "0", |
492 | 492 | "restrictionTaxAmount": "0.00" |
493 | - } | |
494 | - ] | |
495 | - }, | |
496 | - "errorCode": "OSBbllngA00001", | |
497 | - "message": "Success.", | |
498 | - "uuid": "530dbd96-bada-4fcd-85d0-a829ba1347d7" | |
499 | - } | |
500 | - } | |
501 | - } | |
502 | - | |
503 | - res.status(200).send(response) | |
504 | -} | |
505 | - | |
506 | -module.exports.getLastDocumentList = async (req, res) => { | |
507 | - console.log('===== POST getLastDocumentList =====') | |
508 | - console.log('url', req.originalUrl); | |
509 | - console.log('headers', req.headers); | |
510 | - console.log('query', req.query); | |
511 | - console.log('params', req.params); | |
512 | - console.log('body', req.body); | |
513 | - | |
514 | - let response = { | |
515 | - "getLastDocumentListResponse": { | |
516 | - "return": { | |
517 | - "invoiceList": { | |
518 | - "size": "1", | |
519 | - "invoiceInfoArray": [ | |
493 | + }, | |
520 | 494 | { |
521 | - "discountTaxAmount": "0.00", | |
522 | - "adjustmentNetAmount": "0.00", | |
495 | + "discountTaxAmount": "0", | |
496 | + "adjustmentNetAmount": "0", | |
523 | 497 | "availableAdjustmentNetAmount": "0.00", |
524 | - "invoiceBcBanId": "", | |
525 | - "dueDate": "", | |
498 | + "invoiceBcBanId": "813", | |
499 | + "dueDate": "2022-03-26T00:00:00.000+07:00", | |
526 | 500 | "vatRate": "0.00", |
527 | 501 | "converageEndDate": "", |
528 | - "discountAmount": "0.00", | |
529 | - "invoiceTaxAmount": "0.00", | |
530 | - "invoiceAmount": "0.00", | |
531 | - "invoiceStatusChangeDate": "", | |
502 | + "discountAmount": "0", | |
503 | + "invoiceTaxAmount": "0", | |
504 | + "invoiceAmount": "0", | |
505 | + "invoiceStatusChangeDate": "2013-03-02T00:00:00.000+07:00", | |
532 | 506 | "paymentAmount": "0", |
533 | - "baNo": "", | |
534 | - "billTaxAmount": "0.00", | |
507 | + "baNo": "10000449", | |
508 | + "billTaxAmount": "0", | |
535 | 509 | "billingDocumentType": { |
536 | 510 | "code": "BL", |
537 | 511 | "description": "Bill" |
538 | 512 | }, |
539 | 513 | "billAmount": "0.00", |
540 | - "invoiceType": "", | |
514 | + "invoiceType": "CN", | |
541 | 515 | "converageStartDate": "", |
542 | 516 | "currency": "THB", |
543 | - "billSequenceNo": "", | |
544 | - "invoiceNo": "", | |
545 | - "originalBalanceAmount": "0.00", | |
546 | - "customerManagerBaNo": "", | |
547 | - "invoiceCreationDate": "", | |
548 | - "unpaidNetAmount": "0.00", | |
517 | + "billSequenceNo": "290", | |
518 | + "invoiceNo": "140320130200000071", | |
519 | + "originalBalanceAmount": "0", | |
520 | + "customerManagerBaNo": "10000449", | |
521 | + "invoiceCreationDate": "2013-03-02T00:00:00.000+07:00", | |
522 | + "unpaidNetAmount": "0", | |
549 | 523 | "availableAdjustmentAmount": "0.00", |
550 | - "discountNetAmount": "0.00", | |
551 | - "billDate": "2021-07-30T00:00:00.000+07:00", | |
524 | + "discountNetAmount": "0", | |
525 | + "billDate": "2013-02-03T00:00:00.000+07:00", | |
552 | 526 | "disputeNetAmount": "0.00", |
553 | - "creditTaxAmount": "0.00", | |
554 | - "accountId": "200112081", | |
555 | - "billProductType": "DR", | |
527 | + "creditTaxAmount": "0", | |
528 | + "accountId": "10000449", | |
529 | + "billProductType": "", | |
556 | 530 | "billingDocumentStatus": { |
557 | - "code": "C", | |
558 | - "description": "Calculated" | |
531 | + "code": "N", | |
532 | + "description": "Confirmed" | |
559 | 533 | }, |
560 | - "unpaidAmount": "0.00", | |
534 | + "unpaidAmount": "1", | |
561 | 535 | "restrictionAmount": "0.00", |
562 | 536 | "disputeTaxAmount": "0.00", |
563 | 537 | "invoiceCycle": { |
564 | - "code": "", | |
565 | - "month": "", | |
566 | - "year": "" | |
538 | + "code": "2", | |
539 | + "month": "3", | |
540 | + "year": "2013" | |
567 | 541 | }, |
568 | - "convergenceInvoiceNo": "010720212800390921", | |
569 | - "coveredAmount": "0.00", | |
570 | - "invoiceId": "", | |
571 | - "performanceIndStatus": "CH", | |
542 | + "convergenceInvoiceNo": "140320130200000071", | |
543 | + "coveredAmount": "0", | |
544 | + "invoiceId": "629", | |
545 | + "performanceIndStatus": "", | |
572 | 546 | "unpaidTaxAmount": "0", |
573 | - "invoiceStatus": "", | |
547 | + "invoiceStatus": "F", | |
548 | + "adjustmentAmount": "0", | |
549 | + "restrictionTaxAmount": "0.00" | |
550 | + }, | |
551 | + { | |
552 | + "discountTaxAmount": "0", | |
553 | + "adjustmentNetAmount": "0", | |
554 | + "availableAdjustmentNetAmount": "0.00", | |
555 | + "invoiceBcBanId": "813", | |
556 | + "dueDate": "2022-03-26T00:00:00.000+07:00", | |
557 | + "vatRate": "0.00", | |
558 | + "converageEndDate": "", | |
559 | + "discountAmount": "0", | |
560 | + "invoiceTaxAmount": "0", | |
561 | + "invoiceAmount": "0", | |
562 | + "invoiceStatusChangeDate": "2013-03-02T00:00:00.000+07:00", | |
563 | + "paymentAmount": "0", | |
564 | + "baNo": "10000449", | |
565 | + "billTaxAmount": "0", | |
566 | + "billingDocumentType": { | |
567 | + "code": "BL", | |
568 | + "description": "Bill" | |
569 | + }, | |
570 | + "billAmount": "0.00", | |
571 | + "invoiceType": "CN", | |
572 | + "converageStartDate": "", | |
573 | + "currency": "THB", | |
574 | + "billSequenceNo": "290", | |
575 | + "invoiceNo": "140320130200000071", | |
576 | + "originalBalanceAmount": "2", | |
577 | + "customerManagerBaNo": "10000449", | |
578 | + "invoiceCreationDate": "2013-03-02T00:00:00.000+07:00", | |
579 | + "unpaidNetAmount": "0", | |
580 | + "availableAdjustmentAmount": "0.00", | |
581 | + "discountNetAmount": "0", | |
582 | + "billDate": "2013-01-03T00:00:00.000+07:00", | |
583 | + "disputeNetAmount": "0.00", | |
584 | + "creditTaxAmount": "0", | |
585 | + "accountId": "10000449", | |
586 | + "billProductType": "", | |
587 | + "billingDocumentStatus": { | |
588 | + "code": "N", | |
589 | + "description": "Confirmed" | |
590 | + }, | |
591 | + "unpaidAmount": "1", | |
592 | + "restrictionAmount": "0.00", | |
593 | + "disputeTaxAmount": "0.00", | |
594 | + "invoiceCycle": { | |
595 | + "code": "2", | |
596 | + "month": "3", | |
597 | + "year": "2013" | |
598 | + }, | |
599 | + "convergenceInvoiceNo": "140320130200000071", | |
600 | + "coveredAmount": "0", | |
601 | + "invoiceId": "629", | |
602 | + "performanceIndStatus": "", | |
603 | + "unpaidTaxAmount": "0", | |
604 | + "invoiceStatus": "F", | |
605 | + "adjustmentAmount": "0", | |
606 | + "restrictionTaxAmount": "0.00" | |
607 | + }, | |
608 | + { | |
609 | + "discountTaxAmount": "0", | |
610 | + "adjustmentNetAmount": "0", | |
611 | + "availableAdjustmentNetAmount": "0.00", | |
612 | + "invoiceBcBanId": "813", | |
613 | + "dueDate": "2022-03-26T00:00:00.000+07:00", | |
614 | + "vatRate": "0.00", | |
615 | + "converageEndDate": "", | |
616 | + "discountAmount": "0", | |
617 | + "invoiceTaxAmount": "0", | |
618 | + "invoiceAmount": "0", | |
619 | + "invoiceStatusChangeDate": "2013-03-02T00:00:00.000+07:00", | |
620 | + "paymentAmount": "0", | |
621 | + "baNo": "10000449", | |
622 | + "billTaxAmount": "0", | |
623 | + "billingDocumentType": { | |
624 | + "code": "BL", | |
625 | + "description": "Bill" | |
626 | + }, | |
627 | + "billAmount": "0.00", | |
628 | + "invoiceType": "CN", | |
629 | + "converageStartDate": "", | |
630 | + "currency": "THB", | |
631 | + "billSequenceNo": "290", | |
632 | + "invoiceNo": "140320130200000071", | |
633 | + "originalBalanceAmount": "1", | |
634 | + "customerManagerBaNo": "10000449", | |
635 | + "invoiceCreationDate": "2013-03-02T00:00:00.000+07:00", | |
636 | + "unpaidNetAmount": "0", | |
637 | + "availableAdjustmentAmount": "0.00", | |
638 | + "discountNetAmount": "0", | |
639 | + "billDate": "2012-12-03T00:00:00.000+07:00", | |
640 | + "disputeNetAmount": "0.00", | |
641 | + "creditTaxAmount": "0", | |
642 | + "accountId": "10000449", | |
643 | + "billProductType": "", | |
644 | + "billingDocumentStatus": { | |
645 | + "code": "N", | |
646 | + "description": "Confirmed" | |
647 | + }, | |
648 | + "unpaidAmount": "1", | |
649 | + "restrictionAmount": "0.00", | |
650 | + "disputeTaxAmount": "0.00", | |
651 | + "invoiceCycle": { | |
652 | + "code": "2", | |
653 | + "month": "3", | |
654 | + "year": "2013" | |
655 | + }, | |
656 | + "convergenceInvoiceNo": "140320130200000071", | |
657 | + "coveredAmount": "0", | |
658 | + "invoiceId": "629", | |
659 | + "performanceIndStatus": "", | |
660 | + "unpaidTaxAmount": "0", | |
661 | + "invoiceStatus": "F", | |
574 | 662 | "adjustmentAmount": "0", |
575 | 663 | "restrictionTaxAmount": "0.00" |
576 | 664 | } |
... | ... | @@ -578,7 +666,7 @@ module.exports.getLastDocumentList = async (req, res) => { |
578 | 666 | }, |
579 | 667 | "errorCode": "OSBbllngA00001", |
580 | 668 | "message": "Success.", |
581 | - "uuid": "56281a17-157d-4a4a-994d-c5e814b860e4" | |
669 | + "uuid": "530dbd96-bada-4fcd-85d0-a829ba1347d7" | |
582 | 670 | } |
583 | 671 | } |
584 | 672 | } |
... | ... | @@ -747,95 +835,95 @@ module.exports.getProductHistoryList = async (req, res) => { |
747 | 835 | console.log('body', req.body); |
748 | 836 | |
749 | 837 | let response = { |
750 | - "getProductHistoryListResponse": { | |
751 | - "return": { | |
752 | - "totalSize": "59", | |
753 | - "productHistoryList": { | |
754 | - "size": "2", | |
755 | - "subscriberStatusHistoryInfoArray": [ | |
756 | - { | |
757 | - "barringByRequestActivityDate": "2016-09-01T17:25:03.000+07:00", | |
758 | - "barringByRequestIndicator": "N", | |
759 | - "collectionStatus": { | |
760 | - "reasonDescription": "Default Request for restore from suspension from Reg CL", | |
761 | - "lastActivityDate": "2018-11-07T07:15:02.000+07:00", | |
762 | - "reasonCode": "DEFRS", | |
763 | - "status": "NONE" | |
764 | - }, | |
765 | - "linkPrevProductId": "", | |
766 | - "barringByRequestReasonCode": "DDSC", | |
767 | - "creditLimitAtSubStatus": { | |
768 | - "reasonDescription": "", | |
769 | - "lastActivityDate": "", | |
770 | - "reasonCode": "", | |
771 | - "status": "NONE" | |
772 | - }, | |
773 | - "subscriberId": "1111841", | |
774 | - "barringByRequestReasonDescription": "Delete Additional Offer", | |
775 | - "creditStatus": { | |
776 | - "reasonDescription": "Restore from Suspension request from Credit Limit Collection", | |
777 | - "lastActivityDate": "2017-07-30T12:23:44.000+07:00", | |
778 | - "reasonCode": "MONRS", | |
779 | - "status": "NONE" | |
780 | - }, | |
781 | - "linkNextProductId": "", | |
782 | - "effectiveDate": "2018-11-07T07:15:02.000+07:00", | |
783 | - "status": { | |
784 | - "statusDate": "2016-09-01T17:32:41.000+07:00", | |
785 | - "statusLastActivity": "16", | |
786 | - "statusDescription": "Active", | |
787 | - "statusReasonDescription": "Restore Subs - Found", | |
788 | - "statusReasonCode": "RSP5", | |
789 | - "lastActivityPathId": "78", | |
790 | - "statusCode": "A" | |
791 | - } | |
792 | - }, | |
793 | - { | |
794 | - "barringByRequestActivityDate": "2016-09-01T17:25:03.000+07:00", | |
795 | - "barringByRequestIndicator": "N", | |
796 | - "collectionStatus": { | |
797 | - "reasonDescription": "Default Request for restore from suspension from Reg CL", | |
798 | - "lastActivityDate": "2018-08-14T19:29:43.000+07:00", | |
799 | - "reasonCode": "DEFRS", | |
800 | - "status": "NONE" | |
801 | - }, | |
802 | - "linkPrevProductId": "", | |
803 | - "barringByRequestReasonCode": "DDSC", | |
804 | - "creditLimitAtSubStatus": { | |
805 | - "reasonDescription": "", | |
806 | - "lastActivityDate": "", | |
807 | - "reasonCode": "", | |
808 | - "status": "NONE" | |
809 | - }, | |
810 | - "subscriberId": "1111841", | |
811 | - "barringByRequestReasonDescription": "Delete Additional Offer", | |
812 | - "creditStatus": { | |
813 | - "reasonDescription": "Restore from Suspension request from Credit Limit Collection", | |
814 | - "lastActivityDate": "2017-07-30T12:23:44.000+07:00", | |
815 | - "reasonCode": "MONRS", | |
816 | - "status": "NONE" | |
817 | - }, | |
818 | - "linkNextProductId": "", | |
819 | - "effectiveDate": "2018-08-14T19:29:43.000+07:00", | |
820 | - "status": { | |
821 | - "statusDate": "2016-09-01T17:32:41.000+07:00", | |
822 | - "statusLastActivity": "16", | |
823 | - "statusDescription": "Active", | |
824 | - "statusReasonDescription": "Restore Subs - Found", | |
825 | - "statusReasonCode": "RSP5", | |
826 | - "lastActivityPathId": "78", | |
827 | - "statusCode": "A" | |
828 | - } | |
838 | + "getProductHistoryListResponse": { | |
839 | + "return": { | |
840 | + "totalSize": "59", | |
841 | + "productHistoryList": { | |
842 | + "size": "2", | |
843 | + "subscriberStatusHistoryInfoArray": [ | |
844 | + { | |
845 | + "barringByRequestActivityDate": "2016-09-01T17:25:03.000+07:00", | |
846 | + "barringByRequestIndicator": "PSUS", | |
847 | + "collectionStatus": { | |
848 | + "reasonDescription": "Default Request for restore from suspension from Reg CL", | |
849 | + "lastActivityDate": "2018-11-07T07:15:02.000+07:00", | |
850 | + "reasonCode": "DEFRS", | |
851 | + "status": "NONE" | |
852 | + }, | |
853 | + "linkPrevProductId": "", | |
854 | + "barringByRequestReasonCode": "DDSC", | |
855 | + "creditLimitAtSubStatus": { | |
856 | + "reasonDescription": "", | |
857 | + "lastActivityDate": "", | |
858 | + "reasonCode": "", | |
859 | + "status": "NONE" | |
860 | + }, | |
861 | + "subscriberId": "1111841", | |
862 | + "barringByRequestReasonDescription": "Delete Additional OfferXX", | |
863 | + "creditStatus": { | |
864 | + "reasonDescription": "Restore from Suspension request from Credit Limit Collection", | |
865 | + "lastActivityDate": "2017-07-30T12:23:44.000+07:00", | |
866 | + "reasonCode": "MONRS", | |
867 | + "status": "NONE" | |
868 | + }, | |
869 | + "linkNextProductId": "", | |
870 | + "effectiveDate": "2018-11-07T07:15:02.000+07:00", | |
871 | + "status": { | |
872 | + "statusDate": "2016-09-01T17:32:41.000+07:00", | |
873 | + "statusLastActivity": "16", | |
874 | + "statusDescription": "Active", | |
875 | + "statusReasonDescription": "Restore Subs - FoundA", | |
876 | + "statusReasonCode": "RSP5", | |
877 | + "lastActivityPathId": "78", | |
878 | + "statusCode": "XX" | |
879 | + } | |
880 | + }, | |
881 | + { | |
882 | + "barringByRequestActivityDate": "2016-09-01T17:25:04.000+07:00", | |
883 | + "barringByRequestIndicator": "PSUS", | |
884 | + "collectionStatus": { | |
885 | + "reasonDescription": "Default Request for restore from suspension from Reg CL", | |
886 | + "lastActivityDate": "2018-08-14T19:29:43.000+07:00", | |
887 | + "reasonCode": "DEFRS", | |
888 | + "status": "NONE" | |
889 | + }, | |
890 | + "linkPrevProductId": "", | |
891 | + "barringByRequestReasonCode": "DDSC", | |
892 | + "creditLimitAtSubStatus": { | |
893 | + "reasonDescription": "", | |
894 | + "lastActivityDate": "", | |
895 | + "reasonCode": "", | |
896 | + "status": "NONE" | |
897 | + }, | |
898 | + "subscriberId": "1111841", | |
899 | + "barringByRequestReasonDescription": "Delete Additional Offer", | |
900 | + "creditStatus": { | |
901 | + "reasonDescription": "Restore from Suspension request from Credit Limit Collection", | |
902 | + "lastActivityDate": "2017-07-30T12:23:44.000+07:00", | |
903 | + "reasonCode": "MONRS", | |
904 | + "status": "NONE" | |
905 | + }, | |
906 | + "linkNextProductId": "", | |
907 | + "effectiveDate": "2018-08-14T19:29:43.000+07:00", | |
908 | + "status": { | |
909 | + "statusDate": "2016-09-01T17:32:41.000+07:00", | |
910 | + "statusLastActivity": "16", | |
911 | + "statusDescription": "Active", | |
912 | + "statusReasonDescription": "Restore Subs - FoundB", | |
913 | + "statusReasonCode": "RSP5", | |
914 | + "lastActivityPathId": "78", | |
915 | + "statusCode": "ZZ" | |
916 | + } | |
917 | + } | |
918 | + ] | |
919 | + }, | |
920 | + "calculatedPageSize": "2", | |
921 | + "errorCode": "OSBbllngA00001", | |
922 | + "message": "Success.", | |
923 | + "uuid": "84943fc3-00c2-424b-a432-23860fcc7ad3" | |
829 | 924 | } |
830 | - ] | |
831 | - }, | |
832 | - "calculatedPageSize": "2", | |
833 | - "errorCode": "OSBbllngA00001", | |
834 | - "message": "Success.", | |
835 | - "uuid": "84943fc3-00c2-424b-a432-23860fcc7ad3" | |
836 | - } | |
925 | + } | |
837 | 926 | } |
838 | - } | |
839 | 927 | |
840 | 928 | res.status(200).send(response) |
841 | 929 | } | ... | ... |
ssb.js
... | ... | @@ -180,3 +180,42 @@ module.exports.deletePackage = async (req, res) => { |
180 | 180 | |
181 | 181 | res.status(500).send(response) |
182 | 182 | } |
183 | + | |
184 | +module.exports.createNewRegistration = async (req, res) => { | |
185 | + console.log('===== POST createNewRegistration =====') | |
186 | + console.log('url', req.originalUrl); | |
187 | + console.log('headers', req.headers); | |
188 | + console.log('query', req.query); | |
189 | + console.log('params', req.params); | |
190 | + console.log('body', JSON.stringify(req.body)); | |
191 | + | |
192 | + let response = { | |
193 | + "resultCode": "50000", | |
194 | + "developerMessage": "Success", | |
195 | + "data": { | |
196 | + "ExecuteServiceResponse": { | |
197 | + "return": { | |
198 | + "ParameterList": { | |
199 | + "Parameter": [ | |
200 | + { | |
201 | + "Name": "returnMessage", | |
202 | + "Value": "Success" | |
203 | + }, | |
204 | + { | |
205 | + "Name": "orderNo", | |
206 | + "Value": "R201600321324" | |
207 | + }, | |
208 | + { | |
209 | + "Name": "orderDate", | |
210 | + "Value": "11/01/2016" | |
211 | + } | |
212 | + ] | |
213 | + } | |
214 | + } | |
215 | + } | |
216 | + } | |
217 | + } | |
218 | + | |
219 | + | |
220 | + res.status(500).send(response) | |
221 | +} | |
183 | 222 | \ No newline at end of file | ... | ... |
true.js
... | ... | @@ -89,4 +89,63 @@ module.exports.getMobileOfferInventory = async (req, res) => { |
89 | 89 | |
90 | 90 | |
91 | 91 | res.status(200).send(response) |
92 | +} | |
93 | + | |
94 | +module.exports.getAccountStatusHistoryList = async (req, res) => { | |
95 | + console.log('===== POST getAccountStatusHistoryList =====') | |
96 | + console.log('url', req.originalUrl); | |
97 | + console.log('headers', req.headers); | |
98 | + console.log('query', req.query); | |
99 | + console.log('params', req.params); | |
100 | + console.log('body', JSON.stringify(req.body)); | |
101 | + | |
102 | + let response = { | |
103 | + "getAccountStatusHistoryListResponse": { | |
104 | + "return": { | |
105 | + "totalSize": "2", | |
106 | + "calculatedPageSize": "10", | |
107 | + "accountHistoryList": { | |
108 | + "accountHistoryArray": [ | |
109 | + { | |
110 | + "statusDescription": "Active", | |
111 | + "collectionStatus": { | |
112 | + "reasonDescription": "", | |
113 | + "lastActivityDate": "", | |
114 | + "reasonCode": "", | |
115 | + "status": "NONE" | |
116 | + }, | |
117 | + "creditStatus": { | |
118 | + "reasonDescription": "", | |
119 | + "lastActivityDate": "", | |
120 | + "reasonCode": "", | |
121 | + "status": "NONE" | |
122 | + }, | |
123 | + "openDate": "2019-12-23T18:10:42.000+07:00" | |
124 | + }, | |
125 | + { | |
126 | + "statusDescription": "Active", | |
127 | + "collectionStatus": { | |
128 | + "reasonDescription": "XXX", | |
129 | + "lastActivityDate": "2021-12-30T00:00:00.000+07:00", | |
130 | + "reasonCode": "ABC", | |
131 | + "status": "NONE" | |
132 | + }, | |
133 | + "creditStatus": { | |
134 | + "reasonDescription": "BBB", | |
135 | + "lastActivityDate": "", | |
136 | + "reasonCode": "AA", | |
137 | + "status": "NONE" | |
138 | + }, | |
139 | + "openDate": "2019-12-23T18:10:42.000+07:00" | |
140 | + } | |
141 | + ] | |
142 | + }, | |
143 | + "errorCode": "OSBbllngA00001", | |
144 | + "message": "Success.", | |
145 | + "uuid": "17bc096d-d0e9-46bd-8c95-aebdea2158c0" | |
146 | + } | |
147 | + } | |
148 | + } | |
149 | + | |
150 | + res.status(200).send(response) | |
92 | 151 | } |
93 | 152 | \ No newline at end of file | ... | ... |