Hello, I have the following problem. When I call the getUsersAsync function with the expand value dateLastLogin I get the following field message:
PureCloudPlatform.Client.V2.Client.ApiException: Error converting value "0000-12-30T00:00:00Z" to type 'System.Nullable1[System.DateTime]'. Path 'entities[0].dateLastLogin', line 1, position 588. at PureCloudPlatform.Client.V2.Client.ApiClient.Deserialize(IRestResponse response, Type type) at PureCloudPlatform.Client.V2.Api.UsersApi.GetUsersAsyncWithHttpInfo(Nullable
1 pageSize, Nullable1 pageNumber, List
1 id, List1 jabberId, String sortOrder, List
1 expand, String integrationPresenceSource, String state)
at PureCloudPlatform.Client.V2.Api.UsersApi.GetUsersAsync(Nullable1 pageSize, Nullable
1 pageNumber, List1 id, List
1 jabberId, String sortOrder, List`1 expand, String integrationPresenceSource, String state)
at GenesysCloudMonitoring.Function.FunctionHandler(ILambdaContext context)
I think something is wrong with the deserialization.
Greetings Sven