<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00006wouveCAAOkta Classic EngineIntegrationsAnswered2021-05-07T15:18:31.000Z2021-05-03T20:04:32.000Z2021-05-07T15:18:31.000Z

LiamE.28567 (Customer) asked a question.

Paging Okta ASP.NET Core API

I am using the GetLogs api from Okta in a C* console application to collect audit logs for my company. I am trying to figure out if pagination is required for this api, and if so, how to implement it. Here is my current code (partly found at https://developer.okta.com/blog/2017/10/04/aspnet-authorization):

 

        var client = new OktaClient(new OktaClientConfiguration

        {

          OktaDomain = <oktaDomain>,

          Token = <token>

        });

        ICollectionClient<ILogEvent> response = client.Logs.GetLogs("2021-04-26T13:28:55.811-04:00", "2021-04-26T13:29:05.811-04:00", null, null, null, "ASCENDING", null);

 

These are the parameters. I can't find any documentation on the specific method:/help/servlet/rtaImage?refid=0EM4z000002FOYo


LiamE.28567 likes this.
This question is closed.
Loading
Paging Okta ASP.NET Core API