Try the fastest and simplest way to install ONLYOFFICE

API Request - Times Filter

Integration questions/issues

API Request - Times Filter

Postby adamg » Mon Sep 19, 2016 4:04 am

An API request has been made and i need to know how to filter the request for today only.

https://api.onlyoffice.com/portals/meth ... ime/filter

The above seems to have create and end date of the job. However nothing for the time itself.
Instead of a large amount of values:

The results im getting contain everything :(
Array
(
[count] => 1000
[total] => 5228
[status] => 0
[statusCode] => 200
[response] => Array
adamg
 
Posts: 3
Joined: Fri Mar 25, 2016 1:54 am

Re: API Request - Times Filter

Postby Eugenie » Tue Sep 20, 2016 1:41 pm

https://*.onlyoffice.com/api/2.0/projec ... %3A00%3A00

Instead of * alias, instead of 2016-09-20 you need to set the date you need.

You can enter your portal, set the filter as you need and in the tab "Net" you can see the request, which is sent to the server and use it then.
Eugenie
 
Posts: 134
Joined: Mon Aug 25, 2014 10:11 am


Return to API

Who is online

Users browsing this forum: No registered users and 1 guest

cron