Need feedback what is the correct format of creating a grant via using C# .NET SDK
Hello Team..
I have a workflow project that need to provide a view only grant to one user for each item created.
Been trying different formats of cant seem to get the correct syntax for this. I understand most of the arguments of the function but cant seem to get the correct creation for the list that need to be created.
BTW : The user that im giving read only access via the grant does not have podio.
podio.GrantService.CreateGrant("app","id of the app","this is the part need to understand on how to create the list","edit","test message");
Any assist is greatly appreciated...
-
Hi Antonio,
Please see this page for a description of contact identifiers (scroll down a bit): https://developers.podio.com/index/api
Hope it helps!
Best,
Andreas -
Hello Andreas.. Maybe found a bug or maybe something is incorrect. Creating the ref object i cant set the id to a email address ex. test@mail.com. It only accepts int variables.
PodioAPI.Models.Ref refs = new PodioAPI.Models.Ref();
refs.Id = "test@mail.com" //The id doesnt like string variables.
refs.Type. = "email";List<PodioAPI.Models.Ref> list = new List<PodioAPI.Models.Ref>();
list.Add(refs);
Please sign in to leave a comment.
Comments
5 comments