Skip to main content

Hello,

i have been trying to to update multiple assets via API.
The call im trying to make should update a type_field of all assets that are associated to an exisiting ticket, but i cant get it to work correctly. If I use a parser and want to parse the display IDs of all retrieved assets, it obviously runs into failure, because the URL contains the display ID of all assets im trying to update simultanouesly.

Does anybody have a good solution for this? I’m super new to API so I don’t have any idea how to bypass the problem with multiple display IDs.

Thanks in advance! 

Funnily enough i managed to kind of get a workaround just now, which is not the prettiest, but works.
I broke the array of strings down into single strings for each display ID and made an api call for every single string.

 


Fresh isn’t great when “looping” through an array. We’re all waiting on loops coming into worklfows.