Using Powershell to run MCAS REST API. Limit issues

%3CLINGO-SUB%20id%3D%22lingo-sub-2783671%22%20slang%3D%22en-US%22%3EUsing%20Powershell%20to%20run%20MCAS%20REST%20API.%20Limit%20issues%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2783671%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20all%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20am%20working%20on%20using%20the%20MCAS%20REST%20API%20via%20powershell%20to%20retrieve%20activities%20from%20one%20user.%20I%20have%20been%20able%20to%20get%20a%20powershell%20script%20to%20run%20successfully%20but%20i%20have%20issues%20raising%20the%20limit%20of%20records%20to%205000.%3C%2FP%3E%3CP%3EBy%20default%20it%20is%20100%20but%20using%20the%20Scanning%20mode%20(isScan%20%3D%20%22true%22)%20feature%20in%20the%20filter%20section%2C%20i%20am%20able%20to%20get%20500%20but%20not%205000.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EFirstly%2C%20does%20anyone%20use%20powershell%20to%20perform%20their%20REST%20API%20call%3F%20is%20there%20a%20easier%20way%3F%20I%20cannot%20install%20python%20on%20my%20device%20so%20only%20have%20what%20is%20standard%20on%20Windows.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3ESecondly%2C%20can%20anyone%20help%20me%20on%20how%20to%20raise%20the%20limit%20to%205000%20(or%20more%20if%20possible)%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EThanks%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2783671%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3ECloud%20App%20Security%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E
Regular Visitor

Hi all,

 

I am working on using the MCAS REST API via powershell to retrieve activities from one user. I have been able to get a powershell script to run successfully but i have issues raising the limit of records to 5000.

By default it is 100 but using the Scanning mode (isScan = "true") feature in the filter section, i am able to get 500 but not 5000.

 

Firstly, does anyone use powershell to perform their REST API call? is there a easier way? I cannot install python on my device so only have what is standard on Windows.

 

Secondly, can anyone help me on how to raise the limit to 5000 (or more if possible)?

 

Thanks

 

 

0 Replies
www.000webhost.com