API to to get and post data in Microsoft Lists

%3CLINGO-SUB%20id%3D%22lingo-sub-1656345%22%20slang%3D%22en-US%22%3EAPI%20to%20to%20get%20and%20post%20data%20in%20Microsoft%20Lists%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1656345%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20All%2C%3C%2FP%3E%3CP%3EI%20am%20new%20to%20Microsoft%20lists%2C%20I%20have%26nbsp%3B%20scenario%20where%20a%20admin%20can%20create%20a%20task%20to%20a%20particular%20user%20in%20my%20application.%20Now%2C%20I%20want%20to%20notify%20or%20show%20that%20task%20in%20Microsoft%20lists%20account%20of%20that%20user.%20Please%20help%20me%20with%20this.%3C%2FP%3E%3CP%3EThank%20you.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1656345%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Lists%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1656479%22%20slang%3D%22en-US%22%3ERe%3A%20API%20to%20to%20get%20and%20post%20data%20in%20Microsoft%20Lists%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1656479%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F790052%22%20target%3D%22_blank%22%3E%40Vrun2216%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI'm%20not%20sure%20what%20you%20mean%20by%20List%20account.%3C%2FP%3E%3CP%3ELists%20have%20been%20around%20for%20decades%20and%20are%20created%20in%20sharepoint%20sites%2C%20including%20individuals%20personal%20MySites.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EDepends%20on%20the%20security%20requirements%20of%20your%20app%20or%20what%20you%20are%20trying%20to%20do%20-%20but%20here%20are%20some%20suggestions.%3CBR%20%2F%3E%3CBR%20%2F%3E1)%20You%20could%20have%20one%20single%20list%20that%20everyone%20can%20access%20which%20contains%20all%20the%20tasks.%20One%20column%20of%20that%20list%20could%20be%20the%20name%20of%20the%20person%20who%20is%20the%20assignee.%20You%20could%20then%20create%20a%20view%20for%20that%20list%20where%20you%20filter%20on%20my%20persons%20name%20-%20so%20essentially%20saying%20where%20the%20Assignee%20%3D%20%5BMe%5D.%3CBR%20%2F%3EThat%20would%20mean%20-%20anyone%20looking%20at%20that%20list%20would%20only%20see%20their%20own%20tasks.%3C%2FP%3E%3CP%3E2)%20If%20this%20is%20just%20about%20notification%20-%20you%20could%20create%20a%20power%20automate%20-%20and%20trigger%20an%20email%20to%20a%20person%2C%20or%20a%20message%20in%20Teams%3C%2FP%3E%3CP%3E3)%20If%20this%20is%20actually%20a%20Task%20-%20then%20again%20you%20could%20use%20powerautomate%20to%20put%20the%20task%20into%20a%20Microsoft%20Planner%20or%20into%20individuals%20Microsoft%20To%20Do%3CBR%20%2F%3E%3CBR%20%2F%3EThe%20first%20one%20is%20simple%20but%20not%20particularly%20secure.%20If%20the%20assignees%20need%20to%20have%20write%20permissions%2C%20then%20they%20could%20potentially%20see%20other%20peoples%20tasks%20-%20but%20maybe%20that%20doesnt%20matter%20to%20you.%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3EBut%20yes%20-%20Power%20Automate%20is%20your%20friend%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

Hi All,

I am new to Microsoft lists, I have  scenario where a admin can create a task to a particular user in my application. Now, I want to notify or show that task in Microsoft lists account of that user. Please help me with this.

Thank you.

3 Replies

@Vrun2216 

I'm not sure what you mean by List account.

Lists have been around for decades and are created in sharepoint sites, including individuals personal MySites.

 

Depends on the security requirements of your app or what you are trying to do - but here are some suggestions.

1) You could have one single list that everyone can access which contains all the tasks. One column of that list could be the name of the person who is the assignee. You could then create a view for that list where you filter on my persons name - so essentially saying where the Assignee = [Me].
That would mean - anyone looking at that list would only see their own tasks.

2) If this is just about notification - you could create a power automate - and trigger an email to a person, or a message in Teams

3) If this is actually a Task - then again you could use powerautomate to put the task into a Microsoft Planner or into individuals Microsoft To Do

The first one is simple but not particularly secure. If the assignees need to have write permissions, then they could potentially see other peoples tasks - but maybe that doesnt matter to you.

But yes - Power Automate is your friend

@blods 

 

Thanks for the suggestion that was really helpful.

Now, I found that Microsoft provides API here to create list. Can you please help me in by sharing some reference on how to generate the oAuth token to create the list in sharepoint from REST api.

@blods 

 

Can you please share some reference or steps on how to go with the 3rd point you mentioned please. That will be really really helpful.

 

Thanks!