You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.8 KiB

1 year ago
  1. USE [FastMoneyPro_Remit]
  2. GO
  3. /****** Object: StoredProcedure [dbo].[proc_apiCall] Script Date: 9/27/2019 1:30:14 PM ******/
  4. SET ANSI_NULLS ON
  5. GO
  6. SET QUOTED_IDENTIFIER ON
  7. GO
  8. CREATE proc [dbo].[proc_apiCall] (
  9. @flag VARCHAR(50)
  10. ,@controlNo VARCHAR(20) = NULL
  11. ,@user VARCHAR(30) = NULL
  12. )
  13. AS
  14. SET NOCOUNT on;
  15. /*
  16. dl - district List
  17. sc - service charge
  18. */
  19. IF @flag = 'dl'
  20. BEGIN
  21. --DOMESTIC Distict List:
  22. Exec ime_plus_01.dbo.spa_SOAP_Domestic_DistrictList
  23. 'IMENPKA037','sabin123','ime1234','1234','c'
  24. END
  25. ELSE IF @flag = 'sc'
  26. BEGIN
  27. --DOMESTIC Service Charge:
  28. Exec ime_plus_01.dbo.spa_SOAP_Domestic_ServiceCharge
  29. 'IMENPKA037','sabin123','ime1234','1234',10000,'c',109
  30. END
  31. ----DOMESTIC Send TXN Create:
  32. --Exec [192.168.2.1].ime_plus_01.dbo.spa_SOAP_Domestic_createTXN
  33. --'IMENPKA037','sabin123','ime1234','1234',51398,
  34. --'SENDER2','SAddress','SMOBILE','Passport','PASS123','Receiver','RAddress','11111',
  35. --'KTM','Dad','ReceiverIDTYpe','Receiver ID',1000,'c',109
  36. ----DOMESTIC Approve TXN :
  37. --Exec [192.168.2.1].ime_plus_01.dbo.spa_SOAP_Domestic_approve_transaction
  38. --'IMENPKA037','sabin123','ime1234',
  39. --'8425495442D','12222','127.0.0.1'
  40. --DOMESTIC Distict List: Ready
  41. --DOMESTIC Service Charge: Ready
  42. --DOMESTIC Send TXN Create: Ready
  43. --DOMESTIC Approve TXN: Ready
  44. --Domestic Paid Txn : Pending
  45. --Domestic Cancel Txn: Penging
  46. --Domestic Transaction Status: Pending
  47. GO