I'm using "Search Records based on record values" People Zoho API in order to get the list of the users that have a birthday today.
Purpose: This API is used to fetch all the records of a form based on
the record values.
Request URL:
https://people.zoho.com/people/api/forms//getRecords?authtoken=****&searchParams={searchField:
'', searchOperator: '', searchText :
''}
but none of the operators allow me to search for Date_of_birth in "like" mode. For example:
https://people.zoho.com/people/api/forms/employee/getRecords?authtoken=c****&searchParams={searchField : 'Date_of_birth', searchOperator : 'Starts_With', searchText : '2-Jul'}
will return error:
The search operator 'Starts_With' is invalid for the search field 'Date_of_birth'
and other date operators, not allowing to get a list of records that have a birthday in the specified date.
Am I using the correct method and what are the proper parameters?
If I'm using the incorrect method, what is the correct one and proper parameters to be used?
The received official answer from Zoho support states such functionality doesn't exist in Zoho API. Hence it's not possible to get a list of employees who have a birthday today:
Hello Oleg,
Greetings from Zoho people!
With regards to your query,
As of now, we do not have any options to fetch the employee whose birthday falls today through API. If he wants to be notified when the employee has their birthday, we can set the mail alert via workflows.
Have a great day !
An API that can fetch users whose data attributes has been modified in Zoho people.
(E.g. Any users whose any attribute is modified at Zoho end in last 24hrs should only be captured by API )
Related
I have podio data with more number of column, but we need to fetch 5-6 column data through API. I attached column name screenshot. If we need only for example order id, city, country then how to write API query?
/item/app/{app_id}/filter/
If it is right, how to write query with selected column name with GET/POST.
The filter endpoint uses a POST body to filter which records to return, not which fields/columns to return. It is not possible to specify which fields/columns to return with an API call according to this SO thread from an old Podio support person.
If you are looking to remove fields from the query to reduce your datasource size within Klipfolio, I would recommend returning the API call in CSV format instead of JSON. Klipfolio support documents how to do this HERE by performing a GET operation and adding /csv to the end of the URL.
https://api.podio.com/item/app/Your-APP-ID/csv/
I have multiple issues (people) in a Jira cloud instance and they all have a birthday field.
Now, I'ld like to run a JQL to find out if anyone have a birthday today, so I can remind everyone else. Is this possible?
I also have access to the automation for jira plugin if that helps.
Assuming that your birthday field is a valid date, try birthday_field >= startOfDay() AND birthday_field < endOfDay which should give you a result set of people/issues with birthday field value that fall today. For additional references, checkout Function Reference page.
I'm afraid this won't be easily possible.
If the field is date field (e.g. 11/Dec/1979), the birthday is probably stored including year of birth and therefore time functions (now(), startOfDay(), ...) won't work.
If the field is string field (1979-12-11), then you won't be able to compare it with today as you can get now() as a string.
One idea - if you have ScriptRunner installed, create a simple custom scripted field (e.g. Birthday Anniversary) and recalculate original birthday to birthday anniversary this year (11/Dec/2019). You will be then able to compare this field with today, e.g.:
"Birthday Anniversary" = now()
On top of that, once you are able to create such filter, you can create a custom dashboard with today's birthdays and you can subscribe to this filter and get daily overview of today's birthdays.
In my team we send notification about tickets in the following ways:
Jira filters subscription for cases where we need plain(to one person/lead/manager) notification, but without fields analysis
https://confluence.atlassian.com/jira064/receiving-search-results-via-email-720416706.html?_ga=2.134616433.1430628443.1592459825-259335427.1591590509
https://confluence.atlassian.com/jira064/receiving-search-results-via-email-720416706.html?_ga=2.134616433.1430628443.1592459825-259335427.1591590509
https://github.com/dgroup/lazylead for cases where we need automatically check ticket fields, comments, links and alert corresponding person, assignee or reporter.
Please note that i'm author of https://github.com/dgroup/lazylead app.
Can anyone tell me if they are know for certain whether or not survey monkey's api has the ability to return the unique ID associated with their designated unique id specifications:
http://help.surveymonkey.com/articles/en_US/kb/Can-I-track-respondents-using-a-unique-ID
It states the following regarding viewing this in the aforementioned link:
When these results come back on the survey, that custom ID of "00001"
appears in the Custom Value field in the Analyze > Browse Responses
section.
However I cannot find any mention of this data being returned from their API in the API documentation:
https://developer.surveymonkey.com
It can be retrieved by sending 'custom_id' as a requested field to 'get_respondent_list':
https://developer.surveymonkey.com/mashery/get_respondent_list
It will then be in the 'custom_id' field in the respondent's dictionary.
Is it possible to fetch users by city or country? I would like to create something very local!
I've checked the available documentation but fail to see any solution to this, so this is a final stretch.
The City and Country properties are not searchable with the provided q parameter in the API, and as this searches over username / description and title you'd return a large number of false positives if it could.
It's unlikely you could over select as mentioned in the comments, as there are just too many users to pull down and then parse.
I'm trying to get a report from the YouTube Analytics API.
I need this report specifying the country and the dates for an specific video.
This code works:
dimensions=country&metrics=views,estimatedMinutesWatched,averageViewDuration,averageViewPercentage,subscribersGained
sort=-estimatedMinutesWatched&filters=video==VIDEO_ID
If I specify just the country or day dimension, it works.
If I specify day and country dimensions, it throws a 400 error Bad request "The query is not supported. Check the documentation at https://developers.google.com/youtube/analytics/v1/available_reports for a list of supported queries."
This doesn't work:
dimensions=country,day&
metrics=views,estimatedMinutesWatched,averageViewDuration,averageViewPercentage,subscribersGained
sort=-estimatedMinutesWatched&filters=video==VIDEO_ID
Is there another way to get the data in the format I'm looking for, since seems this query is not supported by the API?
This is not allowed. Check the docs:
https://developers.google.com/youtube/analytics/v1/channel_reports
So you could either
query country dimension and filter by day
or
query day dimension and filter by country