I'm trying to make app that use myintervals API.
And I need to check for project members contact information.
In order to make API call for each person for it contacts, I'd like to dump contacts for all persons in project(or company), so I could make 1 API request, not a 100.
Unfortunately I didn't found how to perform such request.
May I have some help about it?
According to the API definition the person resource expects an integer so there isn't a way to exclude it or add more than one id via a comma-delimited list of people ids.
http://www.myintervals.com/api/resource.php?r=personcontact
The only way to get at them will be one per request. Try sending an email to support to see if the requirement can be lifted or modified to allow multiple ids to be sent.
Related
I have multiple client Id (i.e. xxx-xxx-xxxx) under one main account. I can access API by using one account id (xxx-xxx-xxxx) and get the API response.
But in my current application I need to get API response of multiple account id (i.e. xxx-xxx-xxxx, yyy-yyy-yyyy). Actually I want to avoid the API call in loop of multiple account id.
Now in my php library I can set one account that is
$user = new AdWordsUser();
$user->SetClientCustomerId($clientId);
Is there any way, so that I can set multiple account and get data in one single API call in google adwords ?
The SetClientCustomerId($clientId); method only accepts 1 parameter (1 client id), so no, you can't set multiple accounts and get data in one single API call.
I am trying to get all emails that were sent to all contacts of a specific Tag.
I was checking Graphly and I noticed that they have this reporting called "Daily & Hourly Email Engagement" and they were able to group by an email to a specific Tag.
Here is their feature of that function:
I am aware that Infusionsoft has an API for Email. But their API does not support grouping of emails by tags. They only have parameters of contact_id and email.
How did Graphly did their's? Am I missing something here?
I have been wondering for the past 3 days already. Your help is a gold mine to me!
Thanks.
I suppose they may combine results of several API requests. For example, it's possible to load contacts by a tag and use contact id in list emails request.
There's also some chance a legacy API data is in use.
I've been looking for a way to get SendGrid stats for specific campaigns. I can see the stats on the Campaigns page of the SendGrid dashboard, but I can't find an API endpoint to get that data.
I could retrieve the Global and Overview stats, no problem, but in this case, those are not helpful for me. I need per-campaign stats. Is there a way to get those reports through the API?
Campaign level stats are not available via the official Sendgrid API, at least not that I could find.
However, there are a couple of undocumented URLs you can use to get campaign level stats:
https://sendgrid.com/marketing_campaigns/campaigns/CAMPAIGN_ID/stats.csv
^ this returns data in CSV format
https://sendgrid.com/marketing_campaigns/campaigns/CAMPAIGN_ID/stats.json
^ this returns data in JSON format
Note that these are the endpoints used by the Sendgrid web client, and so require authentication via Cookie token.
To obtain a token you can use the https://api.sendgrid.com/v3/public/tokens endpoint, and send your username and password in the payload.
Then you can send that token as a Cookie along with your requests to the above Sendgrid web client endpoints. Note, you must use cookie name mako_auth_token.
I solved my situation by creating unique (ID-like) categories for each campaign. This way, I can use the Category Stats API Endpoint. It's not a semantically correct usage of categories, but this is the only way I found to achieve this.
Update July 2017:
I also achieved this goal + much more by using SendGrid Subusers and the on-behalf-of: subuser_<username> header (search on behalf of subuser in the left searchbox). This header allows you to create requests using the parent account on behalf the subuser.
Hi I need to build a dashboard which shows stats for our automation campaigns such as sends, opens, bounces etc.
The Mailchimp api only returns for the entire period the automation has been active. I want to see the stats for a particulier date, however I can't find an API method that accepts a date range or groups results per date. The lists/activity method is exactly what I need, but it doesn't include e-mails sent using an automation :(
I have emailed the Mailchimp support team and they recommend me to use the /reports/email-activity method. This returns a long list of all open and bounce activities for an automation. I have tried to use this, but this is also not a good solution. This means I would have to store thousands of events in MySQL and run complicated group by and where queries to get my data. Furthermore this only includes the open, click and bounce events, thus this data is worthless without knowing how much e-mails were sent on the date of an event because you can't calculate open rates.
Does anyone know a way the retrieve stats for just one date? What I am looking for is a Mailchimp version of Mandrill method: https://mandrillapp.com/api/docs/messages.JSON.html#method=search-time-series.
Thank you for you time and help
for the campaigns exist "Response body parameters"
before_send_time
since_send_time
campaigns?since_send_time=2016-02-21T15:41:36+00:00&before_send_time=2017-03-10T15:41:36+00:00
It's possible to retrieve first level contacts of one of my LinkedIn contacts using LinkedIn API.
If i pass one of my contacts name or email, it is possible to retrieve his/her first level contacts, i'm using PHP as my development platform.
Help is highly welcome!
You can only search for 2nd level/degree connections with the People Search API, and you need approval before you can use it. There is no way to get a full list of all 2nd level connections without search parameters.
Search for "facets" in the API docs, especially with the value "S" (Second Degree Connections).
The profile fields for the LinkedIn API are documented here:
https://developer.linkedin.com/documents/profile-fields
As you can see, connections are not available for second degree (or further) connections, only for the logged-in and authenticated user.