$url=api_url."/User/".$user_id."/profile_user/";
$payload= "{"input": {"users_id": $user_id,"profiles_id" : $profiles_id,"entities_id": $entities_id,"is_recursive": 0}}";then, use post method to associate profiles/entities as much as needed
I'm creating a user by Rest API and its working.
I'm filling automatically, name, firstname,password, realname... etc all fields are 1 x 1.
Now.. I must to sent the relationship between user and entity, that is 1 x N.
I really appreciate some help or idea how to do this Job.
Thanks.
]]>