Forum Discussion

AishwaryaEA's avatar
3 months ago

Incremental data for users data

I am trying to bring USERS data incrementally though GraphQL API. The only relevant date time filter/constraints we can use is registration date, but the problem is that if a user profile is updated, we won't be getting that in incremental data based on registration date. Can someone please help me with this ? Is there some other datetime filter or constraints we should use to get this data incrementally ? 

Here is my current USERS GraphQL query for reference:

query MyQuery {
  users(
    last: 1000
    constraints: {registrationTime: {gte: "2024-01-01T00:00:00.000+00:00", lte: "2024-10-01T00:00:00.000+00:00"}}
  ) {
    edges {
      node {
        id
        title
        firstName
        lastName
        email
        viewHref
        }
      }
    }
  }
}

 

Thanks,

Aishwarya

No RepliesBe the first to reply