Avaya Support Forums  

Go Back   Avaya Support Forums > Avaya Breeze™ Collaboratory

Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 07-04-2016, 04:29 PM
wilso448 wilso448 is offline
Join Date: Jul 2016
Posts: 6
wilso448 has 10 reputation points
Default REST JSON return to Variables

I am working with a weather web service api and want to turn the JSON return into variables to use in my flow. I am working with Andrew on this. Here is my return:

{'responseCode':200,'responsePayload':'{\'coord\': {\'lon\':-81.76,\'lat\':27.98},\'weather\':[{\'id\':801,\'main\':\'Clouds\',\'description\':\' few clouds\',\'icon\':\'02d\'}],\'base\':\'stations\',\'main\':{\'temp\':305.59,\ 'pressure\':1020,\'humidity\':70,\'temp_min\':303. 15,\'temp_max\':308.15},\'visibility\':16093,\'win d\':{\'speed\':3.6,\'deg\':210},\'clouds\':{\'all\ ':20},\'dt\':1467670298,\'sys\':{\'type\':1,\'id\' :639,\'message\':0.0457,\'country\':\'US\',\'sunri se\':1467628564,\'sunset\':1467678436},\'id\':4153 884,\'name\':\'Eagle Lake\',\'cod\':200}','responsePayloadType':'applic ation/json; charset=utf-8'}

How do i turn this into multiple variables or a variable with sub variables for use in my flow.

Arrow SI
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 04:07 PM.

This Forum is provided solely for the use and convenience of Avaya customers and partners. Use of the Forum is subject to the Terms and Use and Privacy Statement found at www.avaya.com. No other use is permitted. The Forum including all content posted is “AS IS” and Avaya expressly disclaims all warranties and/or guarantees as to its accuracy, reliability, usefulness, quality or non-infringement of intellectual property. Avaya reserves the right to remove any content posted on the Forum at any time and for whatever reason.

Avaya will not be liable for any content posted on this Forum, including, without limitation, any errors or omissions or for any losses or damages of any kind incurred as a result of use or reliance on any content, regardless of its origin.

You expressly understand and agree that you assume all risks associated with use or reliance on this content.