0
 Followers
4
 Likes

API With Variable Structures

Integration
New

The basic idea of this can be seen in a question and I asked in the community forum today and it's reply:

https://www.outsystems.com/forums/discussion/49950/api-response-does-not-match-manual-call/?utm_source=community&utm_medium=email&utm_campaign=forum-reply=#Post185261

Basically, the api's response contains an attribute field with the date of the information it contains; it's a variable.  The value will change depending on the date range you select it for.  

Hanno's solution is great, and I believe it's probably the best possible solution without writing an extension method, but even now those restrictions basically make the GET method static.  If enough API's structure their responses this, some means of dealing with variable attribute names would be very handy.

Thanks.

Created on 11 Jul
Comments (1)

Changed the category to Integration


views
125
Followers
0