API Connect

API Connect

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.


#API Connect
#Applicationintegration
#APIConnect
 View Only
  • 1.  can we convert json message format to ISO message format

    Posted 02/13/23 08:55 AM
    Edited by Stefen Salvatore 06/08/23 01:40 AM

    Hi all,

    Can we convert JSON message coming from input payload to ISO message format and send it to backend and backend again gives ISO message format then I need to convert to JSON and send back to the end user.

    for your complete clarification a text file with exact requirement is attached below. If possible, send me a snippet of gateway script.

    ------------------------------
    Stefen Salvatore
    ------------------------------



  • 2.  RE: can we convert json message format to ISO message format

    Posted 02/14/23 01:30 AM
    Edited by Stefen Salvatore 06/08/23 01:39 AM
      |   view attached

    the file is here



    ------------------------------
    Stefen Salvatore
    ------------------------------

    Attachment(s)

    json
    json to iso.json   431 B 1 version


  • 3.  RE: can we convert json message format to ISO message format

    Posted 02/16/23 03:36 PM

    Hi Vyasavardhan,

    There is nothing out of the box to do this, but I did find https://stackoverflow.com/questions/2686855/is-there-a-javascript-function-that-can-pad-a-string-to-get-to-a-determined-leng where you can use the function provided in the post "A faster method".   Looks like it should do what you want to do.

    Best Regards,
    Steve Linn




    ------------------------------
    Steve Linn
    Senior Consulting I/T Specialist
    IBM
    ------------------------------



  • 4.  RE: can we convert json message format to ISO message format

    This message was posted by a user wishing to remain anonymous
    Posted 02/15/23 08:48 AM
    This post was removed


  • 5.  RE: can we convert json message format to ISO message format

    Posted 02/15/23 10:46 AM
    Edited by Stefen Salvatore 06/08/23 01:38 AM

    hi @Daniel Lisa 

    Which converter you are talking about



    ------------------------------
    Stefen Salvatore
    ------------------------------



  • 6.  RE: can we convert json message format to ISO message format

    Posted 02/17/23 12:01 PM

    ISO message has a lot flavor (1987, 1997, 2003 etc) and not would be easy to just use a gatescript to do this. IBM AppConnect Enterprise could use DFDL to do this mapping check this https://github.com/ot4i/dfdl-iso8583-tutorial.   We have some DataPower assets to convert iso8583 message to XML and then you could transform XML to JSON.



    ------------------------------
    Gang Wu
    ------------------------------



  • 7.  RE: can we convert json message format to ISO message format

    Posted 12/26/25 08:12 AM
    Edited by Anonymous User 12/26/25 08:13 AM

    Yes, you can convert JSON message format to ISO message format using the proper tools. This makes data exchange easier and ensures system compatibility. For text conversion, the krutidev to unicode converter is simple and convenient.



    ------------------------------
    Globe sim
    ------------------------------