Hello @JanCreupelandt - I realize that this post is aged but this is supported via the REST API now.
Project—ArcGIS REST APIs | ArcGIS Developers
Connectez-vous pour publier, suivre du contenu, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.