lbs integration documents

Download LBS Integration Documents

If you can't read please download the document

Upload: muhammad-noman

Post on 09-Nov-2015

216 views

Category:

Documents


0 download

TRANSCRIPT

Username : SYNTECXpassword : syntecx_3211- Pre Post Paid and status Checkselect subno, prepost_paid, status from tcs.vendor_info_vw where subno = '321XXXXXXX';--status 30 show the subscriber is active3- To check the Installed service on a specific subscribr use below:select SUBNO, EQUIPID from tcs.CRM_USER_EQUIPMENTS_VWWHERE SUBNO = '321xxxxxxxx'AND EQUIPID = 'XXXXXX';--EQUIPID will be LBS500LBS1000LBS2000LBS3000LBS10000Below is the TNS;IP: 172.21.5.2PORT: 1521TABS1= (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=172.21.5.2) (PORT=1521) ) (CONNECT_DATA= (INSTANCE_NAME=tabs1) (SERVER=dedicated) (SERVICE_NAME=tabsprod.waridtel.com) ) )IP: 172.21.5.5PORT: 1521TABS2= (DESCRIPTION= (ADDRESS= (PROTOCOL=TCP) (HOST=172.21.5.5) (PORT=1521) ) (CONNECT_DATA= (INSTANCE_NAME=tabs2) (SERVER=dedicated) (SERVICE_NAME=tabsprod.waridtel.com) ) )Procedure to Install/Disconnect a service on a specific subscriber:DECLARE A_SUBNO VARCHAR2(32767); P_CODE VARCHAR2(32767); A_KEY VARCHAR2(32767); ACT VARCHAR2(32767); RETVAL VARCHAR2(32767);BEGIN A_SUBNO := '321xxxxxxx'; P_CODE := 'xxxxxxxx';--LBS500 , LBS1000 , LBS2000 , LBS3000 , LBS10000 A_KEY := '4d3a2c716f06b8e0f29e2507b5739c6f66df45df';--syntecx Access Key ACT := 'xxxx'; --INST / DISC RETVAL := NULL; TCS.VENDORS_SERVICE_CHANGE ( A_SUBNO, P_CODE, A_KEY, ACT, RETVAL ); COMMIT; END; Return codes:In case of Successful INST/DISC always return: [Code=0]In case of service is already installed then it return: 300512In case of service is not installed and you try to uninstall then it return: 10203