Message Boards

Updating attribute of layout via JSON API

Matias Acosta, modified 7 Years ago.

Updating attribute of layout via JSON API

New Member Post: 1 Join Date: 1/2/17 Recent Posts
Hello,
I'm having some problems updating a layout using the ootb JSON API interface (http://192.8.9.160/api/jsonws/layout/update-layout).
I just want to change the hidden attribute of some layouts, but I can't complete the request due to the following required inputs:

localeNamesMap java.util.Map
the layout's locales and localized names

localeTitlesMap java.util.Map
the layout's locales and localized titles

I want to do this from the web interface (without creating a script or class).

What value is it expecting and how can I provide it in this interface?



An example would be pretty helpful.

Thank you!
Regards.