cancel
Showing results for 
Search instead for 
Did you mean: 

How to update an UserProfile entry from API REST

Arnault_
Confirmed Champ
Confirmed Champ

Bonjour

Nous avons ajouté un schéma AtriumUserSchema pour ajouter une propriété au UserProfile

Lorsque je lance une requête NXSQL via l'API REST (python)

query = "SELECT * FROM UserProfile"
result = session.query(query)

J'obtiens bien les valeurs demandées, qui ont été saisies par l'interface graphique:

SELECT * FROM UserProfile
[versionLabel]=
[changeToken]=1393425119077
[uid]=ff44ac4a-c856-4c08-8635-f5fc94d63a85
[repository]=default
[title]=1376053944919
...
[contextParameters]={}
[path]=/default-domain/UserWorkspaces/catia/1376053944919
[type]=UserProfile
   [dc:coverage]=None
   [dc:valid]=None
   ...
   [dc:nature]=None
   [dc:modified]=2014-02-26T14:31:59.07Z
   [AtriumUserSchema:FunctionalDomain]=[{u'Domain': u'MECANIQUE', u'Role': u'Reader'}]
   [dc:issued]=None
   [userprofile:locale]=None
   [dc:created]=2013-08-09T13:12:24.91Z

Ma question: comment puis-je modifier cette propriété via l'API REST? (via une requête NXSQL ou bien par une action CRUD)

Merci de vos suggestions

Christian Arnault

0 REPLIES 0
Getting started

Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.