Assist_Design/apps/bff/sim-api-test-log.csv
tema 1283880f7d Revamp Physical SIM activation to use PA02-01 + PA05-05
Replace PA05-33 OTA API with the proper two-step activation flow:
- PA02-01: Account Registration (/master/addAcnt/)
- PA05-05: Voice Options Registration (/mvno/talkoption/addOrder/)

Changes:
- Add FreebitAccountRegistrationService for PA02-01 account registration
- Add FreebitVoiceOptionsService for PA05-05 voice options
- Update SimFulfillmentService to use new APIs instead of PA05-33 OTA
- Add SalesforceSIMInventoryService for fetching SIM inventory data
- Remove deprecated FreebitOtaService (PA05-33 no longer used)
- Remove debug console.log statements

The new flow:
1. Fetch SIM inventory from Salesforce (phone number, PT number)
2. Call PA02-01 to register MVNO account with plan code
3. Call PA05-05 to configure voice options with customer identity
4. Update SIM inventory status to "In Use"

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-30 18:22:00 +09:00

4.2 KiB

1TimestampAPI EndpointAPI MethodPhone NumberSIM IdentifierRequest PayloadResponse StatusErrorAdditional Info
22026-01-19T04:05:41.856Z/mvno/getTrafficInfo/POST0200052410465202000524104652{"account":"02000524104652"}SuccessOK
32026-01-19T04:05:41.945Z/mvno/getTrafficInfo/POST0200052410465202000524104652{"account":"02000524104652"}SuccessOK
42026-01-20T08:29:56.809Z/mvno/getTrafficInfo/POST0200052410465202000524104652{"account":"02000524104652"}SuccessOK
52026-01-20T08:29:56.956Z/mvno/getTrafficInfo/POST0200052410465202000524104652{"account":"02000524104652"}SuccessOK
62026-01-29T05:54:55.030Z/mvno/getTrafficInfo/POST0700024005007000240050{"account":"07000240050"}Error: 210API Error: NGAPI Error: NG
72026-01-29T05:54:59.051Z/mvno/getTrafficInfo/POST0700024005007000240050{"account":"07000240050"}Error: 210API Error: NGAPI Error: NG
82026-01-29T05:55:03.587Z/mvno/getTrafficInfo/POST0700024005007000240050{"account":"07000240050"}Error: 210API Error: NGAPI Error: NG
92026-01-30T05:00:27.476Z/mvno/getTrafficInfo/POST0700024005007000240050{"account":"07000240050"}Error: 210API Error: NGAPI Error: NG
102026-01-30T05:00:30.722Z/mvno/getTrafficInfo/POST0700024005007000240050{"account":"07000240050"}Error: 210API Error: NGAPI Error: NG
112026-01-30T05:00:41.667Z/mvno/getTrafficInfo/POST28772529322877252932{"account":"2877252932"}Error: 210API Error: NGAPI Error: NG
122026-01-30T05:00:41.940Z/mvno/getTrafficInfo/POST28772529322877252932{"account":"2877252932"}Error: 210API Error: NGAPI Error: NG
132026-01-30T05:00:43.417Z/mvno/getTrafficInfo/POST28772529322877252932{"account":"2877252932"}Error: 210API Error: NGAPI Error: NG
142026-01-30T05:00:46.655Z/mvno/getTrafficInfo/POST28772529322877252932{"account":"2877252932"}Error: 210API Error: NGAPI Error: NG
152026-01-30T06:41:21.669Z/mvno/ota/addAcnt/POST0700024005007000240050{"authKey":"[REDACTED]","aladinOperated":"10","createType":"new","account":"07000240050","productNumber":"PT0270002400500","planCode":"PASI_5G","contractLine":"5G","size":"nano","addKind":"N","deliveryCode":"PASI"}Error: 204API Error: Bad RequestAPI Error: Bad Request
162026-01-30T06:44:46.220Z/mvno/ota/addAcnt/POST0700024005007000240050{"authKey":"[REDACTED]","aladinOperated":"10","createType":"new","account":"07000240050","productNumber":"PT0270002400500","planCode":"PASI_5G","contractLine":"5G","size":"nano","addKind":"N","deliveryCode":"PASI"}Error: 204API Error: Bad RequestAPI Error: Bad Request
172026-01-30T06:54:15.819Z/mvno/ota/addAcnt/POST0700024005007000240050{"authKey":"[REDACTED]","aladinOperated":"10","createType":"new","account":"07000240050","productNumber":"PT0270002400500","simkind":"3MS","planCode":"PASI_5G","contractLine":"5G","size":"nano","addKind":"N","shipDate":"20260130","deliveryCode":"PASI"}Error: 204API Error: Bad RequestAPI Error: Bad Request
182026-01-30T07:00:25.099Z/mvno/ota/addAcnt/POST0700024005007000240050{"authKey":"[REDACTED]","aladinOperated":"10","createType":"new","account":"07000240050","productNumber":"PT0270002400500","size":"nano","planCode":"PASI_5G","deliveryCode":"PASI","addKind":"N","shipDate":"20260130"}Error: 204API Error: Bad RequestAPI Error: Bad Request
192026-01-30T07:05:10.543Z/mvno/ota/addAcnt/POST0700024005007000240050{"authKey":"[REDACTED]","aladinOperated":"10","createType":"new","account":"07000240050","productNumber":"0270002400500","size":"nano","planCode":"PASI_5G","deliveryCode":"PASI","addKind":"N","shipDate":"20260130"}Error: 204API Error: Bad RequestAPI Error: Bad Request
202026-01-30T07:08:08.685Z/mvno/ota/addAcnt/POST0700024005007000240050{"aladinOperated":"10","createType":"new","account":"07000240050","productNumber":"0270002400500","size":"nano","planCode":"PASI_5G","deliveryCode":"PASI","addKind":"N","shipDate":"20260130"}Error: 201API Error: Bad RequestAPI Error: Bad Request