cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Account UpdaterJob Details Response, sometimes array, sometimes not?

Reading through your documentation on the 'Get Account Updater Job Details' section, in the "Try It" tab with JSON selected, when I look at the 'Response' section I see that the 'auDelete' key has an object as the value while the 'auUpdate' has an array of objects as the value.

 

This leads me to believe that if the account updater job details endpoint responds with a single update or deletion then I will get an object, and if there are multiple updates or deletions then I will get an array of objects.

 

Can you please confirm that this assumption is correct or that the documentation is incorrect? It is not ideal to have a mixed type returning from the request as this would force me to make sure of the type being returned in code rather than assuming that it will be some form of array.

 

Thank you.

HeathN
Member
1 REPLY 1

Can I get some confirmation on this data structure?

HeathN
Member