Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

List Available Content call - Filters are not working #367

Open
buildbod opened this issue May 12, 2023 · 2 comments
Open

List Available Content call - Filters are not working #367

buildbod opened this issue May 12, 2023 · 2 comments

Comments

@buildbod
Copy link

The date range filters are not working with the List Available Content API call ( https://learn.microsoft.com/en-us/office/office-365-management-api/office-365-management-activity-api-reference#list-available-content ). The call is only returning data for the current day no matter how the filters are constructed.

hmmoffic365apifilters

@buildbod
Copy link
Author

buildbod commented May 13, 2023

I think the issue is that the documentation includes superfluous ampersands

image

issuing a call as per the documentation results in the api ignoring the time filters

issuing a call without the amp; results in the api respecting the time filters.

I recommend that the documentation be changed from:

/subscriptions/content?contentType={ContentType}&startTime={0}&endTime={1}

to

/subscriptions/content?contentType={ContentType}&startTime={0}&endTime={1}

@buildbod
Copy link
Author

This is now being addressed with an update to the documentation. #368

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant