Example map execution on ITX-RS using endpoint for V2 REST API

Prerequisites

  1. Import the example .zip projects on <WINDOWS_pack_install_dir>/financial_payments_vn.n.n.n/UIProjectImports into Design Server. See pack release notes for complete list of Design Server projects.
  2. Create packages for each project including all maps and files.
    • OPTIONAL: Clear out the URL of run maps, leaving only main maps with URL.

    WORKAROUND: Any issues running any of the endpoints for V2 REST API listed below that is related to XML metadata, manually add native XML schemas into package by importing them under File tab with a logical folder schemas since deployment of package does not include XSDs from project.

  3. Deploy package into ITX-RS server instance.
  4. Set config.yaml property rest.mode to fenced.

Below are examples of REST calls using curl commands to execute compliance maps:

SWIFT
curl -X PUT "http://localhost:8080/tx-rest/v2/run/validate_messages?output=2;FILE;/data/maps/finpay/swift/mt/jvc/data/results.xml&return=log&audit_file=always" -H "accept: */*"
curl -X PUT "http://localhost:8080/tx-rest/v2/run/swiftval?input=1;FILE;../data/pacs_008_001_13_invalid.xml&output=3;FILE;/data/maps/finpay/swift/mx/data/results.xml&return=log&audit_file=always" -H "accept: */*"
SEPA
curl -X PUT "http://localhost:8080/tx-rest/v2/run/sepvalid?input=1;FILE;../data/pacs008c_invalid.xml&output=3;FILE;/data/maps/finpay/sepa/mapsandschemas/results.xml&return=log&audit_file=always" -H "accept: */*"
NACHA
curl -X PUT "http://localhost:8080/tx-rest/v2/run/achval01?output=4;FILE;/data/maps/finpay/nacha/examples/ach_validation/data/results.xml&return=log&audit_file=always" -H "accept: */*"
Map isoccd01 on ACH to ISO 20022 Payment Initiation Credit Transfer example
curl -X PUT "http://localhost:8080/tx-rest/v2/run/isoccd01?output=3;FILE;/data/maps/finpay/nacha/examples/ach_iso20022/scenario/credit_transfer/data/results.txt&return=log&audit_file=always" -H "accept: */*"
Map isoccd08 on ACH to ISO 20022 Payment Initiation Direct Debit example
curl -X PUT "http://localhost:8080/tx-rest/v2/run/isoccd08?output=3;FILE;/data/maps/finpay/nacha/examples/ach_iso20022/scenario/direct_debit/results.txt&return=log&audit_file=always" -H "accept: */*"
Map isorjt01 on ACH Reject to ISO 20022 transformation example
curl -X PUT "http://localhost:8080/tx-rest/v2/run/isorjt01?output=3;FILE;/data/maps/finpay/nacha/examples/ach_iso20022/scenario/reject/results.txt&return=log&audit_file=always" -H "accept: */*"
Map isortn01 on ACH Return to ISO 20022 transformation example
curl -X PUT "http://localhost:8080/tx-rest/v2/run/isortn01?output=3;FILE;/data/maps/finpay/nacha/examples/ach_iso20022/scenario/returns/results.txt&return=log&audit_file=always" -H "accept: */*"
Map sepfr3ct_pacs_008_minos on SEPA France example
curl -X PUT "http://localhost:8080/tx-rest/v2/run/sepfr3ct_pacs_008_minos?output=1;FILE;/data/maps/finpay/sepa/examples/france/data/results.xml&return=log&audit_file=always" -H "accept: */*"
Map sepde2dd_pain008_dtaus on SEPA Germany example
curl -X PUT "http://localhost:8080/tx-rest/v2/run/sepde2dd_pain008_dtaus?output=1;FILE;/data/maps/finpay/sepa/examples/germany/data/results.txt&return=log&audit_file=always" -H "accept: */*"
Map fxfm0001_email_fix_to_fixml on FIX Email example
curl -X PUT "http://localhost:8080/tx-rest/v2/run/fxfm0001_email_fix_to_fixml?output=1;FILE;/data/maps/finpay/fix/examples/fixFMLemail/data/results.xml&return=log&audit_file=always" -H "accept: */*"
Map fxfm0009_adv_fix_to_fixml on FIX Advertisement example
curl -X PUT "http://localhost:8080/tx-rest/v2/run/fxfm0009_adv_fix_to_fixml?output=1;FILE;/data/maps/finpay/fix/examples/fixFMLadv/data/results.xml&return=log&audit_file=always" -H "accept: */*"