How do I retrieve tickets for a specific month? - zendesk-api

I would like to retrieve data on tickets for the month of July. I used the incremental export to set the "start_time" to July 1st but I am also receiving tickets for August as well.
I noticed that Zendesk has "end_time" but I don't know how or if it is possible to use both start time and end time together to limit my data only to July. I'm using Python to do this.
Link

I am also working on zendesk api in python but I want to tell you that there is "start_time" in ticket api here you can see that link.
Yeah there is "start_time" in Zendesk Talk api in Incremental Export, and here it is working absolutely fine.

Related

Send email if planned date is passed in dynamics CRM

I need to write a workflow for a library system. In which the workflow required to wait after 5 days when planned check in date is passed and then send an email. I tried the following but seems it'll not work.
If Planned check-in date Equals 5 DaysBook:Check Out
then send email
Any suggestion where I am doing wrong?
you would need to use the wait condition rather than the if condition support here.

Use XML Data exported from Health App

I'm trying to write some code to import in Excel the xml export from the health app Excel so I can chart various metrics over a longer period with more detail. For the blood glucose readings, the "startDate" and "endDate" attributes don't appear to be dates connected to times the data was entred using the app on the iPhone.
Anyone have an idea on how to interpret these dates? It is an average of some type? I can't find any documentation on the xml entries.
One thing to note - for the "weight" xml entries, the time in the xml export is the exact time the entry was added to the iPhone app.
The timestamps use ISO 8601, so the time of the first record is 6:43-7:43am (PDT), and the second record is 5:43-6:43pm (PDT). Looks like the Health app exports values aggregated at the hour level, not individual measurements, though it seems strange that the times don't start at full hours.
Does the Health app have any options for the export? Couldn't find any documentation, either, and would love to get hold of a sample file (I don't have an iOS device at the moment)!

Twitter search for hashtags that date back almost 2 years

I am trying to retrieve all tweets with a certain #hashtag in them over a certain time period (dates 2 years back). Is there a way to automatically collect/save all the tweets concerned or the search results?
I tried scrolling down to that point, which kind of worked, but it took hours of holding the "page down-button".
Using the twitter-api, it looks like you're trying to use the search call.
The two date methods (year-month-day) are:
hashtag since:2011-05-09 - Searches for "hashtag" and sent since date "2011-05-09".
hashtag until:2011-05-09 - Searches for "hashtag" and sent before date "2011-05-09".
Using these in the GET request, you can pull as many as the api allows at once, then loop through them and save them how you wish. You haven't provided a language that you're using, so this generic information is as far as I can help with.

Recurring Event or Automatically push Entry date forward in ExpressionEngine

I've got an events channel set up on a client site where everything is working just fine. However they now have a single event that runs every Sunday. Due to using the start_on parameter to only show events from the current month onwards this recurring event is now displaying a blank page.
Is there a simple way to have the entries publish date automatically updated to the current month or somehow display recurring events correctly. Client is unwilling to spend money on a new module such as Solspace Calendar.
You could set up a cron job on the server to run a PHP script which would modify the entry date on your recurring entry.
Yeah I see your dilemma, Sean - separating the event from its month and year (year in particular) to have one even display multiple times... What about using MX Clone to simply allow them to create multiple instances of the same entry (granted, they'd have to adjust the date for each one too, but that can be done en masse from the mass edit screen if you're using one of the native date fields and not a custom date field)?
Could you make the entry sticky? Not sure whether that would override the start_on parameter or not.

Retrieve resource working hours from Project Server via PSI

I'm working with SharePoint and ProjectServer 2007 via PSI.
I need to retrieve the working hours of an employee in a project during a date range but I can't find a way to do it. The closest data I've gotten is the RES_ACT_WORK from Project.ReadProject(), but this is a total value.
Any ideas?
Finally I've found the way to retrieve it!!!
Statusing.ReadStatusTimephasedData
Edit:
This method return the statusing data for the currently logged user. If the user is the project owner, it will get the data for every assigned resource. Otherwise, only the user's data will be returned.
In order to retrieve the whole of the data (every project and every resource), the [PSI impersonation][2] must be used.
But that is not possible in my case, so I am developing a [PSI extension][3] to expose the information I need and [custom permission][4] to control access to it.
[2]: http://msdn.microsoft.com/en-us/library/aa974347(office.12).aspx
[3]: http://msdn.microsoft.com/en-us/library/bb428837(office.12).aspx
[4]: http://msdn.microsoft.com/en-us/library/aa974255(v=office.12).aspx
NB: I cannot post more than one link yet :P

Resources