SHARE
TWEET

API BTN - Swagger

YanuarHamzah Jun 17th, 2019 132 in 331 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. openapi: 3.0.0
  2. servers:
  3. # Added by API Auto Mocking Plugin
  4.   - description: SwaggerHub API Auto Mocking
  5.     url: https://virtserver.swaggerhub.com/YanuarHamzah/API_BTN/B_0_1
  6.   - description: SwaggerHub API Auto Mocking
  7.     url: https://virtserver.swaggerhub.com/YanuarHamzah/testYH/B_0_1
  8. info:
  9.   description:
  10.     This is a draft API for BTN Project.  You can find out more about this  on JIRA / Trello
  11.   version: 'B_0_1'
  12.   title: 'API BTN Project'
  13.   contact:
  14.     email: yanuar.hamzah@invisee.com
  15.   license:
  16.     name: Apache 2.0
  17.     url: 'http://www.apache.org/licenses/LICENSE-2.0.html'
  18.  
  19. paths:
  20.  
  21.   /userApi/adminLogin:
  22.     post:
  23.       tags:
  24.         - LOGIN
  25.       summary: LOGIN action with username
  26.       operationId: postLogin
  27.       description: |
  28.         Login BTN using username (field username in DB) and password
  29.        
  30.       requestBody:
  31.         content:
  32.           application/json:
  33.             schema:
  34.                 $ref: '#/components/schemas/paramLogin'
  35.       responses:
  36.         '200':
  37.           description: Login Success
  38.           content:
  39.             application/json:
  40.               schema:
  41.                 $ref: '#/components/schemas/responseLogin'
  42.         '400':
  43.           description: bad input parameter
  44.  
  45.   /customersApi/registerNasabah:
  46.     post:
  47.       tags:
  48.         - REGISTER
  49.       summary: Auto Approval for Registration iReksadana (/customersApi/registerCustomer)
  50.       operationId: postReg
  51.       description: |
  52.        Registration iReksadana with 3 field :
  53.        
  54.        - nik (kyc.id_number)
  55.        - mobilePhoneNo (kyc.mobile_number)
  56.        - email  (_user.email)
  57.        
  58.        Logic that will be implemented :
  59.        
  60.        - nik;mobilePhoneNo;email valid and user_status in table _user is VER
  61.        ==> 1. notification = Akun anda sudah teraktivasi, silahkan unduh aplikasi iReksadan dari Playstore dan login dengan email Anda. 2. Code = 0
  62.        
  63.        - nik;mobilePhoneNo;email valid and user_status in table _user is REG
  64.        ==> 1. Set user_status = VER 2. notification = Akun anda sudah berhasil di aktivasi, silahkan unduh aplikasi iReksadan dari Playstore dan login dengan email Anda. 3. Code = 1
  65.        
  66.        - nik valid ; mobilePhoneNo valid; email invalid
  67.        ==> 1. Set user_status = REG 2. notification = Email (email inputted) yang anda masukkan salah, silahkan dicoba kembali atau Anda dapat menghubungin Customer Service kami untuk pengkinian data. 3. Code = 2
  68.        
  69.        - nik valid ; mobilePhoneNo invalid; email valid
  70.        ==> 1. Set user_status = REG 2. notification = no telpon (mobilePhoneNo inputted) yang anda masukkan salah, silahkan dicoba kembali atau Anda dapat menghubungin Customer Service kami untuk pengkinian data. 3. Code = 3
  71.        
  72.       requestBody:
  73.         content:
  74.           application/json:
  75.             schema:
  76.                 $ref: '#/components/schemas/paramRegister'
  77.       responses:
  78.         '200':
  79.           description: |
  80.          
  81.           content:
  82.             application/json:
  83.               schema:
  84.                 $ref: '#/components/schemas/responseRegister'
  85.         '400':
  86.           description: bad input parameter
  87.  
  88.   /kyc/getPendingCustomer:
  89.     post:
  90.       tags:
  91.         - Dasrhboard-CustomerApproval
  92.       summary: get pending customer with act / pen status based on Role
  93.       operationId: getPendingCustomer
  94.       description: |
  95.         By passing in the appropriate options, you can retrive all pending customer with :
  96.         - status = act (for PBO/ roleCode = 12),
  97.         - customer with status pen (for PBM / roleCode = 22)
  98.         - customer with status act dan pen  (for SU - App WMD- InpWMD  / roleCode = 3,21,11
  99.        
  100.         Note for front end :
  101.         - Need approval using field rejected in response in API with value = No
  102.       parameters:
  103.         - in: query
  104.           name: token
  105.           description: pass valid token for inquiry
  106.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  107.           required: true
  108.           schema:
  109.             type: string
  110.       responses:
  111.         '200':
  112.           description: successfull to load pending customer
  113.           content:
  114.             application/json:
  115.               schema:
  116.                 type: array
  117.                 items:
  118.                   $ref: '#/components/schemas/responseCustomerData'
  119.         '400':
  120.           description: failed to load
  121.          
  122.   /customersAPI/approveUser:
  123.     post:
  124.       tags:
  125.         - Dasrhboard-CustomerApproval
  126.       summary: update from status in table user
  127.       operationId: putApproveCustomer
  128.       description: |
  129.         By passing in the appropriate options, you can change :
  130.         - from act status to pen (PBO action / role =12)
  131.         - from pen status to ver (PBM action / role =22)
  132.         - Note: need validation if role code from token is not valid for approval so need notification message that failed to Approved Submitted
  133.  
  134.       parameters:
  135.         - in: query
  136.           name: token
  137.           description: pass valid token for inquiry
  138.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  139.           required: true
  140.           schema:
  141.             type: string
  142.       requestBody:
  143.         content:
  144.           application/json:
  145.             schema:
  146.                 $ref: '#/components/schemas/paramCustomerApproval'
  147.       responses:
  148.         '200':
  149.           description: update successfull. Customer profile has been created
  150.           content:
  151.             application/json:
  152.               schema:
  153.                 $ref: '#/components/schemas/responseCustomerApproval'
  154.         '400':
  155.           description: bad input parameter
  156.  
  157.   /kyc/customerList:
  158.     get:
  159.       tags:
  160.         - Customer
  161.       summary: get customer with with All status
  162.       operationId: getCustomerList
  163.       description:
  164.         By passing in the appropriate options, you can retrive all customer list data,Front End ; - need approval status YES (act/pen in status feed back API Response) - NO (for other status)
  165.        
  166.       parameters:
  167.         - in: query
  168.           name: token
  169.           description: pass valid token for inquiry
  170.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  171.           required: true
  172.           schema:
  173.             type: string
  174.       responses:
  175.         '200':
  176.           description: Customer list successfully loaded
  177.           content:
  178.             application/json:
  179.               schema:
  180.                   $ref: '#/components/schemas/responseCustomerList'
  181.         '400':
  182.           description: failed to load
  183.          
  184.   /otp/requestOtp:
  185.     post:
  186.       tags:
  187.         - OTP
  188.       summary: Generate OTP
  189.       operationId: generateOTPtrx
  190.       description:
  191.        
  192.         Penambahan field pada table sms_otp_token
  193.        
  194.         - trx_type (ut_transaction_type.trx_id)
  195.        
  196.         - customer_id (kyc.customer_id)
  197.        
  198.        
  199.         Logic :|
  200.         select top 1 dari table sms_otp
  201.         where kyc_id & trx_type
  202.         order by created date descending
  203.        
  204.        
  205.         Sukses :|
  206.        
  207.         - kalau tidak ada data
  208.        
  209.         - ada, data tapi used t
  210.        
  211.         - ada, used = f & expired date > dari get time now
  212.        
  213.         - ada, used = f & expired date <= get time now & status = INVALID
  214.        
  215.        
  216.         Failed :|
  217.         (Kondisi lawan sukses terpenuhi)
  218.        
  219.         - set data status = INVALID
  220.        
  221.       parameters:
  222.         - in: query
  223.           name: token
  224.           description: pass valid token for inquiry
  225.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  226.           required: true
  227.           schema:
  228.             type: string
  229.         - in: query
  230.           name: cat
  231.           description: category transaction
  232.           example: REDMP
  233.           required: true
  234.           schema:
  235.             type: string
  236.       responses:
  237.         '200':
  238.           description: Generate success
  239.           content:
  240.             application/json:
  241.               schema:
  242.                   $ref: '#/components/schemas/responseGenOTP'
  243.         '400':
  244.           description: failed to load
  245.          
  246.   /reports/transactionHistory:
  247.     post:
  248.       tags:
  249.         - REPORTS
  250.       summary: Order History
  251.       operationId: pullOrderHistory
  252.       description:
  253.        
  254.         Penambahan field referral transactionHistoryDetail
  255.        
  256.        
  257.       parameters:
  258.         - in: query
  259.           name: token
  260.           description: pass valid token for inquiry
  261.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  262.           required: true
  263.           schema:
  264.             type: string
  265.        
  266.       responses:
  267.         '200':
  268.           description: Generate success
  269.           content:
  270.             application/json:
  271.               schema:
  272.                   $ref: '#/components/schemas/responseOrderHistory'
  273.         '400':
  274.           description: failed to load
  275.      
  276.       requestBody:
  277.         content:
  278.           application/json:
  279.             schema:
  280.               $ref: '#/components/schemas/paramOrderHistory'
  281.          
  282.   /trxApi/trxSubscription:
  283.     post:
  284.       tags:
  285.         - TRANSACTION
  286.       summary: Subs
  287.       operationId: Subs
  288.       description: |
  289.         For Subscription Trans and combined with API Avantrade with this link
  290.         /avantradeapi/services/transaction/subscription.
  291.        
  292.         Mapping field :
  293.         - productId = body request fundpackageId (ut_products.at_product_id; join with fund_packages_products.ut_products_id ; join with fund_package_product_id)
  294.         - transactionAmount = netAmount from body request
  295.         - feeAmount = feeAmount from body request
  296.         - feeRate = feeRate from body request
  297.         - transactionDate = dd-MMM-yyyy
  298.         - priceDate = dd-MMM-yyyy
  299.         - settlementAccountId = settlement_accounts.at_settlement_account_id
  300.         - fundSourceId = kyc.source_of_income
  301.         - customerId = kyc.at_customer_id
  302.         - investmentAccountId = investment_account_grouping.at_investment_account_id
  303.         - orderNumber = orderNumber dari body request
  304.         - transactionNumber
  305.         - refferralcode from body request
  306.         - feeType -> hardcode -1 (in numeric / special fee)
  307.        
  308.        
  309.       parameters:
  310.         - in: query
  311.           name: token
  312.           description: pass valid token for inquiry
  313.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  314.           required: true
  315.           schema:
  316.             type: string
  317.       responses:
  318.         '200':
  319.           description: Customer list successfully loaded
  320.           content:
  321.             application/json:
  322.               schema:
  323.                   $ref: '#/components/schemas/responseSubsSuccess'
  324.         '400':
  325.           description: failed to load
  326.       requestBody:
  327.         content:
  328.           application/json:
  329.             schema:
  330.               $ref: '#/components/schemas/paramSubs'
  331.  
  332.   /trxApi/trxRedemption:
  333.     post:
  334.       tags:
  335.         - TRANSACTION
  336.       summary: Redemption Full / Partial
  337.       operationId: fullRedeem
  338.       description: |
  339.         For redemption Trans and combined with API Avantrade with this link
  340.         /avantradeapi/services/transaction/redemption.
  341.        
  342.         Mapping field :
  343.         - productId = ut_products.at_product_id; join with fund_packages_products.ut_products_id ; join with fund_package_product_id ; join with investment_accounts.fund_packages_id
  344.         - fundSourceId = kyc.source_of_income
  345.         - transactionAmount = netAmount from body request
  346.         - feeRate = feeRate from body request
  347.         - feeAmount = feeAmount from body request
  348.         - transactionDate = dd-MMM-yyyy
  349.         - settlementAccountId = settlement_accounts.at_settlement_account_id
  350.         - customerId = kyc.at_customer_id
  351.         - investmentAccountId = investment_account_grouping.at_investment_account_id
  352.         - orderNumber = generate by middle office
  353.         - transactionNumber  = generate by middle office
  354.         - redemptionUnit = unit from body request
  355.         - redemptionType = body request.redemptType (0 = All; -1 = Partial Amount; 1 = Partial Unit)
  356.         - origFeeRate = 0
  357.         - priceDate = calculate by middle office
  358.         - refferralcode = refferralCode from body request
  359.         - feeType -> hardcode -1 (in numeric / special fee)
  360.        
  361.         Logic :
  362.        
  363.         Pre Checked : |
  364.        
  365.         sms_otp.token = body.tokenOTP (berdasarkan trx_type;customer_id; expired_date; used; token).
  366.        
  367.         Sukses = next process to checked
  368.        
  369.         Failed = INVALID token inserted
  370.        
  371.         Next Process : |
  372.        
  373.         Select top 1 * from customer_balance
  374.        
  375.         where customer_balance.inv_account_id = body request invAccId
  376.        
  377.         order by created_date desc
  378.        
  379.         Jika ada maka lanjut nextprocess 2;
  380.        
  381.         tidak ada errmsg = your investment account is invalid.
  382.        
  383.         Next Process2 : |
  384.         1. Check body request untuk redeemType = 0
  385.        
  386.         apakah ada di ut_transactions.trxtype_type_id = 2/9 (select; where kyc_id_id & inv_acc_group & fund_package_ref_id & trx_status = ORD).
  387.        
  388.         Ada
  389.        
  390.         1.1  
  391.           ut_transactions.order_unit + body request.unit = customer_balance.current_unit
  392.          
  393.               OK  0  Success Redemp(pass to avantrade)
  394.          
  395.               NOK  111  Inputted Unit is not valid; Please checked again
  396.        
  397.         Tidak Ada
  398.        
  399.         1.0.
  400.           apakah customer_balance.current_unit = body request unit?
  401.          
  402.             OK  0   Success Redemp(pass to avantrade)
  403.            
  404.             NOK 110 Inputted Unit is not valid; Please checked again
  405.        
  406.         2. Check body request untuk redeemType = 1
  407.        
  408.         apakah ada di ut_transactions.trxtype_type_id = 2/9 (select; where kyc_id_id & inv_acc_group & fund_package_ref_id & trx_status = ORD).
  409.        
  410.         Ada
  411.        
  412.         2.1  
  413.           ut_transactions.order_unit + body request.unit < customer_balance.current_unit
  414.          
  415.               OK  0  Success Redemp(pass to avantrade)
  416.          
  417.               NOK  121  Inputted Unit is not valid; Please checked again
  418.        
  419.         Tidak Ada
  420.        
  421.         2.0.
  422.           apakah customer_balance.current_unit < body request unit?
  423.          
  424.             OK  0   Success Redemp(pass to avantrade)
  425.            
  426.             NOK 120 Inputted Unit is not valid; Please checked again
  427.            
  428.         3. Check body request untuk redeemType = -1
  429.        
  430.         apakah ada di ut_transactions.trxtype_type_id = 2/9 (select; where kyc_id_id & inv_acc_group & fund_package_ref_id & trx_status = ORD).
  431.        
  432.         Ada
  433.        
  434.         3.1  
  435.           ut_transactions.order_amount + body request.amount < customer_balance.current_amount
  436.          
  437.               OK  0  Success Redemp(pass to avantrade)
  438.          
  439.               NOK  131  Inputted Amount is not valid; Please checked again
  440.        
  441.         Tidak Ada
  442.        
  443.         3.0.
  444.           apakah customer_balance.current_amount < body request amount?
  445.          
  446.             OK  0   Success Redemp(pass to avantrade)
  447.            
  448.             NOK 130 Inputted Amount is not valid; Please checked again
  449.  
  450.       parameters:
  451.         - in: query
  452.           name: token
  453.           description: pass valid token for inquiry
  454.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  455.           required: true
  456.           schema:
  457.             type: string
  458.            
  459.       responses:
  460.         '200':
  461.           description: Customer list successfully loaded
  462.           content:
  463.             application/json:
  464.               schema:
  465.                   $ref: '#/components/schemas/responseFullRedeem'
  466.         '400':
  467.           description: failed to load
  468.          
  469.       requestBody:
  470.         content:
  471.           application/json:
  472.             schema:
  473.               $ref: '#/components/schemas/paramRedeem'
  474.  
  475.   /trxApi/trxSwitching:
  476.     post:
  477.       tags:
  478.         - TRANSACTION
  479.       summary: Switching Product
  480.       operationId: switching
  481.       description: |
  482.         For redemption Trans and combined with API Avantrade with this link
  483.         /avantradeapi/services/transaction/switching.
  484.        
  485.         Mapping field :
  486.         - customerId = kyc.at_customer_id
  487.         - transactionDate = dd-MMM-yyyy
  488.         - investmentAccountId = investment_account_grouping.at_investment_account_id
  489.         - fromProductId = ut_products.at_product_id; join with fund_packages_products.ut_products_id ; join with fund_package_product_id;join with investment_accounts.fund_packages_id
  490.         - toProductId = ut_products.at_product_id; join with fund_packages_products.ut_products_id ; join with fund_package_product_id
  491.         - switchingUnit = body request.unit
  492.         - feeRate = body request.feeRate
  493.         - feeAmount = body request.feeAmount
  494.         - settlementAccountId  = settlement_accounts.at_settlement_account_id
  495.         - orderNumber = generate by middle office
  496.         - transactionNumberFrom = generate by middle office (SOxxxxxxxx)
  497.         - transactionNumberTo = generate by middle office (SIxxxxxxxx)
  498.         - origFeeRate = 0
  499.         - priceDate = calculate by middle office
  500.         - refferalcode = refferralCode from body request
  501.         - switchingType = body request.switchType (0 = All; -1 = Partial Amount; 1 = Partial Unit)
  502.         - transactionAmount = netAmount from body request
  503.         - FeeType -> hardcode -1 (in numeric / special fee)
  504.        
  505.        
  506.          Logic :
  507.        
  508.         Pre Checked : |
  509.        
  510.         sms_otp.token = body.tokenOTP (berdasarkan trx_type;customer_id; expired_date; used; token).
  511.        
  512.         Sukses = next process to checked
  513.        
  514.         Failed = INVALID token inserted
  515.        
  516.         Next Process : |
  517.        
  518.         Select top 1 * from customer_balance
  519.        
  520.         where customer_balance.inv_account_id = body request invAccId
  521.        
  522.         order by created_date desc
  523.        
  524.         Jika ada maka lanjut nextprocess 2;
  525.        
  526.         tidak ada errmsg = your investment account is invalid.
  527.        
  528.         Next Process2 : |
  529.         1. Check body request untuk switchType = 0
  530.        
  531.         apakah ada di ut_transactions.trxtype_type_id = 9/2 (select; where kyc_id_id & inv_acc_group & fund_package_ref_id & trx_status = ORD).
  532.        
  533.         Ada
  534.        
  535.         1.1  
  536.           ut_transactions.order_unit + body request.unit = customer_balance.current_unit
  537.          
  538.               OK  1  Success Switch(pass to avantrade)
  539.          
  540.               NOK  011  Inputted Unit is not valid; Please checked again
  541.        
  542.         Tidak Ada
  543.        
  544.         1.0.
  545.           apakah customer_balance.current_unit = body request unit?
  546.          
  547.             OK  1   Success Switch(pass to avantrade)
  548.            
  549.             NOK 010 Inputted Unit is not valid; Please checked again
  550.        
  551.         2. Check body request untuk switchType = 1
  552.        
  553.         apakah ada di ut_transactions.trxtype_type_id = 9/2 (select; where kyc_id_id & inv_acc_group & fund_package_ref_id & trx_status = ORD).
  554.        
  555.         Ada
  556.        
  557.         2.1  
  558.           ut_transactions.order_unit + body request.unit < customer_balance.current_unit
  559.          
  560.               OK  1  Success Redemp(pass to avantrade)
  561.          
  562.               NOK  121  Inputted Unit is not valid; Please checked again
  563.        
  564.         Tidak Ada
  565.        
  566.         2.0.
  567.           apakah customer_balance.current_unit < body request unit?
  568.          
  569.             OK  1   Success Redemp(pass to avantrade)
  570.            
  571.             NOK 120 Inputted Unit is not valid; Please checked again
  572.            
  573.         3. Check body request untuk switchType = -1
  574.        
  575.         apakah ada di ut_transactions.trxtype_type_id = 9/2 (select; where kyc_id_id & inv_acc_group & fund_package_ref_id & trx_status = ORD).
  576.        
  577.         Ada
  578.        
  579.         3.1  
  580.           ut_transactions.order_amount + body request.amount < customer_balance.current_amount
  581.          
  582.               OK  1  Success Redemp(pass to avantrade)
  583.          
  584.               NOK  131  Inputted Amount is not valid; Please checked again
  585.        
  586.         Tidak Ada
  587.        
  588.         3.0.
  589.           apakah customer_balance.current_amount < body request amount?
  590.          
  591.             OK  1   Success Redemp(pass to avantrade)
  592.            
  593.             NOK 130 Inputted Amount is not valid; Please checked again
  594.  
  595.       parameters:
  596.         - in: query
  597.           name: token
  598.           description: pass valid token for inquiry
  599.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  600.           required: true
  601.           schema:
  602.             type: string
  603.            
  604.       responses:
  605.         '200':
  606.           description: Customer list successfully loaded
  607.           content:
  608.             application/json:
  609.               schema:
  610.                   $ref: '#/components/schemas/responseSwitch'
  611.         '400':
  612.           description: failed to load
  613.          
  614.       requestBody:
  615.         content:
  616.           application/json:
  617.             schema:
  618.               $ref: '#/components/schemas/paramSwitch'
  619.              
  620.   /trxApi/getInvestmentAccount:
  621.     get:
  622.       tags:
  623.         - TRANSACTION
  624.       summary: Show Investment Account Grouping
  625.       operationId: getIAGrouping
  626.       description: |
  627.         View list of Investment Account
  628.        
  629.         Mapping :
  630.         - investmentAccountNo : investment_account_grouping.investment_account_no_ava
  631.         - investentAccountName : investment_account_grouping.investment_account_name_ava
  632.         - settlementAccountNo : settlement_accounts.settlement_account_no (join by investment_account_grouping.settlement_account_id = settlement_accounts.settlement_account_id)
  633.         - settlementAccountName : settlement_accounts.settlement_account_name (join by investment_account_grouping.settlement_account_id  = settlement_accounts.settlement_account_id)
  634.         - bankName : bank.bank_name (join by settlement_account.bank_id_id = bank.bank_id)
  635.        
  636.       parameters:
  637.         - in: query
  638.           name: token
  639.           description: pass valid token for inquiry
  640.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  641.           required: true
  642.           schema:
  643.             type: string
  644.            
  645.       responses:
  646.         '200':
  647.           description: Customer list successfully loaded
  648.           content:
  649.             application/json:
  650.               schema:
  651.                   $ref: '#/components/schemas/responseIAList'
  652.         '400':
  653.           description: failed to load
  654.  
  655.   /trxApi/getInvestmentAccountDetail:
  656.     get:
  657.       tags:
  658.         - TRANSACTION
  659.       summary: Show Investment Account Grouping
  660.       operationId: getIA
  661.       description: |
  662.         View list of Investment Account Local
  663.         investment_accounts
  664.         Mapping :
  665.         - investmentAccountDetailNo : investment_accounts.investment_account_no
  666.         - investmentAccountDetailName : investment_accounts.investment_account_name
  667.         - packageCode : fund_packages.fund_package_id (join by investment_accounts.fund_packages_id = fund_packages.fund_package_id)
  668.         - packageName : fund_packages.fund_package_name (join by investment_accounts.fund_packages_id = fund_packages.fund_package_id)
  669.         - productCode : (join by fund_package_products.fund_packages_id = fund_packages.ut_products_id ; ut_products.product_code)
  670.         - productName : (join by fund_package_products.fund_packages_id = fund_packages.ut_products_id ; ut_products.product_code)
  671.        
  672.        
  673.       parameters:
  674.         - in: query
  675.           name: token
  676.           description: pass valid token for inquiry
  677.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  678.           required: true
  679.           schema:
  680.             type: string
  681.            
  682.         - in: query
  683.           name: invacc
  684.           description: investment account grouping
  685.           example: INV140000004869
  686.           required: true
  687.           schema:
  688.             type: string
  689.            
  690.       responses:
  691.         '200':
  692.           description: Customer list successfully loaded
  693.           content:
  694.             application/json:
  695.               schema:
  696.                   $ref: '#/components/schemas/responseIAList2'
  697.         '400':
  698.           description: failed to load
  699.  
  700.   /ManualSync/updateHoliday:
  701.     get:
  702.       tags:
  703.         - MANUAL SYNC
  704.       summary: sync holiday date from ava to middle office
  705.       operationId: syncHoliday
  706.       description: |
  707.         Sync Holiday.
  708.        
  709.         API Avantrade :
  710.        
  711.         https://btndev.jatis.com/avantradeapi/services/foundation/holiday
  712.        
  713.         Mapping :
  714.         - holiday_id : by system
  715.         - created_by : by system
  716.         - created_date : by system
  717.         - holiday_date : holidayDate from response API
  718.         - holiday_description : holidayDescription from response API
  719.         - updated_by : by system
  720.         - updated_date : by system
  721.         - year_value : ambil tahun dr holidayDate from response API
  722.  
  723.        
  724.       parameters:
  725.         - in: query
  726.           name: token
  727.           description: pass valid token for inquiry
  728.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  729.           required: true
  730.           schema:
  731.             type: string
  732.            
  733.         - in: query
  734.           name: years
  735.           description: parameter for years in API, retrive from date picker
  736.           example: 2019
  737.           required: true
  738.           schema:
  739.             type: string
  740.            
  741.       responses:
  742.         '200':
  743.           description: Customer list successfully loaded
  744.           content:
  745.             application/json:
  746.               schema:
  747.                   $ref: '#/components/schemas/responseHolidaySync'
  748.         '400':
  749.           description: failed to load
  750.  
  751.  
  752.   /userAPI/getUserByRole:
  753.     get:
  754.       tags:
  755.         - Officer
  756.       summary: get all officer list
  757.       operationId: getUserByRole
  758.       description: |
  759.         By passing in the appropriate options, you can retrive all list officer based on Role
  760.           - Role SU (3) --> listing all officer (role 3, 21,11,22,12) with user_status = PEN/PEN2/PEN3/DEL
  761.           - Role App WMD (21) --> listing with role code 21, 11 with user_status = PEN/PEN2/PEN3/DEL
  762.           - Role Inpt WMD (11) --> listing with role code 3,21, 11 with user_status = VER
  763.           - Role PBM (22) --> listing with role code 22, 12 with user_status = PEN/PEN2/PEN3/DEL
  764.           - Role PBO (12) --> listing with role code 3,22, 12 with user_status = VER
  765.          
  766.         statusRequest will have value :
  767.           - NEW --> user_status = PEN
  768.           - UNLOCK --> user_status = PEN3
  769.           - LOCK --> user_status = PEN2
  770.           - DELETE --> user_status = DEL
  771.          
  772.       parameters:
  773.         - in: query
  774.           name: token
  775.           description: pass valid token for inquiry
  776.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  777.           required: true
  778.           schema:
  779.             type: string
  780.         - in: query
  781.           name: roleCode
  782.           description: role in user matrix for get list officer based on matrix.
  783.           example : 3
  784.           required: true
  785.           schema:
  786.             type: integer
  787.             format: int32
  788.             minimum: 1
  789.             maximum: 200
  790.       responses:
  791.         '200':
  792.           description: successfull to load officer list
  793.           content:
  794.             application/json:
  795.               schema:
  796.                 $ref: '#/components/schemas/responseOfficerList1'
  797.         '400':
  798.           description: failed to load
  799.          
  800.   /userAPI/getUserById:
  801.     get:
  802.       tags:
  803.         - Officer
  804.       summary: get detail officer
  805.       operationId: getUserById
  806.       description: |
  807.         By passing in the appropriate options, you can retrive all detail officer.
  808.       parameters:
  809.         - in: query
  810.           name: token
  811.           description: pass valid token for inquiry
  812.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  813.           required: true
  814.           schema:
  815.             type: string
  816.         - in: query
  817.           name: id
  818.           description: id officer to get data detail.
  819.           example : 16
  820.           required: true
  821.           schema:
  822.             type: integer
  823.             format: int32
  824.             minimum: 1
  825.             maximum: 200
  826.       responses:
  827.         '200':
  828.           description: successfull to load detail officer
  829.           content:
  830.             application/json:
  831.               schema:
  832.                 type: array
  833.                 items:
  834.                   $ref: '#/components/schemas/responseDetailOfficer1'
  835.         '400':
  836.           description: failed to load
  837.    
  838.   /userAPI/insertOfficer:
  839.     post:
  840.       tags:
  841.         - Officer
  842.       summary: create new officer
  843.       operationId: insertOfficer
  844.       description: By passing in the appropriate options, you can add new officer for pending approval
  845.       parameters:
  846.         - in: query
  847.           name: token
  848.           description: pass valid token for inquiry
  849.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  850.           required: true
  851.           schema:
  852.             type: string
  853.       requestBody:
  854.         content:
  855.           application/json:
  856.             schema:
  857.               $ref: '#/components/schemas/paramInsertOfficer'
  858.       responses:
  859.         '200':
  860.           description: Save Success
  861.           content:
  862.             application/json:
  863.               schema:
  864.                 $ref: '#/components/schemas/responseInsertOfficer'
  865.         '400':
  866.           description: bad input parameter
  867.          
  868.         '401':
  869.           description: NIP already registered
  870.    
  871.   /userAPI/updateOfficerStatus:
  872.     post:
  873.       tags:
  874.         - Officer
  875.       summary: update officer status and waiting approver
  876.       operationId: updateOfficerStatus
  877.       description: By passing in the appropriate options, you can set accountLocked from true to false or false to true with Approval.
  878.      
  879.      
  880.         change status from VER to PEN2 if from body request status = false;
  881.         change status from VER to  PEN3 if from body request status = true;
  882.        
  883.       parameters:
  884.         - in: query
  885.           name: token
  886.           description: pass valid token for inquiry
  887.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  888.           required: true
  889.           schema:
  890.             type: string
  891.       requestBody:
  892.         content:
  893.           application/json:
  894.             schema:
  895.               $ref: '#/components/schemas/paramUpdateStatusOfficer'
  896.       responses:
  897.         '200':
  898.           description: Save Success
  899.           content:
  900.             application/json:
  901.               schema:
  902.                 $ref: '#/components/schemas/responseUpdateStatusOfficer'
  903.         '400':
  904.           description: bad input parameter
  905.          
  906.         '401':
  907.           description: NIP already registered
  908.          
  909.   /userAPI/approveOfficer:
  910.     post:
  911.       tags:
  912.         - Officer
  913.       summary: approval from approver
  914.       operationId: approveOfficer
  915.       description: |
  916.         By passing in the appropriate options, you can approve with this matrix :
  917.         - SU (approve able to roleCode : 3, 12, 22, 11, 21),
  918.         - PBM (approve able to roleCode : 12, 22)
  919.         - Approver WMD (approve able to roleCode : 11, 21)
  920.       parameters:
  921.         - in: query
  922.           name: token
  923.           description: pass valid token for inquiry
  924.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  925.           required: true
  926.           schema:
  927.             type: string
  928.       requestBody:
  929.         content:
  930.           application/json:
  931.             schema:
  932.               $ref: '#/components/schemas/paramApproveOfficer'
  933.       responses:
  934.         '200':
  935.           description: Save Success
  936.           content:
  937.             application/json:
  938.               schema:
  939.                 $ref: '#/components/schemas/responseUpdateStatusOfficer'
  940.         '400':
  941.           description: bad input parameter
  942.          
  943.         '401':
  944.           description: NIP already registered
  945.  
  946.   /userAPI/approveOfficer2:
  947.     post:
  948.       tags:
  949.         - Officer
  950.       summary: approval from approver version 2
  951.       operationId: approveOfficer2
  952.       description: |
  953.         By passing in the appropriate options, you can approve / reject with this matrix :
  954.         - SU (approve able to roleCode : 3, 12, 22, 11, 21),
  955.         - PBM (approve able to roleCode : 12, 22)
  956.         - Approver WMD (approve able to roleCode : 11, 21)
  957.        
  958.          u can change approve user _status in _user with below condition :
  959.           - Check  existing user_status in DB = PEN so change status to VER (if action_app = 1) ;
  960.        
  961.           - Check  existing user_status in DB = DEL so change status to REM(if action_app = 1) ;
  962.          
  963.           - Check  existing user_status in DB = PEN so change status to REM(if action_app = 0) ;
  964.        
  965.           - Check  existing user_status in DB = DEL so change status to VER(if action_app = 0) ;
  966.          
  967.           - Check  existing user_status in DB = PEN2 so change status to VER and enabled = false (if action_app = 1) ;
  968.        
  969.           - Check  existing user_status in DB = PEN3 so change status to VER and enabled = true (if action_app = 1) ;
  970.          
  971.            - Check  existing user_status in DB = PEN2 so change status to VER (if action_app = 0) ;
  972.        
  973.           - Check  existing user_status in DB = PEN3 so change status to VER (if action_app = 0) ;
  974.          
  975.           Note for front end:
  976.           action_app (value = 1 / approve , value=0  / reject)
  977.          
  978.       parameters:
  979.         - in: query
  980.           name: token
  981.           description: pass valid token for inquiry
  982.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  983.           required: true
  984.           schema:
  985.             type: string
  986.       requestBody:
  987.         content:
  988.           application/json:
  989.             schema:
  990.               $ref: '#/components/schemas/paramApproveOfficer2'
  991.       responses:
  992.         '200':
  993.           description: Save Success
  994.           content:
  995.             application/json:
  996.               schema:
  997.                 $ref: '#/components/schemas/responseUpdateStatusOfficer'
  998.         '400':
  999.           description: bad input parameter
  1000.          
  1001.         '401':
  1002.           description: NIP already registered
  1003.  
  1004.   /userAPI/deleteOfficer:
  1005.     post:
  1006.       tags:
  1007.         - Officer
  1008.       summary: approval from approver
  1009.       operationId: rejectOfficer
  1010.       description: |
  1011.         By passing in the appropriate options, you can reject with this matrix :
  1012.         - SU (approve able to roleCode : 3, 12, 22, 11, 21),
  1013.         - PBM (approve able to roleCode : 12, 22)
  1014.         - Approver WMD (approve able to roleCode : 11, 21)
  1015.       parameters:
  1016.         - in: query
  1017.           name: token
  1018.           description: pass valid token for inquiry
  1019.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1020.           required: true
  1021.           schema:
  1022.             type: string
  1023.       requestBody:
  1024.         content:
  1025.           application/json:
  1026.             schema:
  1027.               $ref: '#/components/schemas/paramRejectOfficer'
  1028.       responses:
  1029.         '200':
  1030.           description: Save Success
  1031.           content:
  1032.             application/json:
  1033.               schema:
  1034.                 $ref: '#/components/schemas/responseUpdateStatusOfficer'
  1035.         '400':
  1036.           description: bad input parameter
  1037.          
  1038.         '401':
  1039.           description: NIP already registered
  1040.  
  1041.   /userAPI/deleteOfficer2:
  1042.     post:
  1043.       tags:
  1044.         - Officer
  1045.       summary: reqeust delete
  1046.       operationId: deleteOfficer
  1047.       description: |
  1048.         By passing in the appropriate options, you can request delete with this matrix :
  1049.         - PBO (can request delete for roleCode : 3, 12, 22)
  1050.         - Inputter WMD (can request delete for roleCode : 3, 11, 21)
  1051.        
  1052.         change user_status from VER to DEL.
  1053.        
  1054.       parameters:
  1055.         - in: query
  1056.           name: token
  1057.           description: pass valid token for inquiry
  1058.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1059.           required: true
  1060.           schema:
  1061.             type: string
  1062.       requestBody:
  1063.         content:
  1064.           application/json:
  1065.             schema:
  1066.               $ref: '#/components/schemas/paramRejectOfficer2'
  1067.       responses:
  1068.         '200':
  1069.           description: Save Success
  1070.           content:
  1071.             application/json:
  1072.               schema:
  1073.                 $ref: '#/components/schemas/responseUpdateStatusOfficer'
  1074.         '400':
  1075.           description: bad input parameter
  1076.          
  1077.         '401':
  1078.           description: NIP already registered
  1079.  
  1080.   /userAPI/resetPassword:
  1081.     post:
  1082.       tags:
  1083.         - Officer
  1084.       summary: genereta new password and sent to email
  1085.       operationId: postResetPassword
  1086.       description: Generate new password for account officer and send into email
  1087.       parameters:
  1088.         - in: query
  1089.           name: token
  1090.           description: pass valid token for inquiry
  1091.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1092.           required: true
  1093.           schema:
  1094.             type: string
  1095.       requestBody:
  1096.         content:
  1097.           application/json:
  1098.             schema:
  1099.               $ref: '#/components/schemas/paramResetPassword'
  1100.       responses:
  1101.         '200':
  1102.           description: Password reset successfully
  1103.           content:
  1104.             application/json:
  1105.               schema:
  1106.                 $ref: '#/components/schemas/responseResetPassword'
  1107.         '400':
  1108.           description: bad input parameter
  1109.          
  1110.   /utProducts/getByManager:
  1111.     get:
  1112.       tags:
  1113.         - Product-Individual
  1114.       summary: Inquiry Individual Fund
  1115.       operationId: inquiryIF
  1116.       description: |
  1117.         By passing in the appropriate options, you can retrive all Individual Fund with this rule :
  1118.         - status = PEN (for role : 3/21)
  1119.         - statusRequest = APP (for role : 11/12/22
  1120.        
  1121.        
  1122.         Note for back end : statusRequest will have value :
  1123.         - NEW ==> PEN in status ; _temp field is valid ; settle field is null
  1124.         - EDIT ==> PEN in status ; _temp field is valid ; settle field is valid
  1125.         - DEL ==> DEL in status ; _temp field is null ; settle field is valid
  1126.         - APP ==> APP in status;
  1127.       parameters:
  1128.         - name: token
  1129.           in: query
  1130.           description: pass valid token for inquiry
  1131.           required: true
  1132.           schema:
  1133.             type: string
  1134.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1135.         - name: select
  1136.           in: query
  1137.           description: select all
  1138.           required: true
  1139.           schema:
  1140.             type: string
  1141.           example: all
  1142.          
  1143.         - name: id
  1144.           in: query
  1145.           description: id user role from login
  1146.           required: true
  1147.           schema:
  1148.             type: integer
  1149.           example: 3
  1150.          
  1151.       responses:
  1152.         '200':
  1153.           description: successful operation
  1154.           content:
  1155.             application/json:
  1156.              schema:
  1157.               $ref: '#/components/schemas/responseIndividualFund'
  1158.              
  1159.   /utProducts/getById/{product_id}:
  1160.     get:
  1161.       tags:
  1162.         - Product-Individual
  1163.       summary: Detail Individual Fund (* from invisee)
  1164.       operationId: DetailIF
  1165.       parameters:
  1166.         - name: token
  1167.           in: query
  1168.           description: pass valid token for inquiry
  1169.           required: true
  1170.           schema:
  1171.             type: string
  1172.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1173.         - name: product_id
  1174.           in: path
  1175.           description: product_id in table ut_product
  1176.           required: true
  1177.           schema:
  1178.             type: string
  1179.           example: 123
  1180.  
  1181.       responses:
  1182.         '200':
  1183.           description: successful operation
  1184.           content:
  1185.             application/json:
  1186.              schema:
  1187.               $ref: '#/components/schemas/responseDetailIndividualFund'
  1188.              
  1189.      
  1190.   /utProducts/updateFileProduct:
  1191.     post:
  1192.       tags:
  1193.         - Product-Individual
  1194.       summary: update file product for FFS / Prospectus
  1195.       operationId: update FFS / PPS
  1196.       description: |
  1197.         upload file prospectus / fund factsheet for individual Fun.
  1198.         u can change status ut_Product to PEN/DEL
  1199.  
  1200.         action value ==> 0: for delete; 1: for edit
  1201.  
  1202.         Front end use this APi for :
  1203.  
  1204.         - update file Prospectus / FundFactSheet
  1205.         - button delete in Prospectus / FundFactSheet
  1206.        
  1207.         If success so change status in table ut_products to PEN with if action =1 or status to DEL if action = 0.
  1208.        
  1209.        
  1210.       parameters:
  1211.         - name: token
  1212.           in: query
  1213.           description: pass valid token for inquiry
  1214.           required: true
  1215.           schema:
  1216.             type: string
  1217.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1218.       responses:
  1219.         '200':
  1220.           description: successful operation
  1221.           content:
  1222.             application/json:
  1223.               schema:
  1224.                 $ref: '#/components/schemas/responseGeneral'
  1225.       requestBody:
  1226.         content:
  1227.           application/json:
  1228.             schema:
  1229.               $ref: '#/components/schemas/paramUpdateFileIndividual'
  1230.  
  1231.   /utProducts/approveProduct2:
  1232.     post:
  1233.       tags:
  1234.         - Product-Individual
  1235.       summary: Approve File Individual Fund
  1236.       operationId: approveFileIF
  1237.       description: |
  1238.          u can change approve ut_product with below condition :
  1239.           - Check  existing status_app in DB = PEN so change status to APP (if action_app = 1)  ;  copy value from _temp field (if exist)  to settle field (without_temp)  or keep value in settle field (without temp); delete value in _temp
  1240.        
  1241.           - Check  existing status in DB = PEN so change status to APP; delete value in _temp field (if action_app = 0)  ;
  1242.        
  1243.           - Check  existing status in DB = DEL so change status to APP;copy value from _temp field (if exist)  to settle field (without_temp)  or keep value in settle field (without temp); (if action_app = 1)  ;
  1244.        
  1245.           - Check  existing status in DB = DEL so change status to APP; delete value in _temp field (if action_app = 0)  ;
  1246.        
  1247.           Note for front end:
  1248.           action_app (value = 1 / approve , value=0  / reject)
  1249.        
  1250.       parameters:
  1251.         - name: token
  1252.           in: query
  1253.           description: pass valid token for inquiry
  1254.           required: true
  1255.           schema:
  1256.             type: string
  1257.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1258.          
  1259.       responses:
  1260.         '200':
  1261.           description: successful operation
  1262.           content:
  1263.             application/json:
  1264.               schema:
  1265.                 $ref: '#/components/schemas/responseGeneral'
  1266.       requestBody:
  1267.         content:
  1268.           application/json:
  1269.             schema:
  1270.               $ref: '#/components/schemas/paramAppIF'
  1271.              
  1272.   /fundPackages/getFundPackages:
  1273.     post:
  1274.       tags:
  1275.         - Product-FundPackages
  1276.       summary: Inquiry Fund Packages
  1277.       operationId: inquiryFP
  1278.       description: |
  1279.         By passing in the appropriate options, you can retrive all  Fund Packages with this rule :
  1280.         - status = PEN (for role : 3/21)
  1281.         - statusRequest = APP (for role : 11/12/22)
  1282.        
  1283.        
  1284.         Note for back end : statusRequest will have value :
  1285.         - NEW ==> PEN in fund_package_status on table fund_packages_temp with id in table id_ref in fund_packages_temp not exist on fund_package_id on table fund_packages
  1286.         - EDIT ==> PEN in fund_package_status ; retrive from table fund_packages_temp with id in table fund_packages = id_ref in fund_packages_temp
  1287.         - DEL ==> DEL in fund_package_status ; retrive from table fund_packages_temp with id in table fund_packages = id_ref in fund_packages_temp
  1288.         - APP ==> APP in fund_packages_status on table fund_packages;
  1289.        
  1290.       parameters:
  1291.         - name: token
  1292.           in: query
  1293.           description: pass valid token for inquiry
  1294.           required: true
  1295.           schema:
  1296.             type: string
  1297.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1298.        
  1299.       responses:
  1300.         '200':
  1301.           description: successful operation
  1302.           content:
  1303.             application/json:
  1304.               schema:
  1305.                 $ref: '#/components/schemas/responseGeneral'
  1306.          
  1307.   /fundPackages/saveAll:
  1308.     post:
  1309.       tags:
  1310.         - Product-FundPackages
  1311.       summary: create Fund Packages
  1312.       operationId: createFP
  1313.       description: |
  1314.         insert into table fund_packages_temp
  1315.          RoleCode that can using this API, roleCode = 11
  1316.          
  1317.          Adding logic on 20190520 :
  1318.          
  1319.          insert into new field (product_type) = lookup_line.category_id (join ut_products.product_type = lookup_line.category_id ; ut_products.id = bodyRequest.)
  1320.        
  1321.       parameters:
  1322.         - name: token
  1323.           in: query
  1324.           description: pass valid token for inquiry
  1325.           required: true
  1326.           schema:
  1327.             type: string
  1328.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1329.       responses:
  1330.         '200':
  1331.           description: successful operation
  1332.           content:
  1333.             application/json:
  1334.               schema:
  1335.                 $ref: '#/components/schemas/responseCreateFP'
  1336.       requestBody:
  1337.         content:
  1338.           application/json:
  1339.             schema:
  1340.               $ref: '#/components/schemas/paramCreateFPProduct'
  1341.  
  1342.   /fundPackages/approve2:
  1343.     post:
  1344.       tags:
  1345.         - Product-FundPackages
  1346.       summary: Approve Fund Packages
  1347.       operationId: approveFPProduct
  1348.       description: |
  1349.          u can change approve Fund Package with below condition :
  1350.          If statusRequest = NEW and action_app = 1:
  1351.           - set fund_packages_status to APP on table fund_packages_temp
  1352.           - copy from table fund_packages_temp to fund_packages
  1353.          
  1354.          If statusRequest = NEW and action_app = 0:
  1355.           - set fund_packages_status to REM on table fund_packages_temp
  1356.          
  1357.          If statusRequest = EDIT and action_app = 1:
  1358.           - set fund_packages_status to APP on table fund_packages_temp
  1359.           - copy from table fund_packages_temp to fund_packages
  1360.           - delete
  1361.          
  1362.          If statusRequest = EDIT and action_app = 0:
  1363.           - set fund_packages_status to APP on table fund_packages
  1364.          
  1365.          
  1366.          If statusRequest = DEL and action_app = 1:
  1367.           - set fund_packages_status to REM on table fund_packages_temp
  1368.           - delete from fund_packages
  1369.          
  1370.          If statusRequest = DEL and action_app = 0:
  1371.           - set fund_packages_status to APP on table fund_packages
  1372.          
  1373.           Note for front end:
  1374.           action_app (value = 1 / approve , value=0  / reject)
  1375.        
  1376.       parameters:
  1377.         - name: token
  1378.           in: query
  1379.           description: pass valid token for inquiry
  1380.           required: true
  1381.           schema:
  1382.             type: string
  1383.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1384.       responses:
  1385.         '200':
  1386.           description: successful operation
  1387.           content:
  1388.             application/json:
  1389.               schema:
  1390.                 $ref: '#/components/schemas/responseGeneral'
  1391.       requestBody:
  1392.         content:
  1393.           application/json:
  1394.             schema:
  1395.               $ref: '#/components/schemas/paramAppFP'  
  1396.              
  1397.   /fundPackages/updateAndDelete:
  1398.     post:
  1399.       tags:
  1400.         - Product-FundPackages
  1401.       summary: Update and delete fund packages
  1402.       operationId: updateFPProduct
  1403.       description: |
  1404.          action value ==> 0: for delete; 1: for edit.
  1405.          
  1406.          If action = 1 action with below action :
  1407.          
  1408.           - change fund_packages_status in table fund_packages to PEN and update value from parameter
  1409.           - insert into table fund_packages_temp
  1410.        
  1411.          If action = 0 action with below action :
  1412.          
  1413.           - change fund_packages_status in table fund_packages to DEL
  1414.           - copy value into table fund_packages_temp
  1415.  
  1416.        
  1417.       parameters:
  1418.         - name: token
  1419.           in: query
  1420.           description: pass valid token for inquiry
  1421.           required: true
  1422.           schema:
  1423.             type: string
  1424.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1425.          
  1426.       responses:
  1427.         '200':
  1428.           description: successful operation
  1429.           content:
  1430.             application/json:
  1431.               schema:
  1432.                 $ref: '#/components/schemas/responseGeneral'
  1433.       requestBody:
  1434.         content:
  1435.           application/json:
  1436.             schema:
  1437.               $ref: '#/components/schemas/paramEditFPProduct'
  1438.              
  1439.   /fundPackageFeeSetup/getPackageFeeByTypeAndId:
  1440.     get:
  1441.       tags:
  1442.         - Product-FundPackages
  1443.       summary: Inquiry Fee FundPackage
  1444.       operationId: inquiryFeeFP
  1445.       description: |
  1446.         By passing in the appropriate options, you can retrive all fee in fund
  1447.         - status = PEN (for role : 3/21)
  1448.         - statusRequest = APP (for role : 11/12/22
  1449.        
  1450.        
  1451.         Note for back end : statusRequest will have value :
  1452.         - NEW ==> PEN in status ; _temp field is valid ; settle field is null
  1453.         - EDIT ==> PEN in status ; _temp field is valid ; settle field is valid
  1454.         - DEL ==> DEL in status ; _temp field is null ; settle field is valid
  1455.         - APP ==> APP in status;
  1456.        
  1457.         For feeOld array will be valued from fund_package_fee_setup_temp with join field 'id_ref'. if there isn't match so return bracket array with 0.
  1458.        
  1459.        
  1460.      parameters:
  1461.        - name: token
  1462.          in: query
  1463.          description: pass valid token for inquiry
  1464.          required: true
  1465.          schema:
  1466.            type: string
  1467.          example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1468.        - name: type
  1469.          in: query
  1470.          description: ut_transaction_type
  1471.          required: true
  1472.          schema:
  1473.            type: string
  1474.          example: 2
  1475.          
  1476.        - name: fp
  1477.          in: query
  1478.          description: id user role from login
  1479.          required: true
  1480.          schema:
  1481.            type: integer
  1482.          example: 10
  1483.          
  1484.      responses:
  1485.        '200':
  1486.          description: successful operation
  1487.          content:
  1488.            application/json:
  1489.             schema:
  1490.              $ref: '#/components/schemas/responseFeeFP'
  1491.              
  1492.   /fundPackages/getProductCategory:
  1493.     get:
  1494.       tags:
  1495.         - Product-FundPackages
  1496.       summary: Inquiry Product
  1497.       operationId: inquiryProductType
  1498.       description: |
  1499.         By passing in the appropriate options, you can retrive all fee in category product from linkfrom ut_products.product_type (distinct)
  1500.        
  1501.       parameters:
  1502.         - name: token
  1503.           in: query
  1504.           description: pass valid token for inquiry
  1505.           required: true
  1506.           schema:
  1507.             type: string
  1508.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1509.          
  1510.       responses:
  1511.         '200':
  1512.           description: successful operation
  1513.           content:
  1514.             application/json:
  1515.              schema:
  1516.               $ref: '#/components/schemas/responseProductCategory'
  1517.  
  1518.   /attachFile/upload:
  1519.     post:
  1520.       tags:
  1521.         - Content
  1522.       summary: uploads an a file or an image
  1523.       operationId: uploadFile
  1524.       parameters:
  1525.         - name: token
  1526.           in: query
  1527.           description: pass valid token for inquiry
  1528.           required: true
  1529.           schema:
  1530.             type: string
  1531.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1532.       responses:
  1533.         '200':
  1534.           description: successful operation
  1535.           content:
  1536.             application/json:
  1537.               schema:
  1538.                 $ref: '#/components/schemas/responseUploadFIle'
  1539.       requestBody:
  1540.         content:
  1541.           application/json:
  1542.             schema:
  1543.               $ref: '#/components/schemas/paramUploadFile'
  1544.           application/octet-stream:
  1545.             schema:
  1546.               type: string
  1547.               format: binary
  1548.  
  1549.   /DPS/getDPSList:
  1550.     get:
  1551.       tags:
  1552.         - Content
  1553.       summary: inquiry Daily Product Summary
  1554.       operationId: inquiryDPS
  1555.       description: |
  1556.         create new table with Name DPS :
  1557.         - dps_id
  1558.         - created_by
  1559.         - created_date
  1560.         - updated_by
  1561.         - updated_date
  1562.         - image
  1563.         - image_temp
  1564.         - fileName
  1565.         - fileName_temp
  1566.         - effective_start
  1567.         - effective_end
  1568.         - status_app in table faq, with value APP/PEN
  1569.        
  1570.         By passing in the appropriate options, you can retrive all DPS with this rule :
  1571.         - status PEN (for role : 3/21)
  1572.         - status APP (for role : 11)
  1573.         - no view for role 22/12
  1574.        
  1575.         Note for front end : if response from API for field effective_end < date(today) so for Status in table = Inactive
  1576.        
  1577.         if response from API for field statusRequest  NEW/EDIT, please using field  _temp for value in table inquiry
  1578.         if response from API for field Status Request  APP/DEL, please using field to without _temp in table inquiry
  1579.        
  1580.         Note for back end : statusRequest will have value :
  1581.         - NEW ==> PEN in status_app ; _temp field is valid ; settle field is null
  1582.         - EDIT ==> PEN in status_app ; _temp field is valid ; settle field is valid
  1583.         - DEL ==> DEL in status_app ; _temp field is null ; settle field is valid
  1584.         - APP ==> APP in status_app and date = date+0 or date+1;
  1585.         - INACTIVE ==> APP in status_app and date < now;
  1586.  
  1587.       parameters:
  1588.         - name: token
  1589.           in: query
  1590.           description: pass valid token for inquiry
  1591.           required: true
  1592.           schema:
  1593.             type: string
  1594.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1595.        
  1596.       responses:
  1597.         '200':
  1598.           description: successful operation
  1599.           content:
  1600.             application/json:
  1601.               schema:
  1602.                 $ref: '#/components/schemas/responseDPSList'
  1603.  
  1604.   /DPS/createDPS:
  1605.     post:
  1606.       tags:
  1607.         - Content
  1608.       summary: create DPS
  1609.       operationId: createDPS
  1610.       description: |
  1611.         This option should be running on role code 11;
  1612.        
  1613.         for date :
  1614.         - start date = (UploadDate+1)_00:00:000
  1615.         - end date = (UploadDate+1)_23:59:000
  1616.        
  1617.         insert into table DPS for field :
  1618.         - image_temp
  1619.         - fileName_temp
  1620.         - effective_start
  1621.         - effective_end
  1622.  
  1623.       parameters:
  1624.         - name: token
  1625.           in: query
  1626.           description: pass valid token for inquiry
  1627.           required: true
  1628.           schema:
  1629.             type: string
  1630.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1631.       responses:
  1632.         '200':
  1633.           description: successful operation
  1634.           content:
  1635.             application/json:
  1636.               schema:
  1637.                 $ref: '#/components/schemas/responseCreateDPS'
  1638.       requestBody:
  1639.         content:
  1640.           application/json:
  1641.             schema:
  1642.               $ref: '#/components/schemas/paramCreateDPS'
  1643.              
  1644.              
  1645.   /DPS/approveDPS:
  1646.     post:
  1647.       tags:
  1648.         - Content
  1649.       summary: approve DPS
  1650.       operationId: approveDPS
  1651.       description: |
  1652.         u can change approve DPS with below condition :
  1653.         - Check  existing status_app in DB = PEN so change status_app to APP (if action_app = 1)  ;  copy value from _temp field (image_temp, fileName_temp) to settle field (without_temp) ; delete value in _temp
  1654.        
  1655.         - Check  existing status_app in DB = PEN so change status_app to REM (if action_app = 0)  ;
  1656.        
  1657.         - Check  existing status_app in DB = DEL so change status_app to REM (if action_app = 1)  ;
  1658.        
  1659.         - Check  existing status_app in DB = DEL so change status_app to APP (if action_app = 0)  ;
  1660.        
  1661.         Note for front end:
  1662.         action_app (value = 1 / approve , value=0  / reject)
  1663.        
  1664.       parameters:
  1665.         - name: token
  1666.           in: query
  1667.           description: pass valid token for inquiry
  1668.           required: true
  1669.           schema:
  1670.             type: string
  1671.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1672.       responses:
  1673.         '200':
  1674.           description: successful operation
  1675.           content:
  1676.             application/json:
  1677.               schema:
  1678.                 $ref: '#/components/schemas/responseGeneral'
  1679.       requestBody:
  1680.         content:
  1681.           application/json:
  1682.             schema:
  1683.               $ref: '#/components/schemas/paramAppFAQ'
  1684.              
  1685.   /DPS/updateDPS:
  1686.     post:
  1687.       tags:
  1688.         - Content
  1689.       summary: edit DPS
  1690.       operationId: editDPS
  1691.       description: |
  1692.         u can change edit DPS with flaging in dps_status_app to PEN/DEL
  1693.        
  1694.         and if EDIT so new value in _temp field
  1695.         and if DEL just change falg value for dps_status_app.
  1696.        
  1697.         action value ==> 0: for delete; 1: for edit
  1698.        
  1699.         Front end use this APi for :
  1700.         - edit DPS site
  1701.         - button delete in inuqiry site
  1702.        
  1703.       parameters:
  1704.         - name: token
  1705.           in: query
  1706.           description: pass valid token for inquiry
  1707.           required: true
  1708.           schema:
  1709.             type: string
  1710.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1711.          
  1712.       responses:
  1713.         '200':
  1714.           description: successful operation
  1715.           content:
  1716.             application/json:
  1717.               schema:
  1718.                 $ref: '#/components/schemas/responseGeneral'
  1719.       requestBody:
  1720.         content:
  1721.           application/json:
  1722.             schema:
  1723.               $ref: '#/components/schemas/paramUpdateDPS'
  1724.  
  1725.   /FAQ/getAllFAQOfficer:
  1726.     get:
  1727.       tags:
  1728.         - Content
  1729.       summary: inquiry FAQ
  1730.       operationId: inquiryFAQ
  1731.       description: |
  1732.         adding field in table FAQ :
  1733.         - question_temp
  1734.         - faq_status_temp
  1735.         - answer_temp
  1736.         - status_app in table faq, with value APP/PEN/DEL/REM
  1737.        
  1738.         By passing in the appropriate options, you can retrive all FAQ with this rule :
  1739.         - status_app PEN/DEL (for role : 3/21)
  1740.         - status_app (for role : 11)
  1741.         - no view for role 22/12
  1742.        
  1743.         Note for front end :
  1744.        
  1745.         if response from API for field statusRequest  NEW/EDIT, please using field to _temp (question_temp, faq_status_temp, answer_temp) for value in table inquiry
  1746.         if response from API for field Status Request  APP/DEL, please using field to without _temp in table inquiry
  1747.        
  1748.         Note for back end : statusRequest will have value :
  1749.         - NEW ==> PEN in status_app ; _temp field is valid ; settle field is null
  1750.         - EDIT ==> PEN in status_app ; _temp field is valid ; settle field is valid
  1751.         - DEL ==> DEL in status_app ; _temp field is null ; settle field is valid
  1752.         - APP ==> APP in status_app;
  1753.  
  1754.       parameters:
  1755.         - name: token
  1756.           in: query
  1757.           description: pass valid token for inquiry
  1758.           required: true
  1759.           schema:
  1760.             type: string
  1761.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1762.        
  1763.       responses:
  1764.         '200':
  1765.           description: successful operation
  1766.           content:
  1767.             application/json:
  1768.               schema:
  1769.                 $ref: '#/components/schemas/responseFAQList'
  1770.    
  1771.   /FAQ/getByIdFAQ:
  1772.     get:
  1773.       tags:
  1774.         - Content
  1775.       summary: detail FAQ
  1776.       operationId: detailFAQ
  1777.       description: |
  1778.         By passing in the appropriate options, you can retrive detail  FAQ by ID
  1779.      
  1780.         Note for front end :
  1781.        
  1782.         - if response from API for field statusRequest  = NEW, please using field _temp (questionTemp, faqStatusTemp, answerTemp) for value on field UI without Old
  1783.        
  1784.         - if response from API for field statusRequest =  EDIT/DEL, please using field _temp (questionTemp, faqStatusTemp, answerTemp) for value on field UI with Old and using field without _temp (question, faqStatus, answer) for value on field UI without Old
  1785.        
  1786.         - if response from API for field statusRequest  = APP, please using field without _temp (question, faqStatus, answer) for value on field UI without Old
  1787.        
  1788.       parameters:
  1789.         - name: token
  1790.           in: query
  1791.           description: pass valid token for inquiry
  1792.           required: true
  1793.           schema:
  1794.             type: string
  1795.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1796.        
  1797.         - name: id
  1798.           in: query
  1799.           description: id faq
  1800.           required: true
  1801.           schema:
  1802.             type: integer
  1803.             format: int32
  1804.           example: 17
  1805.        
  1806.       responses:
  1807.         '200':
  1808.           description: successful operation
  1809.           content:
  1810.             application/json:
  1811.               schema:
  1812.                 $ref: '#/components/schemas/responseFAQDetail'
  1813.    
  1814.   /FAQ/addNewFAQ:
  1815.     post:
  1816.       tags:
  1817.         - Content
  1818.       summary: create FAQ
  1819.       operationId: createFAQ
  1820.       description: |
  1821.         insert into table faq for field :
  1822.         - question_temp
  1823.         - answer_temp
  1824.         - faq_status_temp
  1825.         - status_app = PEN
  1826.        
  1827.          By passing in the appropriate options, yout can change request for new FAQ with flaging in faq_status_app to PEN, question_temp, answer_temp, faq_status_temp
  1828.          
  1829.          
  1830.          RoleCode that can using this API, roleCode = 11
  1831.        
  1832.       parameters:
  1833.         - name: token
  1834.           in: query
  1835.           description: pass valid token for inquiry
  1836.           required: true
  1837.           schema:
  1838.             type: string
  1839.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1840.       responses:
  1841.         '200':
  1842.           description: successful operation
  1843.           content:
  1844.             application/json:
  1845.               schema:
  1846.                 $ref: '#/components/schemas/responseCreateFAQ'
  1847.       requestBody:
  1848.         content:
  1849.           application/json:
  1850.             schema:
  1851.               $ref: '#/components/schemas/paramCreateFAQ'
  1852.    
  1853.   /FAQ/updateFAQ:
  1854.     post:
  1855.       tags:
  1856.         - Content
  1857.       summary: edit FAQ
  1858.       operationId: editFAQ
  1859.       description: |
  1860.         u can change edit FAQ with flaging in faq_status_app to PEN/DEL
  1861.        
  1862.         and if EDIT so new value in _temp field (question_temp, faq_status_temp, answer_temp)
  1863.         and if DEL just change falg value for faq_status_app.
  1864.        
  1865.         action value ==> 0: for delete; 1: for edit
  1866.        
  1867.         Front end use this APi for :
  1868.         - edit FAQ site
  1869.         - button delete in inuqiry site
  1870.        
  1871.       parameters:
  1872.         - name: token
  1873.           in: query
  1874.           description: pass valid token for inquiry
  1875.           required: true
  1876.           schema:
  1877.             type: string
  1878.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1879.        
  1880.         - name: id
  1881.           in: query
  1882.           description: id faq
  1883.           required: true
  1884.           schema:
  1885.             type: integer
  1886.             format: int32
  1887.           example: 17
  1888.       responses:
  1889.         '200':
  1890.           description: successful operation
  1891.           content:
  1892.             application/json:
  1893.               schema:
  1894.                 $ref: '#/components/schemas/responseCreateFAQ'
  1895.       requestBody:
  1896.         content:
  1897.           application/json:
  1898.             schema:
  1899.               $ref: '#/components/schemas/paramUpdateFAQ'
  1900.  
  1901.   /FAQ/approveFAQ:
  1902.     post:
  1903.       tags:
  1904.         - Content
  1905.       summary: approve FAQ
  1906.       operationId: approveFAQ
  1907.       description: |
  1908.         u can change approve FAQ with below condition :
  1909.         - Check  existing status_app in DB = PEN so change status_app to APP (if action_app = 1)  ;  copy value from _temp field (question_temp, faq_status_temp, answer_temp) to settle field (without_temp) ; delete value in _temp
  1910.        
  1911.         - Check  existing status_app in DB = PEN & field settle is null so change status_app to REM (if action_app = 0)  ;
  1912.        
  1913.         - Check  existing status_app in DB = PEN & field settle is not null so change status_app to APP (if action_app = 0)  ;
  1914.        
  1915.         - Check  existing status_app in DB = DEL so change status_app to REM (if action_app = 1)  ;
  1916.        
  1917.         - Check  existing status_app in DB = DEL so change status_app to APP (if action_app = 0)  ;
  1918.        
  1919.         Note for front end:
  1920.         action_app (value = 1 / approve , value=0  / reject)
  1921.        
  1922.       parameters:
  1923.         - name: token
  1924.           in: query
  1925.           description: pass valid token for inquiry
  1926.           required: true
  1927.           schema:
  1928.             type: string
  1929.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1930.       responses:
  1931.         '200':
  1932.           description: successful operation
  1933.           content:
  1934.             application/json:
  1935.               schema:
  1936.                 $ref: '#/components/schemas/responseCreateFAQ'
  1937.       requestBody:
  1938.         content:
  1939.           application/json:
  1940.             schema:
  1941.               $ref: '#/components/schemas/paramAppFAQ'
  1942.  
  1943.  
  1944.   /news/list:
  1945.     get:
  1946.       tags:
  1947.         - Content
  1948.       summary: inquiry Article
  1949.       operationId: inquiryArticle
  1950.       description: |
  1951.         adding field in table news :
  1952.  
  1953.         - image_location_temp
  1954.         - news_content_temp
  1955.         - news_title_temp
  1956.         - publish_status_temp
  1957.         - news_status_app, with value APP/PEN/DEL/REM
  1958.        
  1959.        
  1960.         By passing in the appropriate options, you can retrive all Article with this rule :
  1961.         - status_app PEN/DEL (for role : 3/21)
  1962.         - status_app (for role : 11)
  1963.         - no view for role 22/12
  1964.  
  1965.         Note for front end :
  1966.         if response from API statusRequest NEW/EDIT, please using field to _temp (news_title_temp, news_content_temp, publish_status_temp) for value in table inquiry if response from API for field Status Request
  1967.        
  1968.         Note for back end : statusRequest will have value :
  1969.  
  1970.         - NEW ==> PEN in status_app ; _temp field is valid ; settle field is null
  1971.         - EDIT ==> PEN in status_app ; _temp field is valid ; settle field is valid
  1972.         - DEL ==> DEL in status_app ; _temp field is null ; settle field is valid
  1973.         - APP ==> APP in status_app;
  1974.        
  1975.       parameters:
  1976.         - name: token
  1977.           in: query
  1978.           description: pass valid token for inquiry
  1979.           required: true
  1980.           schema:
  1981.             type: string
  1982.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  1983.       responses:
  1984.         '200':
  1985.           description: successful operation
  1986.           content:
  1987.             application/json:
  1988.               schema:
  1989.                 $ref: '#/components/schemas/responseArticleList'
  1990.   /news/getById:
  1991.     get:
  1992.       tags:
  1993.         - Content
  1994.       summary: detail Article
  1995.       operationId: detailArticle
  1996.       description: |
  1997.         By passing in the appropriate options, you can retrive detail  Article by ID
  1998.      
  1999.         Note for front end :
  2000.        
  2001.         - if response from API for field statusRequest  = NEW, please using field _temp (questionTemp, faqStatusTemp, answerTemp) for value on field UI without Old
  2002.        
  2003.         - if response from API for field statusRequest =  EDIT/DEL, please using field _temp (questionTemp, faqStatusTemp, answerTemp) for value on field UI with Old and using field without _temp (question, faqStatus, answer) for value on field UI without Old
  2004.        
  2005.         - if response from API for field statusRequest  = APP, please using field without _temp (question, faqStatus, answer) for value on field UI without Old
  2006.        
  2007.       parameters:
  2008.         - name: token
  2009.           in: query
  2010.           description: pass valid token for inquiry
  2011.           required: true
  2012.           schema:
  2013.             type: string
  2014.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  2015.        
  2016.         - name: id
  2017.           in: query
  2018.           description: id faq
  2019.           required: true
  2020.           schema:
  2021.             type: integer
  2022.             format: int32
  2023.           example: 17
  2024.            
  2025.       responses:
  2026.         '200':
  2027.           description: successful operation
  2028.           content:
  2029.             application/json:
  2030.               schema:
  2031.                 $ref: '#/components/schemas/responseNewsDetail'
  2032.  
  2033.   /news/save:
  2034.     post:
  2035.       tags:
  2036.         - Content
  2037.       summary: create Article
  2038.       operationId: createArticle
  2039.       description: |
  2040.         By passing in the appropriate options, yout can change request for new article with flaging in news_status_app to PEN
  2041.          RoleCode that can using this API, roleCode = 11
  2042.          
  2043.          insert into table news for field :
  2044.         - image_location_temp
  2045.         - news_content_temp
  2046.         - news_title_temp
  2047.         - publish_status_temp
  2048.         - news_status_app, with value PEN
  2049.          
  2050.       parameters:
  2051.         - name: token
  2052.           in: query
  2053.           description: pass valid token for inquiry
  2054.           required: true
  2055.           schema:
  2056.             type: string
  2057.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  2058.       responses:
  2059.         '200':
  2060.           description: successful operation
  2061.           content:
  2062.             application/json:
  2063.               schema:
  2064.                 $ref: '#/components/schemas/responseGeneral'
  2065.       requestBody:
  2066.         content:
  2067.           application/json:
  2068.             schema:
  2069.               $ref: '#/components/schemas/paramCreateArticle'
  2070.  
  2071.   /news/update:
  2072.     post:
  2073.       tags:
  2074.         - Content
  2075.       summary: edit Article
  2076.       operationId: editArticle
  2077.       description: |
  2078.         u can change edit Artilce with flaging in news_status_app to PEN/DEL
  2079.        
  2080.         and new value in _temp field (image_location_temp,news_content_temp, news_title_temp, publish_status_temp)
  2081.        
  2082.         action value ==> 0: for delete; 1: for edit
  2083.        
  2084.         Front end use this APi for :
  2085.  
  2086.         - edit FAQ site
  2087.         - button delete in inuqiry site
  2088.        
  2089.       parameters:
  2090.         - name: token
  2091.           in: query
  2092.           description: pass valid token for inquiry
  2093.           required: true
  2094.           schema:
  2095.             type: string
  2096.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  2097.       responses:
  2098.         '200':
  2099.           description: successful operation
  2100.           content:
  2101.             application/json:
  2102.               schema:
  2103.                 $ref: '#/components/schemas/responseGeneral'
  2104.       requestBody:
  2105.         content:
  2106.           application/json:
  2107.             schema:
  2108.               $ref: '#/components/schemas/paramUpdateArticle'
  2109.    
  2110.   /news/approveNews:
  2111.     post:
  2112.       tags:
  2113.         - Content
  2114.       summary: approve Article
  2115.       operationId: approveArticle
  2116.       description: |
  2117.         u can change approve news with below condition :
  2118.  
  2119.         - Check existing status_app in DB = PEN so change status_app to APP (if action_app = 1) ; copy value from _temp field (image_location_temp, news_content_temp, news_title_temp, publish_status_temp) to settle field (without_temp) ; delete value in _temp
  2120.  
  2121.         - Check existing status_app in DB = PEN & field settle is null so change status_app to REM (if action_app = 0) ;
  2122.  
  2123.         - Check existing status_app in DB = PEN & field settle is not null so change status_app to APP (if action_app = 0) ;
  2124.  
  2125.         - Check existing status_app in DB = DEL so change status_app to REM (if action_app = 1) ;
  2126.  
  2127.         - Check existing status_app in DB = DEL so change status_app to APP (if action_app = 0) ;
  2128.  
  2129.         Note for front end: action_app (value = 1 / approve , value=0 / reject)
  2130.        
  2131.       parameters:
  2132.         - name: token
  2133.           in: query
  2134.           description: pass valid token for inquiry
  2135.           required: true
  2136.           schema:
  2137.             type: string
  2138.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  2139.       responses:
  2140.         '200':
  2141.           description: successful operation
  2142.           content:
  2143.             application/json:
  2144.               schema:
  2145.                 $ref: '#/components/schemas/responseGeneral'
  2146.       requestBody:
  2147.         content:
  2148.           application/json:
  2149.             schema:
  2150.               $ref: '#/components/schemas/paramAppArticle'
  2151.      
  2152.   /promo/administration_list:
  2153.     post:
  2154.       tags:
  2155.         - Content
  2156.       summary: inquiry Promo
  2157.       operationId: inquiryPromo
  2158.       description: |
  2159.         adding field in table promo :
  2160.           - code_temp
  2161.           - effective_status_temp
  2162.           - title_temp
  2163.           - image_temp
  2164.           - image_android_temp
  2165.           - effective_start_temp
  2166.           - effective_end_temp
  2167.           - quota_temp
  2168.           - intro_text_temp
  2169.           - promo_status_app, with value APP/PEN/DEL/REM
  2170.          
  2171.           By passing in the appropriate options, you can retrive all promo with this rule :
  2172.  
  2173.           - status_app PEN/DEL (for role : 3/21)
  2174.           - status_app (for role : 11)
  2175.           - no view for role 22/12
  2176.  
  2177.         Note for front end :
  2178.  
  2179.         if response from API for field statusRequest NEW/EDIT, please using field to _temp (codeTemp,  effectiveStatusTemp, titleTemp, imageTemp, imageAndroidTemp, effectiveStartTemp, effectiveEndTemp, quotaTemp, introTextTemp) for value in table inquiry if response from API for field Status Request APP/DEL, please using field to without _temp in table inquiry
  2180.        
  2181.          Note for back end : statusRequest will have value :
  2182.  
  2183.           NEW ==> PEN in status_app ; _temp field is valid ; settle field is null
  2184.           EDIT ==> PEN in status_app ; _temp field is valid ; settle field is valid
  2185.           DEL ==> DEL in status_app ; _temp field is null ; settle field is valid
  2186.           APP ==> APP in status_app;
  2187.  
  2188.  
  2189.       responses:
  2190.         '200':
  2191.           description: successful operation
  2192.           content:
  2193.             application/json:
  2194.               schema:
  2195.                 $ref: '#/components/schemas/responsePromoList'
  2196.                
  2197.       requestBody:
  2198.         content:
  2199.           application/json:
  2200.             schema:
  2201.               $ref: '#/components/schemas/paramPromoList'
  2202.              
  2203.   /promo/administration_detail:
  2204.     post:
  2205.       tags:
  2206.         - Content
  2207.       summary: detail Promo
  2208.       operationId: detailPromo
  2209.       description: |
  2210.         By passing in the appropriate options, you can retrive detail  Promo by ID
  2211.      
  2212.         Note for front end :
  2213.        
  2214.         - if response from API for field statusRequest  = NEW, please using field _temp (codeTemp, effectiveStatusTemp, titleTemp, imageTemp, imageAndroidTemp, effectiveStartTemp, effectiveEndTemp, quotaTemp, introTextTemp) for value on field UI without Old
  2215.        
  2216.         - if response from API for field statusRequest =  EDIT/DEL, please using field _temp (codeTemp, effectiveStatusTemp, titleTemp, imageTemp, imageAndroidTemp, effectiveStartTemp, effectiveEndTemp, quotaTemp, introTextTemp) for value on field UI with Old and using field without _temp (code, effectiveStatus, title, image, imageAndroid, effectiveStart, effectiveEnd, quota, introText)for value on field UI without Old
  2217.        
  2218.         - if response from API for field statusRequest  = APP, please using field without _temp (code, effectiveStatus, title, image, imageAndroid, effectiveStart, effectiveEnd, quota, introText) for value on field UI without Old
  2219.       requestBody:
  2220.         content:
  2221.           application/json:
  2222.             schema:
  2223.               $ref: '#/components/schemas/paramPromoDetail'
  2224.              
  2225.       responses:
  2226.         '200':
  2227.           description: successful operation
  2228.           content:
  2229.             application/json:
  2230.               schema:
  2231.                 $ref: '#/components/schemas/responsePromoDetail'
  2232.              
  2233.   /promo/add:
  2234.     post:
  2235.       tags:
  2236.         - Content
  2237.       summary: create Promo
  2238.       operationId: createPromo
  2239.       description: |
  2240.         By passing in the appropriate options, yout can change request for new promo with flaging in promo_status_app to PEN
  2241.          RoleCode that can using this API, roleCode = 11
  2242.          
  2243.          insert into table news for field :
  2244.         - code_temp
  2245.         - effective_status_temp
  2246.         - title_temp
  2247.         - image_temp
  2248.         - image_android_temp
  2249.         - effective_start_temp
  2250.         - effective_end_temp
  2251.         - quota_temp
  2252.         - intro_text_temp
  2253.         - promo_status_app, with value PEN
  2254.          
  2255.       responses:
  2256.         '200':
  2257.           description: successful operation
  2258.           content:
  2259.             application/json:
  2260.               schema:
  2261.                 $ref: '#/components/schemas/responseGeneral'
  2262.       requestBody:
  2263.         content:
  2264.           application/json:
  2265.             schema:
  2266.               $ref: '#/components/schemas/paramAddPromo'
  2267.  
  2268.   /promo/update:
  2269.     post:
  2270.       tags:
  2271.         - Content
  2272.       summary: edit Promo
  2273.       operationId: editPromo
  2274.       description: |
  2275.         u can change edit promo with flaging in promo_status_app to PEN/DEL
  2276.        
  2277.         and if EDIT so new value in _temp field (effective_status_temp, title_temp, image_temp, image_android_temp, effective_start_temp, effective_end_temp, quota_temp, intro_text_temp)
  2278.         and if DEL just change falg value for faq_status_app.
  2279.        
  2280.         action value ==> 0: for delete; 1: for edit
  2281.        
  2282.         Front end use this APi for :
  2283.         - edit FAQ site
  2284.         - button delete in inuqiry site
  2285.        
  2286.       responses:
  2287.         '200':
  2288.           description: successful operation
  2289.           content:
  2290.             application/json:
  2291.               schema:
  2292.                 $ref: '#/components/schemas/responseGeneral'
  2293.       requestBody:
  2294.         content:
  2295.           application/json:
  2296.             schema:
  2297.               $ref: '#/components/schemas/paramUpdatePromo'
  2298.    
  2299.   /promo/approvePromo:
  2300.     post:
  2301.       tags:
  2302.         - Content
  2303.       summary: approve Promo
  2304.       operationId: approvePromo
  2305.       description: |
  2306.        
  2307.         u can change approve promo with below condition :
  2308.  
  2309.         - Check existing status_app in DB = PEN so change status_app to APP (if action_app = 1) ; copy value from _temp field (code_temp, effective_status_temp, title_temp, image_temp, image_android_temp, effective_start_temp, effective_end_temp, quota_temp, intro_text_temp) to settle field (without_temp) ; delete value in _temp
  2310.  
  2311.         - Check existing status_app in DB = PEN & field settle is null so change status_app to REM (if action_app = 0) ;
  2312.  
  2313.         - Check existing status_app in DB = PEN & field settle is not null so change status_app to APP (if action_app = 0) ;
  2314.  
  2315.         - Check existing status_app in DB = DEL so change status_app to REM (if action_app = 1) ;
  2316.  
  2317.         - Check existing status_app in DB = DEL so change status_app to APP (if action_app = 0) ;
  2318.  
  2319.         Note for front end: action_app (value = 1 / approve , value=0 / reject)
  2320.        
  2321.       parameters:
  2322.         - name: token
  2323.           in: query
  2324.           description: pass valid token for inquiry
  2325.           required: true
  2326.           schema:
  2327.             type: string
  2328.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  2329.          
  2330.       responses:
  2331.         '200':
  2332.           description: successful operation
  2333.           content:
  2334.             application/json:
  2335.               schema:
  2336.                 $ref: '#/components/schemas/responseGeneral'
  2337.       requestBody:
  2338.         content:
  2339.           application/json:
  2340.             schema:
  2341.               $ref: '#/components/schemas/paramAppPromo'
  2342.              
  2343.              
  2344.   /slideshow/getListOfficer:
  2345.     post:
  2346.       tags:
  2347.         - Content
  2348.       summary: inquiry Slider
  2349.       operationId: inquirySlider
  2350.       description: |
  2351.         adding field in table news :
  2352.  
  2353.         - description_temp
  2354.         - effective_start_temp
  2355.         - effective_end_temp
  2356.         - effective_status_temp
  2357.         - main_image_temp
  2358.         - bg_image_temp
  2359.         - title_temp
  2360.         - url_temp
  2361.         - url_status_temp
  2362.         - android_image_temp
  2363.         - type_temp
  2364.         - youtube_temp
  2365.         - seq_temp
  2366.         - slideshow_status_app, with value APP/PEN/DEL/REM
  2367.        
  2368.        
  2369.         By passing in the appropriate options, you can retrive all Slider with this rule :
  2370.         - status_app PEN/DEL (for role : 3/21)
  2371.         - status_app (for role : 11)
  2372.         - no view for role 22/12
  2373.  
  2374.         Note for front end :
  2375.         if response from API statusRequest NEW/EDIT, please using field to _temp for value in table inquiry if response from API for field Status Request
  2376.        
  2377.         Note for back end : statusRequest will have value :
  2378.  
  2379.         - NEW ==> PEN in status_app ; _temp field is valid ; settle field is null
  2380.         - EDIT ==> PEN in status_app ; _temp field is valid ; settle field is valid
  2381.         - DEL ==> DEL in status_app ; _temp field is null ; settle field is valid
  2382.         - APP ==> APP in status_app;
  2383.        
  2384.       parameters:
  2385.         - name: token
  2386.           in: query
  2387.           description: pass valid token for inquiry
  2388.           required: true
  2389.           schema:
  2390.             type: string
  2391.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  2392.       responses:
  2393.         '200':
  2394.           description: successful operation
  2395.           content:
  2396.             application/json:
  2397.               schema:
  2398.                 $ref: '#/components/schemas/responseSliderList'
  2399.                
  2400.   /slideshow/detail:
  2401.     post:
  2402.       tags:
  2403.         - Content
  2404.       summary: detail Slider
  2405.       operationId: detailSlider
  2406.       description: |
  2407.         By passing in the appropriate options, you can retrive detail Slider by ID
  2408.      
  2409.         Note for front end :
  2410.        
  2411.         - if response from API for field statusRequest  = NEW, please using field _temp for value on field UI without Old
  2412.        
  2413.         - if response from API for field statusRequest =  EDIT/DEL, please using field _temp for value on field UI with Old and using field without _temp for value on field UI without Old
  2414.        
  2415.         - if response from API for field statusRequest  = APP, please using field without _temp  for value on field UI without Old
  2416.       requestBody:
  2417.         content:
  2418.           application/json:
  2419.             schema:
  2420.               $ref: '#/components/schemas/paramSliderDetail'
  2421.              
  2422.       responses:
  2423.         '200':
  2424.           description: successful operation
  2425.           content:
  2426.             application/json:
  2427.               schema:
  2428.                 $ref: '#/components/schemas/responseSliderDetail'
  2429.                
  2430.  
  2431.   /slideshow/add:
  2432.     post:
  2433.       tags:
  2434.         - Content
  2435.       summary: create Slider
  2436.       operationId: createSlider
  2437.       description: |
  2438.         By passing in the appropriate options, yout can change request for new slider with flaging in slider_status_app to PEN
  2439.          RoleCode that can using this API, roleCode = 11
  2440.          
  2441.          insert into table news for field :
  2442.         - description_temp
  2443.         - effective_start_temp
  2444.         -  effective_end_temp
  2445.         -  effective_status_temp
  2446.         -  main_image_temp
  2447.         -  bg_image_temp
  2448.         -  title_temp
  2449.         -  url_temp
  2450.         -  url_status_temp
  2451.         -  android_image_temp
  2452.         -  type_temp
  2453.         -  youtube_temp
  2454.         -  seq_temp
  2455.         - slider_status_app, with value PEN
  2456.          
  2457.       responses:
  2458.         '200':
  2459.           description: successful operation
  2460.           content:
  2461.             application/json:
  2462.               schema:
  2463.                 $ref: '#/components/schemas/responseGeneral'
  2464.       requestBody:
  2465.         content:
  2466.           application/json:
  2467.             schema:
  2468.               $ref: '#/components/schemas/paramAddSlider'
  2469.              
  2470.              
  2471.   /slideshow/edit:
  2472.     post:
  2473.       tags:
  2474.         - Content
  2475.       summary: edit Slider
  2476.       operationId: editSlider
  2477.       description: |
  2478.         u can change edit slider with flaging in slider_status_app to PEN/DEL
  2479.        
  2480.         and if EDIT so new value in _temp field
  2481.         and if DEL just change falg value for faq_status_app.
  2482.        
  2483.         action value ==> 0: for delete; 1: for edit
  2484.        
  2485.         Front end use this APi for :
  2486.         - edit FAQ site
  2487.         - button delete in inuqiry site
  2488.      
  2489.       parameters:
  2490.         - name: token
  2491.           in: query
  2492.           description: pass valid token for inquiry
  2493.           required: true
  2494.           schema:
  2495.             type: string
  2496.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg  
  2497.      
  2498.       responses:
  2499.         '200':
  2500.           description: successful operation
  2501.           content:
  2502.             application/json:
  2503.               schema:
  2504.                 $ref: '#/components/schemas/responseGeneral'
  2505.       requestBody:
  2506.         content:
  2507.           application/json:
  2508.             schema:
  2509.               $ref: '#/components/schemas/paramUpdateSlider'
  2510.              
  2511.   /slideshow/approveSlider:
  2512.     post:
  2513.       tags:
  2514.         - Content
  2515.       summary: approve Slider
  2516.       operationId: approveSlider
  2517.       description: |
  2518.        
  2519.         u can change approve slider with below condition :
  2520.  
  2521.         - Check existing status_app in DB = PEN so change status_app to APP (if action_app = 1) ; copy value from _temp field to settle field (without_temp) ; delete value in _temp
  2522.  
  2523.         - Check existing status_app in DB = PEN & field settle is null so change status_app to REM (if action_app = 0) ;
  2524.  
  2525.         - Check existing status_app in DB = PEN & field settle is not null so change status_app to APP (if action_app = 0) ;
  2526.  
  2527.         - Check existing status_app in DB = DEL so change status_app to REM (if action_app = 1) ;
  2528.  
  2529.         - Check existing status_app in DB = DEL so change status_app to APP (if action_app = 0) ;
  2530.  
  2531.         Note for front end: action_app (value = 1 / approve , value=0 / reject)
  2532.        
  2533.       parameters:
  2534.         - name: token
  2535.           in: query
  2536.           description: pass valid token for inquiry
  2537.           required: true
  2538.           schema:
  2539.             type: string
  2540.           example: HCIKvwwaFm0HDAeBKjNLIWIrX-CnRL-eyPdvZVxHcUyVVNC-6bIy5CkcDk2VeDYJ6TqQvs2_6dAaKQOO_sFtbg
  2541.          
  2542.       responses:
  2543.         '200':
  2544.           description: successful operation
  2545.           content:
  2546.             application/json:
  2547.               schema:
  2548.                 $ref: '#/components/schemas/responseGeneral'
  2549.       requestBody:
  2550.         content:
  2551.           application/json:
  2552.             schema:
  2553.               $ref: '#/components/schemas/paramAppPromo'
  2554.              
  2555.   /News/getData:
  2556.     get:
  2557.       tags:
  2558.         - customer - CMS
  2559.       summary: get article for customer apps
  2560.       operationId: getNews
  2561.       description: |
  2562.         retrive data CMS without token for customer front end
  2563.        
  2564.         condition :
  2565.           - news_status_app = APP and
  2566.           - active_status = t and
  2567.           - publish_status = t
  2568.  
  2569.       responses:
  2570.         '200':
  2571.           description: successfull to load article
  2572.           content:
  2573.             application/json:
  2574.               schema:
  2575.                 type: array
  2576.                 items:
  2577.                   $ref: '#/components/schemas/responseGetNewsCustomer'
  2578.         '400':
  2579.           description: failed to load
  2580.          
  2581.   /Promo/getData:
  2582.     get:
  2583.       tags:
  2584.         - customer - CMS
  2585.       summary: get promo for customer apps
  2586.       operationId: getPromo
  2587.       description: |
  2588.         retrive data CMS without token for customer front end
  2589.        
  2590.         condition :
  2591.           - promo_status_app = APP and
  2592.           - effective_status = t and
  2593.           - row_status = t
  2594.  
  2595.       responses:
  2596.         '200':
  2597.           description: successfull to load promo
  2598.           content:
  2599.             application/json:
  2600.               schema:
  2601.                 type: array
  2602.                 items:
  2603.                   $ref: '#/components/schemas/responseGetPromoCustomer'
  2604.         '400':
  2605.           description: failed to load
  2606.          
  2607.   /Dps/getData:
  2608.     get:
  2609.       tags:
  2610.         - customer - CMS
  2611.       summary: get DPS for customer apps
  2612.       operationId: getDPS
  2613.       description: |
  2614.         retrive data CMS without token for customer front end
  2615.        
  2616.         condition :
  2617.         - status_app = APP and
  2618.         - effective_end = getDate(now)
  2619.  
  2620.       responses:
  2621.         '200':
  2622.           description: successfull to load promo
  2623.           content:
  2624.             application/json:
  2625.               schema:
  2626.                 type: array
  2627.                 items:
  2628.                   $ref: '#/components/schemas/responseGetDPSCustomer'
  2629.         '400':
  2630.           description: failed to load
  2631.          
  2632.   /Faq/getData:
  2633.     get:
  2634.       tags:
  2635.         - customer - CMS
  2636.       summary: get faq for customer apps
  2637.       operationId: getFAQ
  2638.       description: |
  2639.         retrive data CMS without token for customer front end
  2640.        
  2641.         condition :
  2642.        
  2643.         - status_app = APP and
  2644.         - faq_status = t and
  2645.  
  2646.       responses:
  2647.         '200':
  2648.           description: successfull to load promo
  2649.           content:
  2650.             application/json:
  2651.               schema:
  2652.                 type: array
  2653.                 items:
  2654.                   $ref: '#/components/schemas/responseGetFAQCustomer'
  2655.         '400':
  2656.           description: failed to load
  2657.          
  2658.   /Slideshow/getData:
  2659.     get:
  2660.       tags:
  2661.         - customer - CMS
  2662.       summary: get Slider for customer apps
  2663.       operationId: getSlider
  2664.       description: |
  2665.         retrive data CMS without token for customer front end
  2666.        
  2667.         condition :
  2668.  
  2669.         - status_app = APP and
  2670.         - faq_status = t and
  2671.  
  2672.       responses:
  2673.         '200':
  2674.           description: successfull to load promo
  2675.           content:
  2676.             application/json:
  2677.               schema:
  2678.                 type: array
  2679.                 items:
  2680.                   $ref: '#/components/schemas/responseGetSliderCustomer'
  2681.         '400':
  2682.           description: failed to load
  2683.  
  2684.  
  2685. components:
  2686.   schemas:
  2687.  
  2688.     responseGetSliderCustomer:
  2689.       type: object
  2690.       required:
  2691.         - bg_image = backGround
  2692.         - effective_end = effEnd
  2693.         - effective_start = effStart
  2694.         - effective_status = effStatus
  2695.         - main_image = img
  2696.         - new_tab = newTab
  2697.         - title = title
  2698.         - url = url
  2699.         - url_status = urlStatus
  2700.         - youtube = youtube
  2701.         - android_image = imgAndroid
  2702.         - description = desc
  2703.         - type = type
  2704.        
  2705.       properties:
  2706.         backGround:
  2707.           type: string
  2708.           example:
  2709.         effEnd:
  2710.           type: string
  2711.           example: null
  2712.         effStart:
  2713.           type: string
  2714.           example: true
  2715.         effStatus:
  2716.           type: string
  2717.           example:
  2718.         img:
  2719.           type: string
  2720.           example:
  2721.         newTab:
  2722.           type: string
  2723.           example:
  2724.         title:
  2725.           type: string
  2726.           example:
  2727.         url:
  2728.           type: string
  2729.           example:
  2730.         urlStatus:
  2731.           type: string
  2732.           example:
  2733.         youtube:
  2734.           type: string
  2735.           example:
  2736.         imgAndroid:
  2737.           type: string
  2738.           example:
  2739.         desc:
  2740.           type: string
  2741.           example:
  2742.         type:
  2743.           type: string
  2744.           example:
  2745.          
  2746.     responseGetFAQCustomer:
  2747.       type: object
  2748.       required:
  2749.         - answer = answer
  2750.         - faq_number = faqNumber
  2751.         - faq_status = faqStatus
  2752.         - question = question
  2753.        
  2754.       properties:
  2755.         answer:
  2756.           type: string
  2757.           example: "Test content"
  2758.         faqNumber:
  2759.           type: string
  2760.           example: null
  2761.         faqStatus:
  2762.           type: boolean
  2763.           example: true
  2764.         question:
  2765.           type: string
  2766.           example: "Test"
  2767.          
  2768.     responseGetDPSCustomer:
  2769.       type: object
  2770.       required:
  2771.         - file_name = fileName
  2772.         - image = img
  2773.        
  2774.       properties:
  2775.         img:
  2776.           type: string
  2777.           example: 9b76706d-6f02-49e6-a3cf-6d9c16cde377
  2778.         fileName:
  2779.           type: string
  2780.           example: "DPS0204191830"
  2781.        
  2782.          
  2783.     responseGetNewsCustomer:
  2784.       type: object
  2785.       required:
  2786.         - image = image_location
  2787.         - author = news_author
  2788.         - content = news_content
  2789.         - title = news_title
  2790.         - datePub = published_date
  2791.        
  2792.       properties:
  2793.         image:
  2794.           type: string
  2795.           example: 9b76706d-6f02-49e6-a3cf-6d9c16cde377
  2796.         author:
  2797.           type: string
  2798.           example: Ririn A
  2799.         content:
  2800.           type: string
  2801.           example: "content aneh"
  2802.         title:
  2803.           type: string
  2804.           example: "Mengenal Biaya Reksa Dana"
  2805.         datePub:
  2806.           type: string
  2807.           example: "2017-09-12 16:51:43.335"
  2808.          
  2809.     responseGetPromoCustomer:
  2810.       type: object
  2811.       required:
  2812.         - code = codePromo
  2813.         - description = desc
  2814.         - effective_end = effectiveEnd
  2815.         - effective_start = effectiveStart
  2816.         - effective_status = = effectiveStatus
  2817.         - image = img
  2818.         - introtext = intro
  2819.         - quota = quota
  2820.         - title = title
  2821.         - image_android = imgAndroid
  2822.        
  2823.       properties:
  2824.         codePromo:
  2825.           type: string
  2826.           example: RZK-AB
  2827.         desc:
  2828.           type: string
  2829.           example: Blabla
  2830.         effectiveEnd:
  2831.           type: string
  2832.           example: "2017-09-28 17:00:00"
  2833.         effectiveStart:
  2834.           type: string
  2835.           example: "2017-09-27 17:00:00"
  2836.         effectiveStatus:
  2837.           type: boolean
  2838.           example: true
  2839.         img:
  2840.           type: string
  2841.           example: "d8fdea0a-ce33-44c8-98e8-cb747ad129a1"
  2842.         intro:
  2843.           type: string
  2844.           example: "intro"
  2845.         quota:
  2846.           type: string
  2847.           example: "100"
  2848.         title:
  2849.           type: string
  2850.           example: "REZEKI AKHIR BULAN"
  2851.         imgAndroid:
  2852.           type: string
  2853.           example: "8617805f-eebe-4063-affc-dec7ca5f9778"
  2854.    
  2855.     paramLogin:
  2856.       type: object
  2857.       required:
  2858.         - userName
  2859.         - passwword
  2860.       properties:
  2861.         userName:
  2862.           type: string
  2863.           example: Yanuar1234567890
  2864.         password:
  2865.           type: string
  2866.           example: Cust0mer
  2867.          
  2868.     paramRegister:
  2869.       type: object
  2870.       required:
  2871.         - nik
  2872.         - mobilePhoneNo
  2873.         - email
  2874.       properties:
  2875.         nik:
  2876.           type: string
  2877.           example: 3404131207970002
  2878.         mobilePhoneNo:
  2879.           type: string
  2880.           example: 085693131152
  2881.         email:
  2882.           type: string
  2883.           example: nasabah.1@mailinator.com
  2884.          
  2885.     responseRegister:
  2886.       type: object
  2887.       required:
  2888.         - code
  2889.         - info
  2890.       properties:
  2891.         code:
  2892.           type: integer
  2893.           format: int32
  2894.           example: 1
  2895.         info:
  2896.           type: string
  2897.           example: Registration successes
  2898.        
  2899.            
  2900.     responseLogin:
  2901.       type: object
  2902.       required:
  2903.         - code
  2904.         - info
  2905.         - data
  2906.       properties:
  2907.         code:
  2908.           type: integer
  2909.           format: int32
  2910.           example: 1
  2911.         info:
  2912.           type: string
  2913.           example: Login successes
  2914.         data:
  2915.             $ref: '#/components/schemas/dataLogin'
  2916.     dataLogin:
  2917.       type: object
  2918.       required:
  2919.         - lastLogin
  2920.         - userName
  2921.         - fullName
  2922.         - token
  2923.         - roleName
  2924.         - roleCode
  2925.         - access
  2926.       properties:
  2927.         lastLogin:
  2928.           type: string
  2929.           format: date-time
  2930.           example: "2019-03-18T03:07:57+07:00"
  2931.         userName:
  2932.           type: string
  2933.           example: Yanuar1234567890
  2934.         fullName:
  2935.           type: string
  2936.           example: Yanuar Hamzah
  2937.         token:
  2938.           type: string
  2939.           example: AAABaY-U8zvHE9tpA-gL8WhpsmC1zETOgEf5XMhAdWHJQ0_jo13n5cUKXxqqo1oletkxFlA9eKUnxum7Ao8A2wYuOW4xxGVEpGDTsqusNuF99RBlOj8IQ0kMzsGJL98nll3I8RDI5BKojroPioV2OxbWPnzA_HuBQjiVwSgiXwPVlZKW
  2940.         roleName:
  2941.           type: string
  2942.           example: SUPERUSER
  2943.         roleCode:
  2944.           type: string
  2945.           example: 3
  2946.         access:
  2947.           type: array
  2948.           items:
  2949.               $ref: '#/components/schemas/accessListLogin'
  2950.     accessListLogin:
  2951.       type: object
  2952.       required:
  2953.         - child
  2954.         - icon
  2955.         - activetabe
  2956.         - name
  2957.         - url
  2958.       properties:
  2959.         child:
  2960.           type: string
  2961.           example: []
  2962.         icon:
  2963.           type: string
  2964.           example: glyphicon-stats
  2965.         activetab:
  2966.           type: string
  2967.           example: dashboard
  2968.         name:
  2969.           type: string
  2970.           example: dashboard
  2971.         url:
  2972.           type: string
  2973.           example: "#/dashboard"
  2974.          
  2975.     responseCustomerData:
  2976.       type: object
  2977.       required:
  2978.         - portalcif
  2979.         - email
  2980.         - NIK
  2981.         - first_name
  2982.         - middle_name
  2983.         - last_name
  2984.         - fullname
  2985.         - user_status
  2986.         - security_level
  2987.         - rejected
  2988.         - customer_id
  2989.         - agent_name
  2990.         - channel_name
  2991.         - channel_customer_id
  2992.         - mobilenumber
  2993.         - join_date
  2994.         - created_date
  2995.         - username
  2996.         - approval_status
  2997.       properties:
  2998.         portalcif:
  2999.           type: string
  3000.           example: C1901000539
  3001.         email:
  3002.           type: string
  3003.           example: yanuar.hamzah@invisee.com
  3004.         NIK:
  3005.           type: string
  3006.           example: 1234567890
  3007.         first_name:
  3008.           type: string
  3009.           example: Yanuar
  3010.         middle_name:
  3011.           type: string
  3012.           example:
  3013.         last_name:
  3014.           type: string
  3015.           example: Hamzah
  3016.         fullname:
  3017.           type: string
  3018.           example: Yanuar Hamzah
  3019.         user_status:
  3020.           type: string
  3021.           example: act
  3022.         security_level:
  3023.           type: string
  3024.           example: NOR
  3025.         rejected:
  3026.           type: string
  3027.           example: No
  3028.         customer_id:
  3029.           type: integer
  3030.           format: int64
  3031.           example: 5478
  3032.         agent_name:
  3033.           type: string
  3034.           example: Invisee Sales
  3035.         channel_name:
  3036.           type: string
  3037.           example: Invisee
  3038.         channel_customer_id:
  3039.           type: string
  3040.           example:
  3041.         mobilenumber:
  3042.           type: string
  3043.           example: 62-81251252
  3044.         join_date:
  3045.           type:  string
  3046.           format: date-time
  3047.           example: 03032019
  3048.         created_date:
  3049.           type:  string
  3050.           format: date-time
  3051.           example: 03032019
  3052.         approval_status:
  3053.           type:  boolean
  3054.           example: no
  3055.         username:
  3056.           type:  string
  3057.           example: Yanuar1234567890
  3058.    
  3059.     responseCustomerList:
  3060.       type: object
  3061.       required:
  3062.         - code
  3063.         - info
  3064.         - data
  3065.       properties:
  3066.         code:
  3067.           type: integer
  3068.           format: int32
  3069.           example: 1
  3070.         action:
  3071.           type: string
  3072.           example: Customer list successfully loaded
  3073.         data:
  3074.           type: array
  3075.           items:
  3076.               $ref: '#/components/schemas/responseCustomerData'
  3077.          
  3078.     paramCustomerApproval:
  3079.       type: object
  3080.       required:
  3081.         - kycId
  3082.         - action
  3083.       properties:
  3084.         kycId:
  3085.           type: integer
  3086.           format: int32
  3087.           example: 9681
  3088.         action:
  3089.           type: boolean
  3090.           example: 1
  3091.    
  3092.     responseCustomerApproval:
  3093.       type: object
  3094.       required:
  3095.         - code
  3096.         - info
  3097.         - data
  3098.       properties:
  3099.         code:
  3100.           type: integer
  3101.           format: int32
  3102.           example: 1
  3103.         info:
  3104.           type: string
  3105.           example:
  3106.             New customer has been submitted and Waiting for approval from PBM (if PBO role/ rolecode = 12)
  3107.             New customer has been approved (if PBM role/ rolecode = 22)
  3108.         data:
  3109.             $ref: '#/components/schemas/responseCustomerApprovalData'
  3110.            
  3111.     responseCustomerApprovalData:
  3112.       type: object
  3113.       required:
  3114.         - id
  3115.         - status
  3116.       properties:
  3117.         id:
  3118.           type: integer
  3119.           format: int32
  3120.           example: 9741
  3121.         status:
  3122.           type: string
  3123.           example:
  3124.             pen (if PBO role/ rolecode = 12)
  3125.             ver (if PBM role/ rolecode = 22)
  3126.    
  3127.     responseOfficerList1:
  3128.       type: object
  3129.       required:
  3130.         - code
  3131.         - info
  3132.         - data
  3133.       properties:
  3134.         code:
  3135.           type: integer
  3136.           format: int32
  3137.           example: 1
  3138.         action:
  3139.           type: string
  3140.           example: Success
  3141.         data:
  3142.           type: array
  3143.           items:
  3144.               $ref: '#/components/schemas/responseOfficerList2'
  3145.  
  3146.     responseOfficerList2:
  3147.       type: object
  3148.       required:
  3149.         - enabled
  3150.         - id
  3151.         - nip
  3152.         - officerEmail
  3153.         - officerName
  3154.         - userID
  3155.         - officerPhone
  3156.         - roleCode
  3157.         - roleName
  3158.         - userStatus
  3159.         - accountLocked
  3160.         - statusRequest
  3161.  
  3162.       properties:
  3163.         enabled:
  3164.           type: boolean
  3165.           example : true
  3166.         id:
  3167.           type: integer
  3168.           format: int32
  3169.           example : 5903
  3170.         nip:
  3171.           type: string
  3172.           example : 678452345667
  3173.           description : NIP for new officer.
  3174.         officerEmail:
  3175.           type: string
  3176.           example : winona.daraget@invisee.com
  3177.           description : email officer for sent password generate.
  3178.         officerName:
  3179.           type: string
  3180.           example : Winona Safia Daraget
  3181.           description :  fullname for new officer (first name, middle name, last name)
  3182.         userID:
  3183.           type: string
  3184.           example : Winona678452345667
  3185.           description : firstname+NIP
  3186.         officerPhone:
  3187.           type: string
  3188.           example : 056798534578989
  3189.           description : phoneNumber for new officer.
  3190.         roleCode:
  3191.           type: integer
  3192.           format: int32
  3193.           example : 24
  3194.           description : Role officer.
  3195.         roleName:
  3196.           type: string
  3197.           example : APPWMD
  3198.           description : Role officer.
  3199.         userStatus:
  3200.           type: string
  3201.           example : PEN
  3202.           description : status of officer.
  3203.         accountLocked:
  3204.           type: boolean
  3205.           example: false
  3206.         statusRequest:
  3207.           type: string
  3208.           example: NEW
  3209.          
  3210.     responseDetailOfficer1:
  3211.       type: object
  3212.       required:
  3213.         - code
  3214.         - info
  3215.         - data
  3216.       properties:
  3217.         code:
  3218.           type: integer
  3219.           format: int32
  3220.           example: 1
  3221.         action:
  3222.           type: string
  3223.           example: Success
  3224.         data:
  3225.            $ref: '#/components/schemas/responseDetailOfficer2'
  3226.  
  3227.     responseDetailOfficer2:
  3228.       type: object
  3229.       required:
  3230.         - id
  3231.         - NIP
  3232.         - accountExpired
  3233.         - accountLocked
  3234.         - approvalStatus
  3235.         - email
  3236.         - enabled
  3237.         - lastLogin
  3238.         - loginFailureCount
  3239.         - officerAddress
  3240.         - officerName
  3241.         - officerPhone
  3242.         - userPictures
  3243.         - userRoles
  3244.         - userStatus
  3245.         - userType
  3246.         - userName
  3247.         - createdBy
  3248.         - CreatedDate
  3249.         - currendSessionId
  3250.         - securityLevel
  3251.         - permissions
  3252.         - roleCode
  3253.       properties:
  3254.         id:
  3255.           type: integer
  3256.           format: int32
  3257.           example : 16
  3258.         NIP:
  3259.           type: string
  3260.           example : NSI00001
  3261.         accountExpired:
  3262.           type: boolean
  3263.           example : false
  3264.         accountLocked:
  3265.           type: boolean
  3266.           example : false
  3267.         approvalStatus:
  3268.           type: boolean
  3269.           example : null
  3270.         email:
  3271.           type: string
  3272.           example : yayan.supriatna@invisee.com
  3273.         enabled:
  3274.           type: boolean
  3275.           example : true
  3276.         lastLogin:
  3277.           type: string
  3278.           format: date-time
  3279.           example : 2018-09-27T17:16:40+07:00
  3280.         loginFailureCoun:
  3281.           type: integer
  3282.           format: int32
  3283.           example : null
  3284.         officerAddress:
  3285.           type: string
  3286.           example : Jakarta
  3287.         officerName:
  3288.           type: string
  3289.           example : Yayan Supriatna
  3290.         officerPhone:
  3291.           type: string
  3292.           example : 08161693266
  3293.         userPictures:
  3294.           type: string
  3295.           example : null
  3296.         userRoles:
  3297.           type: string
  3298.           example: [PBO]
  3299.         userStatus:
  3300.           type: string
  3301.           example : null
  3302.         userType:
  3303.           type: string
  3304.           example : null
  3305.         username:
  3306.           type: string
  3307.           example : YayanNSI00001
  3308.         createdBy:
  3309.           type: string
  3310.           example : yanuar.hamzah@invisee.com
  3311.         createdDate:
  3312.           type: string
  3313.           format: date-time
  3314.           example : 2017-01-12T10:17:37+07:00
  3315.         currentSessionId:
  3316.           type: string
  3317.           example : null
  3318.         securityLevel:
  3319.           type: string
  3320.           example : null
  3321.         roleCode:
  3322.           type: integer
  3323.           format: int32
  3324.           example: 12
  3325.         permissions:
  3326.           type: string
  3327.           example: []
  3328.    
  3329.     paramInsertOfficer:
  3330.       type: object
  3331.       required:
  3332.         - name
  3333.         - phone
  3334.         - username
  3335.         - email
  3336.         - password
  3337.         - passwordExpired
  3338.         - enabled
  3339.         - accountLocked
  3340.         - accountExpired
  3341.         - roleCode
  3342.         - nip
  3343.       properties:
  3344.         name:
  3345.           type: string
  3346.           example : Winona Safia Daraget
  3347.           description :  fullname for new officer
  3348.         phone:
  3349.           type: string
  3350.           example : 056798534578989
  3351.           description : phoneNumber for new officer.
  3352.         username:
  3353.           type: string
  3354.           example : Winona678452345667
  3355.           description : phoneNumber for new officer.
  3356.         email:
  3357.           type: string
  3358.           example : winona.daraget@invisee.com
  3359.           description : email officer for sent password generate.
  3360.         password:
  3361.           type: string
  3362.           example : admin
  3363.           description : password new officer.
  3364.         passwordExpired:
  3365.           type: boolean
  3366.           example : false
  3367.         enabled:
  3368.           type: boolean
  3369.           example : true
  3370.         accountLocked:
  3371.           type: boolean
  3372.           example : false
  3373.         accountExpired:
  3374.           type: boolean
  3375.           example : false
  3376.         NIP:
  3377.           type: string
  3378.           example : 678452345667
  3379.           description : NIP for new officer.
  3380.         roleCode:
  3381.           type: integer
  3382.           format: int32
  3383.           example : 3
  3384.           description : Role for new officer
  3385.     responseInsertOfficer:
  3386.       type: object
  3387.       required:
  3388.         - code
  3389.         - info
  3390.         - data
  3391.       properties:
  3392.         code:
  3393.           type: integer
  3394.           format: int32
  3395.           example: 1
  3396.         info:
  3397.           type: string
  3398.           example:
  3399.             New officer has been submitted and Waiting for approval from PBM (if PBO role/ rolecode = 12 || PBO role/ rolecode = 22)
  3400.             New officer has been submitted and Waiting for approval from Approver WMD(if InputterWMD role/ rolecode = 11 || ApproverWMD role/ rolecode = 12)
  3401.             New officer has been submitted and Waiting for approval from SuperUser WMD(if InputterWMD role/ rolecode = 3)
  3402.         data:
  3403.             $ref: '#/components/schemas/paramInsertOfficer'
  3404.            
  3405.     paramUpdateStatusOfficer:
  3406.       type: object
  3407.       required:
  3408.         - id
  3409.         - status
  3410.       properties:
  3411.         id:
  3412.           type: integer
  3413.           format: int32
  3414.           example : 16
  3415.         status:
  3416.           type: boolean
  3417.           example : false
  3418.     responseUpdateStatusOfficer:
  3419.       type: object
  3420.       required:
  3421.         - code
  3422.         - info
  3423.       properties:
  3424.         code:
  3425.           type: integer
  3426.           format: int32
  3427.           example: 1
  3428.         info:
  3429.           type: string
  3430.           example: 'Approve / Reject Successfully'
  3431.  
  3432.     paramApproveOfficer:
  3433.       type: object
  3434.       required:
  3435.         - id
  3436.         - enabled
  3437.       properties:
  3438.         id:
  3439.           type: integer
  3440.           format: int32
  3441.           example : 16
  3442.         enabled:
  3443.           type: boolean
  3444.           example : true
  3445.    
  3446.     paramApproveOfficer2:
  3447.       type: object
  3448.       required:
  3449.         - id
  3450.         - enabled
  3451.         - action_app
  3452.       properties:
  3453.         id:
  3454.           type: integer
  3455.           format: int32
  3456.           example : 16
  3457.         enabled:
  3458.           type: boolean
  3459.           example : true
  3460.         action_app:
  3461.           type: integer
  3462.           format: int32
  3463.           example: 1
  3464.    
  3465.     paramRejectOfficer:
  3466.       type: object
  3467.       required:
  3468.         - id
  3469.         - enabled
  3470.         - accountLocked
  3471.       properties:
  3472.         id:
  3473.           type: integer
  3474.           format: int32
  3475.           example : 16
  3476.         enabled:
  3477.           type: boolean
  3478.           example : false
  3479.         accountLocked:
  3480.           type: boolean
  3481.           example : true
  3482.    
  3483.     paramRejectOfficer2:
  3484.       type: object
  3485.       required:
  3486.         - id
  3487.         - enabled
  3488.         - accountLocked
  3489.       properties:
  3490.         id:
  3491.           type: integer
  3492.           format: int32
  3493.           example : 16
  3494.         enabled:
  3495.           type: boolean
  3496.           example : false
  3497.         accountLocked:
  3498.           type: boolean
  3499.           example : true
  3500.    
  3501.     paramResetPassword:
  3502.       type: object
  3503.       required:
  3504.         - userID
  3505.       properties:
  3506.         userID:
  3507.           type: integer
  3508.           format: int32
  3509.           example : 10359
  3510.           description : user id for officer that will be reseted password
  3511.    
  3512.     responseResetPassword:
  3513.       type: object
  3514.       required:
  3515.         - code
  3516.         - info
  3517.         - email
  3518.         - password
  3519.       properties:
  3520.         code:
  3521.           type: integer
  3522.           format: int32
  3523.           example: 1
  3524.         info:
  3525.           type: string
  3526.           example: Password reset successfully
  3527.         email:
  3528.           type: string
  3529.           example: hamzah.yanuar@gmail.com
  3530.         password:
  3531.           type: string
  3532.           example: PAlF4l
  3533.  
  3534.     responseIndividualFund:
  3535.       type: object
  3536.       properties:
  3537.         activeStatus:
  3538.           type: boolean
  3539.           example: true
  3540.         class:
  3541.           type: string
  3542.           example: "com.indivaragroup.investment.core.dto.UtProductsDto"
  3543.         displayName:
  3544.           type: string
  3545.           example: BTN Sekuritas
  3546.         productCode:
  3547.           type: string
  3548.           example: "BTNProteksi2018"
  3549.         productId:
  3550.           type: integer
  3551.           format: int32
  3552.           example: 107
  3553.         productName:
  3554.           type: string
  3555.           example: "BTN Proteksi 2018"
  3556.         productType:
  3557.           type: string
  3558.           example: "MF - Protected Fund"
  3559.         status:
  3560.           type: string
  3561.           example: PEN
  3562.         statusRequest:
  3563.           type: string
  3564.           example: NEW
  3565.          
  3566.     responseDetailIndividualFund:
  3567.       type: object
  3568.       properties:
  3569.         custodyBank:
  3570.           type: string
  3571.           example: Bank Tabungan Negara
  3572.         investmentManagerName:
  3573.           type: string
  3574.           example: "PT Insight Investment Management"
  3575.         ProductType:
  3576.           type: string
  3577.           example: Reksa Dana Terproteksi
  3578.         riskProfile:
  3579.           type: string
  3580.           example: "Moderate"
  3581.         transactionCutOffTime:
  3582.           type: string
  3583.           example: "13:00:00.0"
  3584.         utProduct:
  3585.           type: string
  3586.           example: "{}"
  3587.         utProductTier:
  3588.           type: string
  3589.           example: "[{}]"
  3590.          
  3591.     responseUploadFIle:
  3592.       type: object
  3593.       properties:
  3594.         code:
  3595.           type: integer
  3596.           format: int32
  3597.           example: 1
  3598.         info:
  3599.           type: string
  3600.           example: Upload Berhasil
  3601.         key:
  3602.           type: string
  3603.           example: 8e40a9ba-ce5d-4e57-85ef-252a5d2039a4
  3604.    
  3605.     paramUploadFile:
  3606.       type: object
  3607.       required:
  3608.         - Content-Disposition
  3609.         - name
  3610.         - Content-Type
  3611.       properties:
  3612.         Content-Disposition:
  3613.           type: string
  3614.           example: form-data
  3615.         name:
  3616.           type: string
  3617.           example: FSD BTN Sign Off.jpg
  3618.         Content-Type:
  3619.           type: string
  3620.           example: image/jpeg
  3621.    
  3622.     responseDPSList:
  3623.       type: object
  3624.       required:
  3625.         - code
  3626.         - info
  3627.         - data
  3628.       properties:
  3629.         code:
  3630.           type: integer
  3631.           format: int32
  3632.           example: 1
  3633.         action:
  3634.           type: string
  3635.           example: DPS List success to load
  3636.         data:
  3637.           type: array
  3638.           items:
  3639.               $ref: '#/components/schemas/responseDPSData'
  3640.              
  3641.     responseDPSData:
  3642.       type: object
  3643.       required:
  3644.         - id
  3645.         - image
  3646.         - imageTemp
  3647.         - uploadBy
  3648.         - uploadDate
  3649.         - effectiveStart
  3650.         - effectiveEnd
  3651.         - statusRequest
  3652.         - fileName
  3653.         - fileNameTemp
  3654.        
  3655.       properties:
  3656.         id:
  3657.           type: integer
  3658.           format: int32
  3659.           example: 1
  3660.         image:
  3661.           type: string
  3662.           example: "c88510c8-23b8-4b9b-bb79-631878868e66"
  3663.         imageTemp:
  3664.           type: string
  3665.           example: null
  3666.         uploadBy:
  3667.           type: string
  3668.           example: InputterWMD11011111
  3669.         uploadDate:
  3670.           type: string
  3671.           example: "26 Mar 2019"
  3672.         effectiveStart:
  3673.           type: string
  3674.           example: "2019-03-26 00:00:00"
  3675.         effectiveEnd:
  3676.           type: string
  3677.           example: "2019-03-26 23:59:59"
  3678.         statusRequest:
  3679.           type: string
  3680.           example: "APP"
  3681.         fileName:
  3682.           type: string
  3683.           example: "DPS260319.pdf"
  3684.         fileNameTemp:
  3685.           type: string
  3686.           example: null
  3687.              
  3688.     paramCreateDPS:
  3689.       type: object
  3690.       required:
  3691.         - keyFile
  3692.       properties:
  3693.         keyFile:
  3694.           type: string
  3695.           example: 8e40a9ba-ce5d-4e57-85ef-252a5d2039a4
  3696.          
  3697.     responseCreateDPS:
  3698.       type: object
  3699.       properties:
  3700.         code:
  3701.           type: integer
  3702.           format: int32
  3703.           example: 1
  3704.         info:
  3705.           type: string
  3706.           example: Daily Product Summary has been uploaded. And wating approval to release.
  3707.         data:
  3708.           $ref: '#/components/schemas/paramCreateDPS'
  3709.          
  3710.     paramUpdateDPS:
  3711.       type: object
  3712.       required:
  3713.         - id
  3714.         - action (1= req_update, 0= req_delete)
  3715.       properties:
  3716.         id:
  3717.           type: integer
  3718.           format: int32
  3719.           example: 0
  3720.         action:
  3721.           type: integer
  3722.           format: int32
  3723.           example: 0
  3724.    
  3725.     paramCreateFAQ:
  3726.       type: object
  3727.       required:
  3728.         - question
  3729.         - answer
  3730.         - faqStatus
  3731.       properties:
  3732.         question:
  3733.           type: string
  3734.           example: Transaksi Pembelian Reksa Dana - Saya telah memilih reksadana untuk berinvestasi, tetapi tidak ada yang terjadi. Apa yang harus saya lakukan?
  3735.         answer:
  3736.           type: string
  3737.           example: Silakan memeriksa kembali detail email Transaksi Anda untuk rincian penyelesaian pembayaran. Setelah Anda telah membayar transaksi pembelian reksa dana, silahkan kirim email dari slip setoran sehingga kami dapat mengkonfirmasi pembayaran Anda. Juga, untuk memeriksa apakah transaksi Anda tercatat, anda dapat melihat di dashboard dan melihat apakah terdapat pending order. Jika Anda telah membayar untuk reksa dana yang telah anda pilih, Status Transaksi akan berubah menjadi "Allocated". Jika Anda mengalami masalah, silakan kirimkan email ke kami di support@invisee.com Atau anda dapat menghubungi kami di 021-3860815 (jam kantor dari jam 09.00-17.00 WIB) dan kami akan dengan senang hati membantu anda.
  3738.         faqStatus:
  3739.           type: boolean
  3740.           example: true
  3741.          
  3742.     paramCreateFAQ_Ava:
  3743.       type: object
  3744.       required:
  3745.         - class
  3746.         - id
  3747.         - faqStatusApp
  3748.         - answer
  3749.         - answerTemp
  3750.         - atFAQId
  3751.         - createdBy
  3752.         - createdDate
  3753.         - faqNummber
  3754.         - faqStatus
  3755.         - faqStatusTemp
  3756.         - question
  3757.         - questionTemp
  3758.         - updatedBy
  3759.         - updatedDate
  3760.       properties:
  3761.         class:
  3762.           type: string
  3763.           example: com.indivaragroup.investment.core.data.FAQ
  3764.         id:
  3765.           description: ID officer
  3766.           type: integer
  3767.           format: int32
  3768.           example: 16
  3769.         faqStatusApp:
  3770.           type: string
  3771.           example: PEN
  3772.         answer:
  3773.           type: string
  3774.           example: Silakan memeriksa kembali detail email Transaksi Anda untuk rincian penyelesaian pembayaran. Setelah Anda telah membayar transaksi pembelian reksa dana, silahkan kirim email dari slip setoran sehingga kami dapat mengkonfirmasi pembayaran Anda. Juga, untuk memeriksa apakah transaksi Anda tercatat, anda dapat melihat di dashboard dan melihat apakah terdapat pending order. Jika Anda telah membayar untuk reksa dana yang telah anda pilih, Status Transaksi akan berubah menjadi "Allocated". Jika Anda mengalami masalah, silakan kirimkan email ke kami di support@invisee.com Atau anda dapat menghubungi kami di 021-3860815 (jam kantor dari jam 09.00-17.00 WIB) dan kami akan dengan senang hati membantu anda.
  3775.         answerTemp:
  3776.           type: string
  3777.           example: Null
  3778.         atFAQId:
  3779.           description: FAQ Id on Ava
  3780.           type: string
  3781.           example: 1680ae98-cc25-4b56-9791-c09943c34629
  3782.         createdBy:
  3783.           description: CreatedBy on Ava
  3784.           type: string
  3785.           example: yanuar.hamzah@invisee.com
  3786.         createdDate:
  3787.           description: CreatedDate on Ava
  3788.           type: string
  3789.           format: date-time
  3790.           example: 27092019
  3791.         faqNumber:
  3792.           type: string
  3793.           example: null
  3794.         faqStatus:
  3795.           type: boolean
  3796.           example: true
  3797.         faqStatusTemp:
  3798.           type: boolean
  3799.           example: Null
  3800.         question:
  3801.           type: string
  3802.           example: Transaksi Pembelian Reksa Dana - Saya telah memilih reksadana untuk berinvestasi, tetapi tidak ada yang terjadi. Apa yang harus saya lakukan?
  3803.         questionTemp:
  3804.           type: string
  3805.           example: Null
  3806.         updatedBy:
  3807.           description: CreatedBy on Ava
  3808.           type: string
  3809.           example: null
  3810.         updatedDate:
  3811.           description: CreatedDate on Ava
  3812.           type: string
  3813.           format: datetime
  3814.           example: null
  3815.      
  3816.     responseCreateFAQ:
  3817.       type: object
  3818.       properties:
  3819.         code:
  3820.           type: integer
  3821.           format: int32
  3822.           example: 1
  3823.         info:
  3824.           type: string
  3825.           example: FAQ has successfully been saved. And waiting for approval to release
  3826.         data:
  3827.           $ref: '#/components/schemas/paramCreateFAQ_Ava'
  3828.  
  3829.     paramUpdateFAQ:
  3830.       type: object
  3831.       required:
  3832.         - question
  3833.         - answer
  3834.         - faqStatus
  3835.         - action (1= req_update, 0= req_delete)
  3836.       properties:
  3837.         question:
  3838.           type: string
  3839.           example: Transaksi Pembelian Reksa Dana - Saya telah memilih reksadana untuk berinvestasi, tetapi tidak ada yang terjadi. Apa yang harus saya lakukan?
  3840.         answer:
  3841.           type: string
  3842.           example: Silakan memeriksa kembali detail email Transaksi Anda untuk rincian penyelesaian pembayaran. Setelah Anda telah membayar transaksi pembelian reksa dana, silahkan kirim email dari slip setoran sehingga kami dapat mengkonfirmasi pembayaran Anda. Juga, untuk memeriksa apakah transaksi Anda tercatat, anda dapat melihat di dashboard dan melihat apakah terdapat pending order. Jika Anda telah membayar untuk reksa dana yang telah anda pilih, Status Transaksi akan berubah menjadi "Allocated". Jika Anda mengalami masalah, silakan kirimkan email ke kami di support@invisee.com Atau anda dapat menghubungi kami di 021-3860815 (jam kantor dari jam 09.00-17.00 WIB) dan kami akan dengan senang hati membantu anda.
  3843.         faqStatus:
  3844.           type: boolean
  3845.           example: true
  3846.         action:
  3847.           type: integer
  3848.           format: int32
  3849.           example: 1
  3850.          
  3851.     responseFAQList:
  3852.       type: object
  3853.       required:
  3854.         - code
  3855.         - info
  3856.         - data
  3857.       properties:
  3858.         code:
  3859.           type: integer
  3860.           format: int32
  3861.           example: 1
  3862.         action:
  3863.           type: string
  3864.           example: FAQ List success to load
  3865.         data:
  3866.           type: array
  3867.           items:
  3868.               $ref: '#/components/schemas/responseFAQData'
  3869.              
  3870.     responseFAQData:
  3871.       type: object
  3872.       required:
  3873.         - id
  3874.         - answer
  3875.         - faqStatus
  3876.         - question
  3877.         - faqStatusApp
  3878.         - answerTemp
  3879.         - faqStatusTemp
  3880.         - questionTemp
  3881.         - statusRequest
  3882.       properties:
  3883.         id:
  3884.           type: integer
  3885.           format: int32
  3886.           example: 29
  3887.         answer:
  3888.           type: string
  3889.           example: Sekarang. Semakin lama anda membuang waktu, semakin banyak kesempatan yang akan hilang.
  3890.         faqStatus:
  3891.           type: boolean
  3892.           example: true
  3893.         question:
  3894.           type: string
  3895.           example: Waktu berinvestasi - Kapan waktu yang tepat untuk berinvestasi?
  3896.         faqStatusApp:
  3897.           type: string
  3898.           example: APP
  3899.         answerTemp:
  3900.           type: string
  3901.           example: ""
  3902.         faqStatusTemp:
  3903.           type: boolean
  3904.           example: ""
  3905.         questionTemp:
  3906.           type: string
  3907.           example: ""
  3908.         statusRequest:
  3909.           type: string
  3910.           example: "NEW"
  3911.          
  3912.     responseFAQDetail:
  3913.       type: object
  3914.       required:
  3915.         - code
  3916.         - info
  3917.         - data
  3918.       properties:
  3919.         code:
  3920.           type: integer
  3921.           format: int32
  3922.           example: 1
  3923.         action:
  3924.           type: string
  3925.           example: FAQ List success to load
  3926.         data:
  3927.           type: array
  3928.           items:
  3929.               $ref: '#/components/schemas/responseFAQDataDetail'
  3930.    
  3931.     responseFAQDataDetail:
  3932.       type: object
  3933.       required:
  3934.         - id
  3935.         - answer
  3936.         - faqStatus
  3937.         - question
  3938.         - faqStatusApp
  3939.         - answerTemp
  3940.         - faqStatusTemp
  3941.         - questionTemp
  3942.         - atFaqId
  3943.         - class
  3944.         - statusRequest
  3945.         - createdBy
  3946.         - ceratedDate
  3947.         - faqNumber
  3948.         - updatedBy
  3949.         - updatedDate
  3950.       properties:
  3951.         id:
  3952.           type: integer
  3953.           format: int32
  3954.           example: 29
  3955.         answer:
  3956.           type: string
  3957.           example: Sekarang. Semakin lama anda membuang waktu, semakin banyak kesempatan yang akan hilang.
  3958.         faqStatus:
  3959.           type: boolean
  3960.           example: true
  3961.         question:
  3962.           type: string
  3963.           example: null
  3964.         faqStatusApp:
  3965.           type: string
  3966.           example: PEN
  3967.         answerTemp:
  3968.           type: string
  3969.           example: null
  3970.         faqStatusTemp:
  3971.           type: boolean
  3972.           example: true
  3973.         questionTemp:
  3974.           type: string
  3975.           example: null
  3976.         atFaqId:
  3977.           type: string
  3978.           example: "05096ec-6faa-459b-bd97-58d933adc620"
  3979.         class:
  3980.           type: string
  3981.           example: "Com.indivaragroup.investment.core.data.FAQ"
  3982.         statusRequest:
  3983.           type: string
  3984.           example: "EDIT"
  3985.         createdBy:
  3986.           type: string
  3987.           example: "eri.primaria@invisee.com"
  3988.         createdDate:
  3989.           type: string
  3990.           format: date
  3991.           example: "2016-09-26T17:01:43+07:00"
  3992.         faqNumber:
  3993.           type: string
  3994.           example:
  3995.         UpdateddBy:
  3996.           type: string
  3997.           example: null
  3998.         UpdatedDate:
  3999.           type: string
  4000.           format: date
  4001.           example: null
  4002.    
  4003.     paramAppFAQ:
  4004.       type: object
  4005.       required:
  4006.         - id
  4007.         - action_app (1 = approve, 0 = reject)
  4008.       properties:
  4009.         id:
  4010.           type: integer
  4011.           format: int32
  4012.           example: 17
  4013.         action_app:
  4014.           type: integer
  4015.           format: int32
  4016.           example: 1
  4017.          
  4018.     responseArticleList:
  4019.       type: object
  4020.       required:
  4021.         - code
  4022.         - info
  4023.         - data
  4024.       properties:
  4025.         code:
  4026.           type: integer
  4027.           format: int32
  4028.           example: 1
  4029.         info:
  4030.           type: string
  4031.           example: Success
  4032.         data:
  4033.           type: array
  4034.           items:
  4035.               $ref: '#/components/schemas/responseArticleListData'
  4036.    
  4037.     responseArticleListData:
  4038.       type: object
  4039.       required:
  4040.         - id
  4041.         - CreatedBy
  4042.         - CreatedDate
  4043.         - imageLocation
  4044.         - newsAuthor
  4045.         - newsContent
  4046.         - newsTitle
  4047.         - publishStatus
  4048.         - updatedBy
  4049.         - updatedDate
  4050.         - newsTitleTemp
  4051.         - newsContentTemp
  4052.         - publishStatusTemp
  4053.  
  4054.       properties:
  4055.         id:
  4056.           type: integer
  4057.           format: int32
  4058.           example: 29
  4059.         CreatedBy:
  4060.           type: string
  4061.           example: yanuar.hamzah@invisee.com
  4062.         CreatedDate:
  4063.           type: string
  4064.           format: date-time
  4065.           example: "2019-03-08T16:58:53+07:00"
  4066.         imageLocation:
  4067.           type: string
  4068.           example: "90608e33-fdc5-4a2b-b2f5-ac9a006276da"
  4069.         newsAuthor:
  4070.           type: string
  4071.           example: Ririn AVER
  4072.         newsContent:
  4073.           type: string
  4074.           example: Testing Article
  4075.         newsTitle:
  4076.           type: string
  4077.           example: Testing Title
  4078.         publishStatus:
  4079.           type: boolean
  4080.           example: true
  4081.         updatedBy:
  4082.           type: string
  4083.           example: yanuar.hamzah@invisee.com
  4084.         UpdatedDate:
  4085.           type: string
  4086.           example: '2019-03-08T16:58:53+07:00'
  4087.         newsContentTemp:
  4088.           type: string
  4089.           example: Testing Article
  4090.         newsTitleTemp:
  4091.           type: string
  4092.           example: Testing Title updatean
  4093.         publishStatusTemp:
  4094.           type: boolean
  4095.           example: true
  4096.     responseNewsDetail:
  4097.       type: object
  4098.       required:
  4099.         - code
  4100.         - info
  4101.         - data
  4102.       properties:
  4103.         code:
  4104.           type: integer
  4105.           format: int32
  4106.           example: 1
  4107.         action:
  4108.           type: string
  4109.           example: Article List success to load
  4110.         data:
  4111.           type: array
  4112.           items:
  4113.               $ref: '#/components/schemas/responseNewsDataDetail'
  4114.    
  4115.     responseNewsDataDetail:
  4116.       type: object
  4117.       required:
  4118.         - id
  4119.         - activeStatus
  4120.         - class
  4121.         - createdBy
  4122.         - createdDate
  4123.         - imageLocation
  4124.         - newsAuthor
  4125.         - newsContent
  4126.         - newsTitle
  4127.         - publishStatus
  4128.         - publishedDate
  4129.         - UpdatedDate
  4130.         - updatedBy
  4131.         - imageLocationTemp
  4132.         - newsAuthorTemp
  4133.         - newsContentTemp
  4134.         - newsTitleTemp
  4135.         - publishStatusTemp
  4136.        
  4137.       properties:
  4138.         id:
  4139.           type: integer
  4140.           format: int32
  4141.           example: 29
  4142.         activeStatus:
  4143.           type: boolean
  4144.           example: true
  4145.         class:
  4146.           type: string
  4147.           example: "com.indivaragroup.investment.core.data.News"
  4148.         createdBy:
  4149.           type: string
  4150.           example: "eri.primaria@invisee.com"
  4151.         createdDate:
  4152.           type: string
  4153.           example: "2016-09-26T17:01:43+07:00"
  4154.         imageLocation:
  4155.           type: string
  4156.           example: "90608e33-fdc5-4a2b-b2f5-ac9a006276da"
  4157.         newsAuthor:
  4158.           type: string
  4159.           example: "xxxx"
  4160.         newsContent:
  4161.           type: string
  4162.           example: "xxxxxxxxxxxxx"
  4163.         newsTitle:
  4164.           type: string
  4165.           example: "Test Article"
  4166.         publishStatus:
  4167.           type: boolean
  4168.           example: false
  4169.         publishedDate:
  4170.           type: string
  4171.           example: "2016-09-26T17:01:43+07:00"
  4172.         UpdatedDate:
  4173.           type: string
  4174.           example: "2016-09-26T17:01:43+07:00"
  4175.         updatedBy:
  4176.           type: string
  4177.           example: "eri.primaria@invisee.com"
  4178.         imageLocationTemp:
  4179.           type: string
  4180.           example: null
  4181.         newsAuthorTemp:
  4182.           type: string
  4183.           example: null
  4184.         newsContentTemp:
  4185.           type: string
  4186.           example: null
  4187.         newsTitleTemp:
  4188.           type: string
  4189.           example: null
  4190.         publishStatusTemp:
  4191.           type: string
  4192.           example: null
  4193.        
  4194.     paramCreateArticle:
  4195.       type: object
  4196.       required:
  4197.         - description
  4198.         - image
  4199.         - published
  4200.         - title
  4201.       properties:
  4202.         description:
  4203.           type: string
  4204.           example: Test Description
  4205.         image:
  4206.           type: string
  4207.           example: de7cc0ca-f089-43c6-af84-143eb8a6f6c3
  4208.         published:
  4209.           type: boolean
  4210.           example: true
  4211.         title:
  4212.           type: string
  4213.           example: Test Title
  4214.    
  4215.     responseGeneral:
  4216.       type: object
  4217.       properties:
  4218.         code:
  4219.           type: integer
  4220.           format: int32
  4221.           example: 1
  4222.         info:
  4223.           type: string
  4224.           example: Success
  4225.          
  4226.     paramUpdateArticle:
  4227.       type: object
  4228.       required:
  4229.         - description
  4230.         - image
  4231.         - published
  4232.         - title
  4233.         - id
  4234.         - action (1= req_update, 0= req_delete)
  4235.       properties:
  4236.         decription:
  4237.           type: string
  4238.           example: "Lalalalala<div>Ntah apa jadinya</div><div><br></div>"
  4239.         image:
  4240.           type: string
  4241.           example: de7cc0ca-f089-43c6-af84-143eb8a6f6c3
  4242.         published:
  4243.           type: boolean
  4244.           example: true
  4245.         title:
  4246.           type: string
  4247.           example: "Reksa Dana ITB Harmoni BNI - AM"
  4248.         id:
  4249.           type: integer
  4250.           format: int32
  4251.           example: 17
  4252.         action:
  4253.           type: integer
  4254.           format: int32
  4255.           example: 1
  4256.          
  4257.     paramAppArticle:
  4258.       type: object
  4259.       required:
  4260.         - id
  4261.         - action_app (1 = approve, 0 = reject)
  4262.       properties:
  4263.         id:
  4264.           type: integer
  4265.           format: int32
  4266.           example: 17
  4267.         action_app:
  4268.           type: integer
  4269.           format: int32
  4270.           example: 1
  4271.          
  4272.     paramPromoList:
  4273.       type: object
  4274.       required:
  4275.         - token
  4276.       properties:
  4277.         token:
  4278.           type: string
  4279.           example: "AAABadX9J93pkk77AKC6TrXhJaOUyZXwhNbAv8MHLXaZvbxNe84gIgwfVLEW62BxfbB0neNtTP22XtEp6p04ccV-GWGqcnph19ijq_zqWGA8wKHIBsUk87xqpEfc5UqM4eopNRl-_fYI2NHlFvBERR3llXk86ZYQW8F0OAFcKy-kTZJl"
  4280.              
  4281.     responsePromoList:
  4282.       type: object
  4283.       required:
  4284.         - code
  4285.         - info
  4286.         - data
  4287.       properties:
  4288.         code:
  4289.           type: integer
  4290.           format: int32
  4291.           example: 1
  4292.         info:
  4293.           type: string
  4294.           example: Promo list successfully loaded
  4295.         data:
  4296.           type: array
  4297.           items:
  4298.               $ref: '#/components/schemas/responsePromoListData'
  4299.    
  4300.     responsePromoListData:
  4301.       type: object
  4302.       required:
  4303.         - code
  4304.         - effective_end
  4305.         - effective_start
  4306.         - image
  4307.         - imageAndroid
  4308.         - introtext
  4309.         - joined
  4310.         - quota
  4311.         - title
  4312.         - codeTemp
  4313.         - effective_end_temp
  4314.         - effective_start_temp
  4315.         - imageTemp
  4316.         - imageAndroidTemp
  4317.         - introtextTemp
  4318.         - joinedTemp
  4319.         - quotaTemp
  4320.         - titleTemp
  4321.         - statusRequest
  4322.  
  4323.       properties:
  4324.         code:
  4325.           type: string
  4326.           example: PNBP2
  4327.         effective_end:
  4328.           type: string
  4329.           format: date-time
  4330.           example: "2018-02-02T17:00:00.000Z"
  4331.         effective_start:
  4332.           type: string
  4333.           format: date-time
  4334.           example: "2018-02-02T17:00:00.000Z"
  4335.         image:
  4336.           type: string
  4337.           example: "49430ba6-2724-49fd-89ba-24497631086b"
  4338.         imageAndroid:
  4339.           type: string
  4340.           example: null
  4341.         introtext:
  4342.           type: string
  4343.           example: "Test"
  4344.         joined:
  4345.           type: integer
  4346.           format: int32
  4347.           example: 2
  4348.         quota:
  4349.           type: integer
  4350.           format: int32
  4351.           example: 100
  4352.         title:
  4353.           type: string
  4354.           example: "Program Nabung Bangkok - Pattaya Batch 2"
  4355.         codeTemp:
  4356.           type: string
  4357.           example: null
  4358.         effective_end_temp:
  4359.           type: string
  4360.           format: date-time
  4361.           example: null
  4362.         effective_start_temp:
  4363.           type: string
  4364.           format: date-time
  4365.           example: null
  4366.         imageTemp:
  4367.           type: string
  4368.           example: null
  4369.         imageAndroidTemp:
  4370.           type: string
  4371.           example: null
  4372.         introtextTemp:
  4373.           type: string
  4374.           example: null
  4375.         joinedTemp:
  4376.           type: integer
  4377.           format: int32
  4378.           example: null
  4379.         quotaTemp:
  4380.           type: integer
  4381.           format: int32
  4382.           example: null
  4383.         titleTemp:
  4384.           type: string
  4385.           example: null
  4386.         statusRequest:
  4387.           type: string
  4388.           example: DEL
  4389.          
  4390.     paramPromoDetail:
  4391.       type: object
  4392.       required:
  4393.         - token
  4394.         - code
  4395.       properties:
  4396.         token:
  4397.           type: string
  4398.           example: "AAABadX9J93pkk77AKC6TrXhJaOUyZXwhNbAv8MHLXaZvbxNe84gIgwfVLEW62BxfbB0neNtTP22XtEp6p04ccV-GWGqcnph19ijq_zqWGA8wKHIBsUk87xqpEfc5UqM4eopNRl-_fYI2NHlFvBERR3llXk86ZYQW8F0OAFcKy-kTZJl"
  4399.         code:
  4400.           type: string
  4401.           example: "RZK-AB"
  4402.          
  4403.     responsePromoDetail:
  4404.       type: object
  4405.       required:
  4406.         - code
  4407.         - info
  4408.         - data
  4409.       properties:
  4410.         code:
  4411.           type: integer
  4412.           format: int32
  4413.           example: 1
  4414.         action:
  4415.           type: string
  4416.           example: Promo Detail success to load
  4417.         data:
  4418.           type: array
  4419.           items:
  4420.               $ref: '#/components/schemas/responsePromoDataDetail'
  4421.    
  4422.     responsePromoDataDetail:
  4423.       type: object
  4424.       required:
  4425.         - code
  4426.         - description
  4427.         - descriptionTemp
  4428.         - effective_end
  4429.         - effective_endTemp
  4430.         - effective_start
  4431.         - effective_startTemp
  4432.         - effective_status
  4433.         - effective_statusTemp
  4434.         - image
  4435.         - imageTemp
  4436.         - image_android
  4437.         - image_androidTemp
  4438.         - imagename_android
  4439.         - imagename_androidTemp
  4440.         - introtext
  4441.         - introtextTemp
  4442.         - joined
  4443.         - quota
  4444.         - quotaTemp
  4445.         - tittle
  4446.         - tittleTemp
  4447.        
  4448.        
  4449.       properties:
  4450.         code:
  4451.           type: string
  4452.           example: "ULTAH-INV"
  4453.         id:
  4454.           type: integer
  4455.           format: int32
  4456.           example: 121
  4457.         description:
  4458.           type: string
  4459.           example: "test"
  4460.         descriptionTemp:
  4461.           type: string
  4462.           example: null
  4463.         effective_end:
  4464.           type: string
  4465.           example: "2016-09-26T17:01:43+07:00"
  4466.         effective_end_temp:
  4467.           type: string
  4468.           example: null
  4469.         effective_start:
  4470.           type: string
  4471.           example: "2016-09-26T17:01:43+07:00"
  4472.         effective_start_temp:
  4473.           type: string
  4474.           example: null
  4475.         effective_status:
  4476.           type: boolean
  4477.           example: true
  4478.         effective_status_temp:
  4479.           type: boolean
  4480.           example: true
  4481.         image:
  4482.           type: string
  4483.           example: "33aff0d9-1359-4ca0-8498-076df9946f9f"
  4484.         imageTemp:
  4485.           type: string
  4486.           example: null
  4487.         image_android:
  4488.           type: string
  4489.           example: null
  4490.         image_androidTemp:
  4491.           type: string
  4492.           example: null
  4493.         imagename_android:
  4494.           type: string
  4495.           example: null
  4496.         imagename_androidTemp:
  4497.             type: string
  4498.             example: null
  4499.         introtext:
  4500.             type: string
  4501.             example: null
  4502.         introtextTemp:
  4503.           type: string
  4504.           example: null
  4505.         joined:
  4506.           type: integer
  4507.           format: int32
  4508.           example: null
  4509.         quota:
  4510.           type: integer
  4511.           format: int32
  4512.           example: 22
  4513.         quotaTemp:
  4514.           type: integer
  4515.           format: int32
  4516.           example: null
  4517.         tittle:
  4518.           type: string
  4519.           example: null
  4520.         tittleTemp:
  4521.           type: string
  4522.           example: null
  4523.        
  4524.     paramAddPromo:
  4525.       type: object
  4526.       required:
  4527.  
  4528.         - token
  4529.         - code
  4530.         - description
  4531.         - effective_end
  4532.         - effective_start
  4533.         - effective_status
  4534.         - image
  4535.         - introtext
  4536.         - quota
  4537.         - title
  4538.  
  4539.       properties:
  4540.         token:
  4541.           type: string
  4542.           example: "AAABadX9J93pkk77AKC6TrXhJaOUyZXwhNbAv8MHLXaZvbxNe84gIgwfVLEW62BxfbB0neNtTP22XtEp6p04ccV-GWGqcnph19ijq_zqWGA8wKHIBsUk87xqpEfc5UqM4eopNRl-_fYI2NHlFvBERR3llXk86ZYQW8F0OAFcKy-kTZJl"
  4543.         code:
  4544.           type: string
  4545.           example: "MMIW"
  4546.         description:
  4547.           type: string
  4548.           example: "Lalalalala<div>Ntah apa jadinya</div><div><br></div>"
  4549.         effective_end:
  4550.           type: string
  4551.           format: date-time
  4552.           example: "2018-02-04T17:00:00.000Z"
  4553.         effective_start:
  4554.           type: string
  4555.           format: date-time
  4556.           example: "2018-01-24T17:00:00.000Z"
  4557.         effective_status:
  4558.           type: boolean
  4559.           example: false
  4560.         image:
  4561.           type: string
  4562.           example: de7cc0ca-f089-43c6-af84-143eb8a6f6c3
  4563.         introtext:
  4564.           type: string
  4565.           example: Test
  4566.         quota:
  4567.           type: integer
  4568.           format: int32
  4569.           example: 100
  4570.         title:
  4571.           type: string
  4572.           example: "MMI Week 2018_1"
  4573.          
  4574.     paramUpdatePromo:
  4575.       type: object
  4576.       required:
  4577.         - token
  4578.         - code
  4579.         - description
  4580.         - effective_end
  4581.         - effective_start
  4582.         - effective_status
  4583.         - image
  4584.         - introtext
  4585.         - quota
  4586.         - title
  4587.         - action (1= req_update, 0= req_delete)
  4588.       properties:
  4589.         token:
  4590.           type: string
  4591.           example: "AAABadX9J93pkk77AKC6TrXhJaOUyZXwhNbAv8MHLXaZvbxNe84gIgwfVLEW62BxfbB0neNtTP22XtEp6p04ccV-GWGqcnph19ijq_zqWGA8wKHIBsUk87xqpEfc5UqM4eopNRl-_fYI2NHlFvBERR3llXk86ZYQW8F0OAFcKy-kTZJl"
  4592.         code:
  4593.           type: string
  4594.           example: "MMIW"
  4595.         decription:
  4596.           type: string
  4597.           example: "Lalalalala<div>Ntah apa jadinya</div><div><br></div>"
  4598.         effective_end:
  4599.           type: string
  4600.           format: date-time
  4601.           example: "2018-02-04T17:00:00.000Z"
  4602.         effective_start:
  4603.           type: string
  4604.           format: date-time
  4605.           example: "2018-01-24T17:00:00.000Z"
  4606.         effective_status:
  4607.           type: boolean
  4608.           example: false
  4609.         image:
  4610.           type: string
  4611.           example: de7cc0ca-f089-43c6-af84-143eb8a6f6c3
  4612.         introtext:
  4613.           type: string
  4614.           example: Test
  4615.         quota:
  4616.           type: integer
  4617.           format: int32
  4618.           example: 100
  4619.         title:
  4620.           type: string
  4621.           example: "MMI Week 2018_1"
  4622.         action:
  4623.           type: integer
  4624.           format: int32
  4625.           example: 1
  4626.    
  4627.     paramAppPromo:
  4628.       type: object
  4629.       required:
  4630.         - id
  4631.         - action_app (1 = approve, 0 = reject
  4632.       properties:
  4633.         id:
  4634.           type: integer
  4635.           format: int32
  4636.           example: 53
  4637.         action_app:
  4638.           type: integer
  4639.           format: int32
  4640.           example: 1
  4641.    
  4642.     responseSliderList:
  4643.       type: object
  4644.       required:
  4645.         - code
  4646.         - info
  4647.         - data
  4648.       properties:
  4649.         code:
  4650.           type: integer
  4651.           format: int32
  4652.           example: 1
  4653.         action:
  4654.           type: string
  4655.           example: "Slideshow list successfully loaded"
  4656.         data:
  4657.           type: array
  4658.           items:
  4659.               $ref: '#/components/schemas/responseSliderData'
  4660.              
  4661.     responseSliderData:
  4662.       type: object
  4663.       required:
  4664.         - id
  4665.         - effective_end
  4666.         - effective_start
  4667.         - tittle
  4668.         - androidImage
  4669.         - bgImage
  4670.         - mainImage
  4671.         - seq
  4672.         - urlStatus
  4673.         - effective_endTemp
  4674.         - effective_startTemp
  4675.         - tittleTemp
  4676.         - androidImageTemp
  4677.         - bgImageTemp
  4678.         - mainImageTemp
  4679.         - seqTemp
  4680.         - urlStatusTemp
  4681.         - statusRequest
  4682.        
  4683.       properties:
  4684.         id:
  4685.           type: integer
  4686.           format: int32
  4687.           example: 140
  4688.         effective_start:
  4689.           type: string
  4690.           example: "01-Apr-2019"
  4691.         effective_end:
  4692.           type: string
  4693.           example: "30-Apr-2019"
  4694.         tittle:
  4695.           type: string
  4696.           example: Coba
  4697.         androidImage:
  4698.           type: string
  4699.           example: "b2216c6b-904e-4a12-b4f2-997d91b77cf1"
  4700.         bgImage:
  4701.           type: string
  4702.           example: "b2216c6b-904e-4a12-b4f2-997d91b77cf1"
  4703.         mainImage:
  4704.           type: string
  4705.           example: "b2216c6b-904e-4a12-b4f2-997d91b77cf1"
  4706.         seq:
  4707.           type: integer
  4708.           format: int32
  4709.           example: 1
  4710.         urlStatus:
  4711.           type: boolean
  4712.           example: true
  4713.         effective_startTemp:
  4714.           type: string
  4715.           example: null
  4716.         effective_endTemp:
  4717.           type: string
  4718.           example: null
  4719.         tittleTemp:
  4720.           type: string
  4721.           example: null
  4722.         androidImageTemp:
  4723.           type: string
  4724.           example: null
  4725.         bgImageTemp:
  4726.           type: string
  4727.           example: null
  4728.         mainImageTemp:
  4729.           type: string
  4730.           example: null
  4731.         seqTemp:
  4732.           type: integer
  4733.           format: int32
  4734.           example: null
  4735.         urlStatusTemp:
  4736.           type: boolean
  4737.           example: null
  4738.         statusRequest:
  4739.           type: string
  4740.           example: APP
  4741.        
  4742.     paramSliderDetail:
  4743.       type: object
  4744.       required:
  4745.         - id
  4746.       properties:
  4747.         id:
  4748.           type: integer
  4749.           format: int32
  4750.           example: 115
  4751.          
  4752.         token:
  4753.           type: string
  4754.           example: "AAABadxlw1xiMAvc0zS6QUOzyKe5vy_AxxOZYIvgwtszSlfG9PgNg28JbawKdvlGl8cNFWslY6Plp7F-tu6jHtW_ogoxnI6G_LOsAXOcZWHEFoSag8SuUDPFaifF7xqJMqvJp4W6Kt4ptB4geqXCUbE-jCgVvrN7HBrhPby3naihoW1I"
  4755.    
  4756.     responseSliderDetail:
  4757.       type: object
  4758.       required:
  4759.         - code
  4760.         - info
  4761.         - data
  4762.       properties:
  4763.         code:
  4764.           type: integer
  4765.           format: int32
  4766.           example: 1
  4767.         action:
  4768.           type: string
  4769.           example: "Slideshow detail successfully loaded"
  4770.         data:
  4771.           type: array
  4772.           items:
  4773.               $ref: '#/components/schemas/responseSliderDataDetail'
  4774.    
  4775.     responseSliderDataDetail:
  4776.       type: object
  4777.       required:
  4778.         - description
  4779.         - effectiveStart
  4780.         - effectiveEnd
  4781.         - id
  4782.         - idCode
  4783.         - image
  4784.         - status
  4785.         - tittle
  4786.         - type
  4787.  
  4788.       properties:
  4789.         id:
  4790.           type: integer
  4791.           format: int32
  4792.           example: 29
  4793.         description:
  4794.           type: string
  4795.           example: "testing satu dua tiga"
  4796.         effectiveStart:
  4797.           type: string
  4798.           example: "01-04-2019"
  4799.         effectiveEnd:
  4800.           type: string
  4801.           example: "30-04-2019"
  4802.         idCode:
  4803.           type: string
  4804.           example: "youtube"
  4805.         image:
  4806.           type: string
  4807.           example: "90608e33-fdc5-4a2b-b2f5-ac9a006276da"
  4808.         status:
  4809.           type: boolean
  4810.           example: true
  4811.         title:
  4812.           type: string
  4813.           example: "coba"
  4814.         type:
  4815.           type: string
  4816.           example: "YOUTUBE"
  4817.    
  4818.     paramAddSlider:
  4819.       type: object
  4820.       required:
  4821.        
  4822.         - effectiveEnd
  4823.         - effectiveStart
  4824.         - effectiveStatus
  4825.         - seq
  4826.         - androidImage
  4827.         - bgImage
  4828.         - mainImage
  4829.         - newTab
  4830.         - title
  4831.         - token
  4832.         - url status
  4833.         - url
  4834.       properties:
  4835.         effectiveEnd:
  4836.           type: string
  4837.           format: date-time
  4838.           example: "2018-02-04T17:00:00.000Z"
  4839.         effectiveStart:
  4840.           type: string
  4841.           format: date-time
  4842.           example: "2018-01-24T17:00:00.000Z"
  4843.         effectiveStatus:
  4844.           type: string
  4845.           example: true
  4846.         seq:
  4847.           type: integer
  4848.           format: int32
  4849.           example: 12
  4850.         androidImage:
  4851.           type: string
  4852.           example: de7cc0ca-f089-43c6-af84-143eb8a6f6c3
  4853.         bgImage:
  4854.           type: string
  4855.           example: de7cc0ca-f089-43c6-af84-143eb8a6f6c3
  4856.         mainImage:
  4857.           type: string
  4858.           example: de7cc0ca-f089-43c6-af84-143eb8a6f6c3
  4859.         newTab:
  4860.           type: boolean
  4861.           example: false
  4862.         title:
  4863.           type: string
  4864.           example: "MMI Week 2018_1"
  4865.         token:
  4866.           type: string
  4867.           example: "AAABadxlw1xiMAvc0zS6QUOzyKe5vy_AxxOZYIvgwtszSlfG9PgNg28JbawKdvlGl8cNFWslY6Plp7F-tu6jHtW_ogoxnI6G_LOsAXOcZWHEFoSag8SuUDPFaifF7xqJMqvJp4W6Kt4ptB4geqXCUbE-jCgVvrN7HBrhPby3naihoW1I"
  4868.         url:
  4869.           type: string
  4870.           example: "#promo"
  4871.         urlStatus:
  4872.           type: boolean
  4873.           example: true
  4874.     paramUpdateSlider:
  4875.       type: object
  4876.       required:
  4877.         - description
  4878.         - effectiveEnd
  4879.         - effectiveStart
  4880.         - id
  4881.         - idCode
  4882.         - image
  4883.         - status
  4884.         - tittle
  4885.         - type
  4886.         - action (1= req_update, 0= req_delete)
  4887.       properties:
  4888.         decription:
  4889.           type: string
  4890.           example: "Lalalalala<div>Ntah apa jadinya</div><div><br></div>"
  4891.         effectiveEnd:
  4892.           type: string
  4893.           format: date-time
  4894.           example: "2018-02-04T17:00:00.000Z"
  4895.         effectiveStart:
  4896.           type: string
  4897.           format: date-time
  4898.           example: "2018-01-24T17:00:00.000Z"
  4899.         id:
  4900.           type: integer
  4901.           format: int32
  4902.           example: 140
  4903.         idCode:
  4904.           type: string
  4905.           example: "youtube"
  4906.         image:
  4907.           type: string
  4908.           example: de7cc0ca-f089-43c6-af84-143eb8a6f6c3
  4909.         status:
  4910.           type: boolean
  4911.           example: true
  4912.         title:
  4913.           type: string
  4914.           example: "coba"
  4915.         type:
  4916.           type: string
  4917.           example: "YOUTUBE"
  4918.         action:
  4919.           type: integer
  4920.           format: int32
  4921.           example: 1
  4922.          
  4923.     paramUpdateFileIndividual:
  4924.       type: object
  4925.       required:
  4926.         - id
  4927.         - key
  4928.         - type
  4929.       properties:
  4930.         id:
  4931.           type: integer
  4932.           format: int32
  4933.           example: 113
  4934.         key:
  4935.           type: string
  4936.           example: "40848a3c-b785-43c9-a9fe-f766e1879f26"
  4937.         type:
  4938.           type: string
  4939.           example: "FundFactSheet/Prospectus"
  4940.         action:
  4941.           type: integer
  4942.           format: int32
  4943.           example: 1
  4944.          
  4945.     paramUpdateIndividual:
  4946.       type: object
  4947.       required:
  4948.         - id
  4949.         - action
  4950.         - type
  4951.       properties:
  4952.         id:
  4953.           type: integer
  4954.           format: int32
  4955.           example: 113
  4956.         action:
  4957.           type: integer
  4958.           format: int32
  4959.           example: :0
  4960.         type:
  4961.           type: string
  4962.           example: "FundFactSheet/Prospectus"
  4963.    
  4964.     paramCreateFPProduct:
  4965.       type: object
  4966.       required:
  4967.         - fundPackage
  4968.         - subsFee
  4969.         - redeemFee
  4970.         - switchingFee
  4971.         - product
  4972.         - fundEscrow
  4973.       properties:
  4974.          fundPackage:
  4975.           type: string
  4976.           example: "{}"
  4977.          subsFee:
  4978.             type: array
  4979.             items:
  4980.                 $ref: '#/components/schemas/subsfeeSet'
  4981.          redeemFee:
  4982.             type: array
  4983.             items:
  4984.                 $ref: '#/components/schemas/redeemfeeSet'
  4985.          switchingFee:
  4986.             type: array
  4987.             items:
  4988.                 $ref: '#/components/schemas/switchingfeeSet'
  4989.          product:
  4990.           type: string
  4991.           example: "[{}]"
  4992.          fundEscrow:
  4993.           type: string
  4994.           example: "{}"
  4995.    
  4996.     subsfeeSet:
  4997.       type: object
  4998.       required:
  4999.         - transactionType
  5000.         - amountMax
  5001.         - amountMin
  5002.         - feeAmount
  5003.       properties:
  5004.         transactiontype:
  5005.           type: integer
  5006.           format: int32
  5007.           example: 2
  5008.         amountMax:
  5009.           type: integer
  5010.           format: int32
  5011.           example: 1000000
  5012.         amountMin:
  5013.           type: integer
  5014.           format: int32
  5015.           example: 0
  5016.         feeAmount:
  5017.           type: string
  5018.           example: 0.02      
  5019.    
  5020.     redeemfeeSet:
  5021.       type: object
  5022.       required:
  5023.         - transactionType
  5024.         - amountMax
  5025.         - amountMin
  5026.         - feeAmount
  5027.       properties:
  5028.         transactiontype:
  5029.           type: integer
  5030.           format: int32
  5031.           example: 2
  5032.         amountMax:
  5033.           type: integer
  5034.           format: int32
  5035.           example: 1000000
  5036.         amountMin:
  5037.           type: integer
  5038.           format: int32
  5039.           example: 0
  5040.         feeAmount:
  5041.           type: string
  5042.           example: 0.02
  5043.    
  5044.     switchingfeeSet:
  5045.       type: object
  5046.       required:
  5047.         - transactionType
  5048.         - amountMax
  5049.         - amountMin
  5050.         - feeAmount
  5051.       properties:
  5052.         transactiontype:
  5053.           type: integer
  5054.           format: int32
  5055.           example: 9
  5056.         amountMax:
  5057.           type: integer
  5058.           format: int32
  5059.           example: 1000000
  5060.         amountMin:
  5061.           type: integer
  5062.           format: int32
  5063.           example: 0
  5064.         feeAmount:
  5065.           type: string
  5066.           example: 0.02
  5067.    
  5068.     responseCreateFP:
  5069.       type: object
  5070.       properties:
  5071.         code:
  5072.           type: integer
  5073.           format: int32
  5074.           example: 1
  5075.         info:
  5076.           type: string
  5077.           example: Packages has successfully been saved. And waiting for approval to release
  5078.          
  5079.     paramAppIF:
  5080.       type: object
  5081.       required:
  5082.         - id
  5083.         - action_app (1 = approve, 0 = reject)
  5084.       properties:
  5085.         id:
  5086.           type: integer
  5087.           format: int32
  5088.           example: 123
  5089.         action_app:
  5090.           type: integer
  5091.           format: int32
  5092.           example: 1
  5093.          
  5094.     paramEditFPProduct:
  5095.       type: object
  5096.       required:
  5097.         - fundPackage
  5098.         - subsFee
  5099.         - redeemFee
  5100.         - switchingFee
  5101.         - product
  5102.         - fundEscrow
  5103.         - action
  5104.       properties:
  5105.         fundPackage:
  5106.           type: string
  5107.           example: "{}"
  5108.         subsFee:
  5109.             type: array
  5110.             items:
  5111.                 $ref: '#/components/schemas/subsfeeSet'
  5112.         redeemFee:
  5113.             type: array
  5114.             items:
  5115.                 $ref: '#/components/schemas/redeemfeeSet'
  5116.         switchingFee:
  5117.             type: array
  5118.             items:
  5119.                 $ref: '#/components/schemas/switchingfeeSet'
  5120.         product:
  5121.           type: string
  5122.           example: "[{}]"
  5123.         fundEscrow:
  5124.           type: string
  5125.           example: "{}"
  5126.         action:
  5127.           type: string
  5128.           example: 1
  5129.          
  5130.     paramAppFP:
  5131.       type: object
  5132.       required:
  5133.         - id
  5134.         - action_app (1 = approve, 0 = reject)
  5135.       properties:
  5136.         id:
  5137.           type: integer
  5138.           format: int32
  5139.           example: 123
  5140.         action_app:
  5141.           type: integer
  5142.           format: int32
  5143.           example: 1
  5144.         statusRequest:
  5145.           type: string
  5146.           example: NEW
  5147.          
  5148.     responseSubsSuccess:
  5149.       type: object
  5150.       required:
  5151.         - code
  5152.         - info
  5153.         - data
  5154.       properties:
  5155.         code:
  5156.           type: integer
  5157.           format: int32
  5158.           example: 1
  5159.         action:
  5160.           type: string
  5161.           example: Success
  5162.         data:
  5163.           type: array
  5164.           items:
  5165.               $ref: '#/components/schemas/responseDetailSubs'
  5166.      
  5167.     responseDetailSubs:
  5168.       type: object
  5169.       required:
  5170.         - orderNumber
  5171.         - total
  5172.         - effectiveDate
  5173.         - effectiveTime
  5174.         - netFeeDto
  5175.         - referralCode
  5176.       properties:
  5177.         orderNumber:
  5178.           type: string
  5179.           example: O1701120000
  5180.         total:
  5181.           type: string
  5182.           example: 303000
  5183.         effectiveDate:
  5184.           type: string
  5185.           example: 12-Jan-2017
  5186.         effectiveTime:
  5187.           type: string
  5188.           example: 15:00:00
  5189.         netFeeDto:
  5190.           type: array
  5191.           items:
  5192.               $ref: '#/components/schemas/netFeeDto'
  5193.         refferalCode:
  5194.           type: integer
  5195.           format: int32
  5196.           example: 212
  5197.    
  5198.     netFeeDto:
  5199.       type: object
  5200.       required:
  5201.         - id
  5202.         - investmentAccount
  5203.         - fundPackageId
  5204.         - productName
  5205.         - feeAmount
  5206.         - feeRate
  5207.         - netAmount
  5208.         - total
  5209.         - trxType
  5210.         - composition
  5211.       properties:
  5212.         id:
  5213.           type: string
  5214.           example: 988
  5215.         investmentAccount:
  5216.           type: string
  5217.           example: I1701000021
  5218.         fundPackageId:
  5219.           type: string
  5220.           example: 18
  5221.         productName:
  5222.           type: string
  5223.           example: Reksa Dana Insight Money Syariah  
  5224.         feeAmount:
  5225.           type: string
  5226.           example: 0
  5227.         feeRate:
  5228.           type: string
  5229.           example: 0.01
  5230.         netAmount:
  5231.           type: string
  5232.           example: 300000
  5233.         total:
  5234.           type: string
  5235.           example: 303000
  5236.         trxType:
  5237.           type: string
  5238.           example: SUBSCRIPTION
  5239.         composition:
  5240.           type: array
  5241.           items:
  5242.             $ref: '#/components/schemas/composition'
  5243.            
  5244.     composition:
  5245.       type: object
  5246.       required:
  5247.         - productName
  5248.         - composition
  5249.         - settlementAccounts
  5250.         - netAmount
  5251.         - fee
  5252.         - totalAmount
  5253.       properties:
  5254.         productName:
  5255.           type: string
  5256.           example: REKSA DANA INSIGHT MONEY SYARIAH
  5257.         composition:
  5258.           type: integer
  5259.           format: int32
  5260.           example: 1
  5261.         settlementAccounts :
  5262.           type: array
  5263.           items:
  5264.             $ref: '#/components/schemas/SAcompost'
  5265.         netAmount:
  5266.           type: integer
  5267.           format: int32
  5268.           example: 300000
  5269.         totalAmount:
  5270.           type: integer
  5271.           format: int32
  5272.           example: 303000
  5273.         fee:
  5274.           type: integer
  5275.           format: int32
  5276.           example: 0
  5277.     SAcompost:
  5278.       type: object
  5279.       required:
  5280.         - branchId
  5281.         - accountName
  5282.         - accountNumber
  5283.       properties:
  5284.         branchId:
  5285.           type: string
  5286.           example: []
  5287.            
  5288.         accountName:
  5289.           type: string
  5290.           example: 'Bank Danamon|Reksa Dana Insight Money Syariah'
  5291.         accountNumber:
  5292.           type: string
  5293.           example: 'No Rek : 0700007012656'
  5294.     paramSubs:
  5295.       type: object
  5296.       required:
  5297.         - detail
  5298.         - type
  5299.         - total
  5300.         - currency
  5301.         - referralCode
  5302.       properties:
  5303.         detail:
  5304.            type: array
  5305.            items:
  5306.               $ref: '#/components/schemas/paramDetailSubs'
  5307.         type:
  5308.            type: string
  5309.            example: 'CTRAN'
  5310.         total:
  5311.            type: integer
  5312.            format: int32
  5313.            example: 303000
  5314.         currency:
  5315.           type: string
  5316.           example: 'IDR'
  5317.         referralCode:
  5318.           type: integer
  5319.           format: int32
  5320.           example: 212
  5321.        
  5322.     paramDetailSubs:
  5323.       type: object
  5324.       required:
  5325.         - netAmount
  5326.         - feeAmount
  5327.         - feeRate
  5328.         - total
  5329.         - fundpackageId
  5330.         - invAccId = investment_account_grouping.reference_no
  5331.       properties:
  5332.         netAmount:
  5333.           type: integer
  5334.           format: int32
  5335.           example: 300000
  5336.         feeAmount:
  5337.           type: integer
  5338.           format: int32
  5339.           example: 3000
  5340.         feeRate:
  5341.           type: string
  5342.           example: 0,01
  5343.         total:
  5344.           type: integer
  5345.           format: int32
  5346.           example: 303000
  5347.         fundpackageId:
  5348.           type: integer
  5349.           format: int32
  5350.           example: 18
  5351.         invAccId:
  5352.           type: integer
  5353.           format: string
  5354.           example: 'INV180000010666'
  5355.          
  5356.  
  5357.     paramRedeem:
  5358.       type: object
  5359.       required:
  5360.         - invAccId
  5361.         - tokenOTP
  5362.         - unit -> optional
  5363.         - amount -> optional
  5364.         - feeRate
  5365.         - feeAmount
  5366.         - redeemType
  5367.         - referralCode
  5368.       properties:
  5369.         invAccId:
  5370.            type: string
  5371.            example: 'I1904000001'
  5372.         tokenOTP:
  5373.            type: integer
  5374.            format: int32
  5375.            example: 762173
  5376.         unit:
  5377.           type: string
  5378.           example: 1000
  5379.         amount:
  5380.           type: string
  5381.           example: '0'
  5382.         redeemType:
  5383.           type: integer
  5384.           format: int32
  5385.           example: 1
  5386.         referralCode:
  5387.           type: string
  5388.           example: 212
  5389.        
  5390.     responseFullRedeem:
  5391.       properties:
  5392.         code:
  5393.           type: integer
  5394.           format: int32
  5395.           example: 0
  5396.         action:
  5397.           type: string
  5398.           example: 'Success Create Redemption'
  5399.         data:
  5400.           items:
  5401.               $ref: '#/components/schemas/responseDetailFullRedeem'
  5402.    
  5403.     responseDetailFullRedeem:
  5404.       type: object
  5405.       required:
  5406.         - lastname
  5407.         - packageName
  5408.         - contactEmail
  5409.         - callCenter
  5410.         - bankName
  5411.         - investment
  5412.         - fee
  5413.         - product
  5414.         - accountName
  5415.         - accountNumber
  5416.         - orderNumber
  5417.         - marketValue
  5418.         - salutation
  5419.         - firstName
  5420.         - paidDate
  5421.         - transactionCutOff
  5422.         - redeemAmount
  5423.         - ifua
  5424.        
  5425.       properties:
  5426.         lastName:
  5427.           type: string
  5428.           example: 'Allen'
  5429.         packageName:
  5430.           type: string
  5431.           example: 'iReksadana test 4'
  5432.         contactEmail:
  5433.           type: string
  5434.           example: 'support@btn.co.id'
  5435.         callCenter:
  5436.           type: string
  5437.           example: '02129333078'
  5438.         bankName:
  5439.           type: string
  5440.           example: 'Bank Tabungan Negara'
  5441.         investment:
  5442.           type: string
  5443.           example: 'I1609000001'
  5444.         fee:
  5445.           type: string
  5446.           example: 3000
  5447.         product:
  5448.           type: array
  5449.           items :
  5450.             $ref: '#/components/schemas/responseDetailFullRedeemProd'
  5451.         accountName:
  5452.           type: string
  5453.           example: 'ghuu'
  5454.         accountNumber:
  5455.           type: string
  5456.           example: '86665566'
  5457.         orderNumber:
  5458.           type: string
  5459.           example: 'O18081600008'
  5460.         marketValue:
  5461.           type: string
  5462.           example: '107922.2026'
  5463.         saltuation:
  5464.           type: string
  5465.           example: null
  5466.         firstName:
  5467.           type: string
  5468.           example: 'Barry'
  5469.         paidDate:
  5470.           type: string
  5471.           example: '2018-08-23'
  5472.         transactionCutOff:
  5473.           type: string
  5474.           example: '12:00'
  5475.         redeemAmount:
  5476.           type: string
  5477.           example: '107922.2026'
  5478.         ifua:
  5479.           type: string
  5480.           example: 'OD002B90026F0180'
  5481.        
  5482.     responseDetailFullRedeemProd:
  5483.       type: object
  5484.       required:
  5485.         - class
  5486.         - composition
  5487.         - customerBalance
  5488.         - feePcg
  5489.         - lastNAV
  5490.         - netAmount
  5491.         - orderAmount
  5492.         - orderUnit
  5493.         - productAccounts
  5494.         - trxNumber
  5495.         - utProductName
  5496.       properties:
  5497.         class:
  5498.           type: string
  5499.           example: 'com.indivaragroup.investment.core.dto.ProductCompositionDto'
  5500.         composition:
  5501.           type: integer
  5502.           format: int32
  5503.           example: 100
  5504.         customerBalance:
  5505.           type: string
  5506.           example: null
  5507.         feePcg:
  5508.           type: string
  5509.           example: null
  5510.         lastNAV:
  5511.           type: string
  5512.           example: null
  5513.         netAmount:
  5514.           type: integer
  5515.           format: int32
  5516.           example: null
  5517.         orderAmount:
  5518.           type: integer
  5519.           format: int32
  5520.           example: null
  5521.         orderUnit:
  5522.           type: integer
  5523.           format: int32
  5524.           example: null
  5525.         productAccounts:
  5526.           type: string
  5527.           example: null
  5528.         trxNumber:
  5529.           type: string
  5530.           example: null
  5531.         utProductName:
  5532.           type: string
  5533.           example: 'iReksadana test 4'
  5534.          
  5535.     paramSwitch:
  5536.       type: object
  5537.       required:
  5538.         - invAccId
  5539.         - fundpackageId
  5540.         - tokenOTP
  5541.         - unit -> optional
  5542.         - amount -> optional
  5543.         - feeRate
  5544.         - feeAmount
  5545.         - switchType
  5546.         - referralCode
  5547.       properties:
  5548.         invAccId:
  5549.            type: string
  5550.            example: 'I1904000001'
  5551.         fundpackageId:
  5552.            type: integer
  5553.            format: int32
  5554.            example: 18
  5555.         tokenOTP:
  5556.            type: integer
  5557.            format: int32
  5558.            example: 762173
  5559.         unit:
  5560.           type: string
  5561.           example: 1000
  5562.         amount:
  5563.           type: string
  5564.           example: '0'
  5565.         switchType:
  5566.           type: integer
  5567.           format: int32
  5568.           example: 1
  5569.         referralCode:
  5570.           type: string
  5571.           example: 212
  5572.          
  5573.     responseSwitch:
  5574.       properties:
  5575.         code:
  5576.           type: integer
  5577.           format: int32
  5578.           example: 0
  5579.         action:
  5580.           type: string
  5581.           example: 'Success Create Switch'
  5582.         data:
  5583.           items:
  5584.               $ref: '#/components/schemas/responseDetailSwitch'
  5585.              
  5586.     responseDetailSwitch:
  5587.       type: object
  5588.       required:
  5589.         - lastname
  5590.         - packageName
  5591.         - contactEmail
  5592.         - callCenter
  5593.         - bankName
  5594.         - investment
  5595.         - fee
  5596.         - product
  5597.         - accountName
  5598.         - accountNumber
  5599.         - orderNumber
  5600.         - marketValue
  5601.         - salutation
  5602.         - firstName
  5603.         - paidDate
  5604.         - transactionCutOff
  5605.         - redeemAmount
  5606.         - ifua
  5607.        
  5608.       properties:
  5609.         lastName:
  5610.           type: string
  5611.           example: 'Allen'
  5612.         packageName:
  5613.           type: string
  5614.           example: 'iReksadana test 4'
  5615.         contactEmail:
  5616.           type: string
  5617.           example: 'support@btn.co.id'
  5618.         callCenter:
  5619.           type: string
  5620.           example: '02129333078'
  5621.         bankName:
  5622.           type: string
  5623.           example: 'Bank Tabungan Negara'
  5624.         investment:
  5625.           type: string
  5626.           example: 'I1609000001'
  5627.         fee:
  5628.           type: string
  5629.           example: 3000
  5630.         product:
  5631.           type: array
  5632.           items :
  5633.             $ref: '#/components/schemas/responseDetailSwitchProd'
  5634.         accountName:
  5635.           type: string
  5636.           example: 'ghuu'
  5637.         accountNumber:
  5638.           type: string
  5639.           example: '86665566'
  5640.         orderNumber:
  5641.           type: string
  5642.           example: 'O18081600008'
  5643.         marketValue:
  5644.           type: string
  5645.           example: '107922.2026'
  5646.         saltuation:
  5647.           type: string
  5648.           example: null
  5649.         firstName:
  5650.           type: string
  5651.           example: 'Barry'
  5652.         paidDate:
  5653.           type: string
  5654.           example: '2018-08-23'
  5655.         transactionCutOff:
  5656.           type: string
  5657.           example: '12:00'
  5658.         redeemAmount:
  5659.           type: string
  5660.           example: '107922.2026'
  5661.         ifua:
  5662.           type: string
  5663.           example: 'OD002B90026F0180'
  5664.          
  5665.     responseDetailSwitchProd:
  5666.       type: object
  5667.       required:
  5668.         - class
  5669.         - composition
  5670.         - customerBalance
  5671.         - feePcg
  5672.         - lastNAV
  5673.         - netAmount
  5674.         - orderAmount
  5675.         - orderUnit
  5676.         - productAccounts
  5677.         - trxNumber
  5678.         - utProductName
  5679.       properties:
  5680.         classFrom:
  5681.           type: string
  5682.           example: 'com.indivaragroup.investment.core.dto.ProductCompositionDto'
  5683.         compositionFrom:
  5684.           type: integer
  5685.           format: int32
  5686.           example: 100
  5687.         customerBalanceFrom:
  5688.           type: string
  5689.           example: null
  5690.         feePcgFrom:
  5691.           type: string
  5692.           example: null
  5693.         lastNAVFrom:
  5694.           type: string
  5695.           example: null
  5696.         netAmountFrom:
  5697.           type: integer
  5698.           format: int32
  5699.           example: null
  5700.         orderAmountFrom:
  5701.           type: integer
  5702.           format: int32
  5703.           example: null
  5704.         orderUnitFrom:
  5705.           type: integer
  5706.           format: int32
  5707.           example: null
  5708.         productAccountsFrom:
  5709.           type: string
  5710.           example: null
  5711.         trxNumberFrom:
  5712.           type: string
  5713.           example: null
  5714.         utProductNameFrom:
  5715.           type: string
  5716.           example: 'iReksadana test 4'
  5717.         classTo:
  5718.           type: string
  5719.           example: 'com.indivaragroup.investment.core.dto.ProductCompositionDto'
  5720.         compositionTo:
  5721.           type: integer
  5722.           format: int32
  5723.           example: 100
  5724.         customerBalanceTo:
  5725.           type: string
  5726.           example: null
  5727.         feePcgTo:
  5728.           type: string
  5729.           example: null
  5730.         lastNAVTo:
  5731.           type: string
  5732.           example: null
  5733.         netAmountTo:
  5734.           type: integer
  5735.           format: int32
  5736.           example: null
  5737.         orderAmountTo:
  5738.           type: integer
  5739.           format: int32
  5740.           example: null
  5741.         orderUnitTo:
  5742.           type: integer
  5743.           format: int32
  5744.           example: null
  5745.         productAccountsTo:
  5746.           type: string
  5747.           example: null
  5748.         trxNumberTo:
  5749.           type: string
  5750.           example: null
  5751.         utProductNameTo:
  5752.           type: string
  5753.           example: 'iReksadana test 3'
  5754.  
  5755.     responseIAList:
  5756.       type: object
  5757.       required:
  5758.         - code
  5759.         - info
  5760.         - data
  5761.       properties:
  5762.         code:
  5763.           type: integer
  5764.           format: int32
  5765.           example: 0
  5766.         info:
  5767.           type: string
  5768.           example: 'Investment Accounts successfully loaded'
  5769.         data:
  5770.           items:
  5771.               $ref: '#/components/schemas/responseIADetail'
  5772.    
  5773.     responseIADetail:
  5774.       type: object
  5775.       required:
  5776.         - investmentAccountNo
  5777.         - investentAccountName
  5778.         - settlementAccountNo
  5779.         - settlementAccountName
  5780.         - bankName
  5781.       properties:
  5782.         investmentAccountNo:
  5783.           type: string
  5784.           example: 'INV140000004869'
  5785.         investentAccountName:
  5786.           type: string
  5787.           example: 'zamron septiawan'
  5788.         settlementAccountNo:
  5789.           type: string
  5790.           example: '0003701500311475'
  5791.         settlementAccountName:
  5792.           type: string
  5793.           example: 'zamron septiawan'
  5794.         bankName:
  5795.           type: string
  5796.           example: 'BANK BTN'
  5797.        
  5798.     responseIAList2:
  5799.       type: object
  5800.       required:
  5801.         - code
  5802.         - info
  5803.         - data
  5804.       properties:
  5805.         code:
  5806.           type: integer
  5807.           format: int32
  5808.           example: 0
  5809.         action:
  5810.           type: string
  5811.           example: 'Investment Accounts detail successfully loaded'
  5812.         data:
  5813.           items:
  5814.               $ref: '#/components/schemas/responseIADetail2'
  5815.    
  5816.     responseIADetail2:
  5817.       type: object
  5818.       required:
  5819.         - investmentAccountDetailNo
  5820.         - investmentAccountDetailName
  5821.         - packageCode
  5822.         - packageName
  5823.         - productCode
  5824.         - productName
  5825.       properties:
  5826.         investmentAccountDetailNo:
  5827.           type: string
  5828.           example:
  5829.         investmentAccountDetailName :
  5830.           type: string
  5831.           example:
  5832.         packageCode:
  5833.           type: string
  5834.           example:
  5835.         packageName:
  5836.           type: string
  5837.           example:
  5838.         productCode:
  5839.           type: string
  5840.           example:
  5841.         productName:
  5842.           type: string
  5843.           example:
  5844.        
  5845.     responseHolidaySync:
  5846.       type: object
  5847.       required:
  5848.         - code
  5849.         - info
  5850.       properties:
  5851.         code:
  5852.           type: integer
  5853.           format: int32
  5854.           example: 0
  5855.         info:
  5856.           type: string
  5857.           example: 'sync holiday success!<br>'
  5858.          
  5859.     responseGenOTP:
  5860.       type: object
  5861.       required:
  5862.         - code
  5863.         - info
  5864.         - data
  5865.       properties:
  5866.         code:
  5867.           type: integer
  5868.           format: int32
  5869.           example: 1
  5870.         action:
  5871.           type: string
  5872.           example: Generate OTP success
  5873.         data:
  5874.           type: array
  5875.           items:
  5876.               $ref: '#/components/schemas/otpDetail'
  5877.              
  5878.     otpDetail:
  5879.       type: object
  5880.       required:
  5881.         - phone
  5882.         - trxIdOtp
  5883.       properties:
  5884.         phone:
  5885.           type: string
  5886.           example: '085736313621'
  5887.         trxIdOtp:
  5888.           type: string
  5889.           example: '7e35e910-6c90-43f9-bd4f-d31d65d6fb96'
  5890.    
  5891.     paramOrderHistory:
  5892.       type: object
  5893.       required:
  5894.         - portalCIF
  5895.         - customerName
  5896.         - transactionStatus
  5897.         - transactionType
  5898.         - transactionPeriodStartDate
  5899.         - transactionPeriodEndDate
  5900.         - settlementMethod
  5901.         - fund_manager
  5902.         - product
  5903.        
  5904.       properties:
  5905.         portalCIF:
  5906.            type: string
  5907.            example: ""
  5908.         customerName:
  5909.            type: string
  5910.            example: "ZAMRON"
  5911.         transactionStatus:
  5912.            type: string
  5913.            example: ""
  5914.         transactionType:
  5915.            type: string
  5916.            example: ""
  5917.         transactionPeriodStartDate:
  5918.            type: string
  5919.            example: ""
  5920.         transactionPeriodEndDate:
  5921.            type: string
  5922.            example: ""
  5923.         settlementMethod:
  5924.            type: string
  5925.            example: ""
  5926.         fund_manager:
  5927.            type: string
  5928.            example: ""
  5929.         product:
  5930.            type: string
  5931.            example: ""
  5932.    
  5933.     responseOrderHistory:
  5934.       type: object
  5935.       required:
  5936.         - code
  5937.         - info
  5938.         - data
  5939.       properties:
  5940.         code:
  5941.           type: integer
  5942.           format: int32
  5943.           example: 1
  5944.         info:
  5945.           type: string
  5946.           example: Data Found
  5947.         data:
  5948.           type: array
  5949.           items:
  5950.               $ref: '#/components/schemas/responseOrderHistoryDetail1'
  5951.              
  5952.     responseOrderHistoryDetail1:
  5953.       type: object
  5954.       required:
  5955.         - created_date
  5956.         - customerName
  5957.         - priceDate
  5958.         - channelName
  5959.         - portalCif
  5960.         - settlementAccount
  5961.         - orderNumber
  5962.         - transactionHistoryDetail
  5963.         - fundManager
  5964.         - currency
  5965.         - settlementMethod
  5966.       properties:
  5967.         created_date:
  5968.           type: string
  5969.           example: '30-04-2019'
  5970.         customerName:
  5971.           type: string
  5972.           example: 'ZAMRON SEPTIAWAN'
  5973.         priceDate:
  5974.           type: string
  5975.           example: '02-05-2019'
  5976.         channelName:
  5977.           type: string
  5978.           example: 'Head Quarter'
  5979.         portalCif:
  5980.           type: string
  5981.           example: 'Z128274'
  5982.         settlementAccount:
  5983.           type: string
  5984.           example: '0003701500311475'
  5985.         orderNumber:
  5986.           type: string
  5987.           example: 'O1904000005'
  5988.         transactionHistoryDetail:
  5989.           type: array
  5990.           items:
  5991.               $ref: '#/components/schemas/responseOrderHistoryDetail2'
  5992.         fundManager:
  5993.           type: string
  5994.           example: 'Trimegah Asset Management'
  5995.         currency:
  5996.           type: string
  5997.           example: 'IDR'
  5998.         settlementMethod:
  5999.           type: string
  6000.           example: 'Using Settlement'
  6001.        
  6002.     responseOrderHistoryDetail2:
  6003.       type: object
  6004.       required:
  6005.         - transactionType
  6006.         - transactionAmount
  6007.         - packageName
  6008.         - referral
  6009.         - transactionFee
  6010.         - transactionTotal
  6011.         - investmentAccount
  6012.         - transactionStatus
  6013.       properties:
  6014.         transactionType:
  6015.           type: string
  6016.           example: 'SUBSCRIPTION'
  6017.         transactionAmount:
  6018.           type: integer
  6019.           format: int32
  6020.           example: 600000
  6021.         packageName:
  6022.           type: string
  6023.           example: 'iReksadana test 3'
  6024.         referral:
  6025.           type: string
  6026.           example: 'DINDA KANIA DEWI'
  6027.         transactionFee:
  6028.           type: integer
  6029.           format: int32
  6030.           example: 6000
  6031.         transactionTotal:
  6032.           type: integer
  6033.           format: int32
  6034.           example: 606000
  6035.         investmentAccount:
  6036.           type: string
  6037.           example: 'INV140000004869'
  6038.         transactionStatus:
  6039.           type: string
  6040.           example: 'SUBMITTED'
  6041.          
  6042.     responseFeeFP:
  6043.       type: object
  6044.       properties:
  6045.         code:
  6046.           type: integer
  6047.           format: int32
  6048.           example: 1
  6049.         info:
  6050.           type: string
  6051.           example: "Success"
  6052.         fee:
  6053.           type: array
  6054.           items:
  6055.               $ref: '#/components/schemas/responseFeeFPDetail'
  6056.         feeOld:
  6057.           type: array
  6058.           items:
  6059.               $ref: '#/components/schemas/responseFeeFPDetail2'
  6060.              
  6061.     responseFeeFPDetail:
  6062.       type: object
  6063.       properties:
  6064.         amountMin:
  6065.           type: integer
  6066.           format: int32
  6067.           example: 0
  6068.         amountMax:
  6069.           type: integer
  6070.           format: int32
  6071.           example: 5000000
  6072.         feeAmount:
  6073.           type: string
  6074.           example: 0.02
  6075.         id:
  6076.           type: integer
  6077.           format: int32
  6078.           example: 31
  6079.          
  6080.     responseFeeFPDetail2:
  6081.       type: object
  6082.       properties:
  6083.         amountMin:
  6084.           type: integer
  6085.           format: int32
  6086.           example: 0
  6087.         amountMax:
  6088.           type: integer
  6089.           format: int32
  6090.           example: 0
  6091.         feeAmount:
  6092.           type: string
  6093.           example: 0
  6094.         id:
  6095.           type: integer
  6096.           format: int32
  6097.           example: 0
  6098.    
  6099.    
  6100.     responseProductCategory:
  6101.       type: object
  6102.       properties:
  6103.         code:
  6104.           type: integer
  6105.           format: int32
  6106.           example: 1
  6107.         info:
  6108.           type: string
  6109.           example: "Success"
  6110.         data:
  6111.           type: array
  6112.           items:
  6113.               $ref: '#/components/schemas/responseProductCategoryDetail'
  6114.  
  6115.     responseProductCategoryDetail:
  6116.       type: object
  6117.       properties:
  6118.         id:
  6119.           type: integer
  6120.           format: int32
  6121.           example: 996
  6122.         code:
  6123.           type: string
  6124.           example: "MM"
  6125.         category:
  6126.           type: string
  6127.           example: "Money Market"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top