GET API Method whit JSON

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • avv
    Junior Member
    • Jul 2020
    • 3

    GET API Method whit JSON

    Can somebody help me with parsing the following JSON - https://bank.gov.ua/depo_securities?json
    ​I try to do this in bpm - but can't understand how to collect and parse data.
    unfortunately in documentation I can't find any examples.

    Thank a lot!
  • emillod
    Active Community Member
    • Apr 2017
    • 1404

    #2
    You should run foreach for whole list, for example $body[0]['cpcode'], to get cpcode of code record. I don't think there is a formula which work like foreach in php.
    Interesting. If there is no such thing, i'll try to code something like this in our extension custom-formulas.

    Ping me if you'll don't have any response in few days.

    Comment

    • emillod
      Active Community Member
      • Apr 2017
      • 1404

      #3
      You can play with while https://docs.espocrm.com/administration/formula/#while

      Comment

      Working...