Avatar

Group removal,update through .net api

0

Hi,

How to remove, update and select a particular groups from .net api?

Regards,

Sundar

Sundararajan Elangovan

Please sign in to leave a comment.

6 comments

Avatar

It is an urgent requirement. I can do it through UI. But how we we'll do it through code.

Thanks,

Sundar.

0
Comment actions Permalink
Sundararajan Elangovan 0 votes
Avatar

Hi Sundar,

There are public unit tests that illustrate how to do this via javascript. When you navigate to this page you can click the entity type you are interested in (Group) to see it's structure and navigate to the "API Methods and Test" tab. From this tab you can see how to use the API CRUD methods, searching, multicalls etc. You can run the test and the results will show in your browser devtools console.

It should be fairly simple interpret the logic in the .Net language you are using.

Thanks,

Steve

0
Comment actions Permalink
Steve Hansen 0 votes
Avatar

Hi Steve,

Thanks for the reply. But in this unit test it doesn't have edit methods through api. Kindly do the needful.

Regards,

Ganesh kumar.N

0
Comment actions Permalink
Sundararajan Elangovan 0 votes
Avatar

Set (Edit) works basically the same as Add, but the entity will have an ID. In this way you would get an entity from using the API, modify the necessary properties and call "Set". Similar to: api.call("Set", {typeName: "...", entity: {...}}, successCallback, errorCallback); 

Thanks,

Steve

0
Comment actions Permalink
Steve Hansen 0 votes
Avatar

It's working. One more help how to move group through api?

Thanks,

Sundar.

0
Comment actions Permalink
Sundararajan Elangovan 0 votes
Avatar

Hi Sundar,

You should Set the group with the desired parent group.

Thanks,

Steve

0
Comment actions Permalink
Steve Hansen 0 votes