Highrise CRM contact search API - highrise

I'm trying to get a contact in Highrise CRM using the following API:
/people/search.xml?email=emailID
But the results are not related to the email of the contact I asked for. Am I missing something here?

Take a look at the API docs here:
https://github.com/basecamp/highrise-api/blob/master/sections/people.md#search-people
Looks like your query string doesn't match the criteria format.
Also, try running curl to see what the response is and post it, might help to clarify. :)

API that works:
/people/search.xml?criteria[email]=emailID

Related

How to write a Kibana query using regex on it?

Hi thhis is my first time working with kibana. I am creating a simple kibana dashboard for my java application. I have 3 endpoints and in my kibana dashboard, I will create panels to store 5xx and 4xx status code from my application.
My issue is that if I have a path variable in my url, how would my kibana query look like?
I am writing it this way and it does not work (doesn't fetch any results):
kubernetes.container_name: "v1/myapp" AND uri: "v1/deposits/([a-zA-Z0-9]*)/output"
Please help me to rewrite the regex portion.
🙏
You should be able to click "Edit Query DSL" and there you can use this regex query.
Hope it helps!

What is the syntax to update employee address using API call for Quickbooks Online on Postman?

I have successfully done an API call from Quickbooks Online that shows me a list of employees through Get https://{{baseurl}}/v3/company/{{companyId}}/query?query=Select * from Employee.
I wanted to find out what the syntax was to update employee addresses using an API call. I am new to all the lingo, but I would love to learn, so any advice would be appreciated!
You can find all you need in the documentation:
https://developer.intuit.com/app/developer/qbo/docs/api/accounting/most-commonly-used/employee#full-update-an-employee

Facebook graph api post status

I'm trying to post on my own feed , but im not able to ,as this page says we cant on feed directly but by using 'share' link
can someone please explain? how to post on feed using simple curl command?
https://developers.facebook.com/docs/graph-api/changelog/breaking-changes#login-4-24
It is no longer possible to post to a user profile with the API (or with curl), the docs are very clear about that. You can only use the Share Dialog.

Post XMl data to a webservice via YQL

I have a vendor, that i need to post XML data to their Webservice that will give me a response which will get displayed via Javascript in the tabular format.
I was using xmlhttp object or Ajax, but that will result me in getting Cross site scripting alert box in IE.
So i thought i will use YQL , but nowhere i could find a way to post data to the webservices via YQL. are there any examples. is this possible?
I even tried "Select * from http://stagingimport.brassring.com/WebRouter/WebRouter.asmx/route where Query = ...". this webservice does not accept JSON data.
Or are there any similar things like YQL that will do that.
I am using SharePoint and would not want to go through server side solution , as this is a temporary solution of what we are trying to achieve.
I am going to this URL http://stagingimport.brassring.com/WebRouter/WebRouter.asmx/route that is a webservice and requires xml data send them via post.
I would appreciate your input.
Thanks
Rahul
Alright guys,
i think i found it.
The answer is Yes, you can do it. i opened up a Yahoo console and wrote something like
select * from xml where url='http://import.brassring.com/WebRouter/WebRouter.asmx/route?inputXml=%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22iso-8859- .........
and it did return me the record, although it was not JSON as they only return XML inside an XML.
Today I also tried ql.io from Ebay and I was also able to get the expected return value.
Hope it will help someone, Can't give the whole code as stated above as it is authenticated.

using POST request on Facebook Graph API

I want to access graph API to get the number of shares for different pages of my website. I can use the GET method to do so but I want to use POST so that I can send more url in a single request. The current implementation I have for GET is
http://graph.facebook.com/?ids=http://umairj.com/,http://umairj.com/146/how-to-clear-facebook-shares-cache/
Can anyone please help ?
This is badly documented (I mean I didn't find the information when I looked for it!), but there is way to pass all the parameters to the Graph API through POST method:
in your example, you should POST to http://graph.facebook.com/
with the following DATA:
ids=http://umairj.com/,http://umairj.com/146/how-to-clear-facebook-shares-cache/&method=GET
I'm not sure about the encoding of the POST DATA..in our case, we were just using ids=.....,.....,..... with numeric FB user ids and we didn't need to do any encoding, but you might need some url-encoding
Don't forget the &method=GET or it won't work ! It helped me break the url length limit that was causing bugs on Internet Explorer (I think RFC says 1024 characters, all browsers support much more, IE only ~4096 ) when we were passing too many ids through GET
if you wish to access non-public information, the same trick works with https://graph.facebook.com/ , provided you add &session_token=***** to your query
You can try to run a FQL query to get the stats for multiple urls. Facebook link_stat documentation has an example of how to do this. I'm pretty sure you can't POST to either the FQL query or the graph api you were using though unfortunately. Your FQL query would be:
SELECT url, share_count, like_count FROM link_stat WHERE url IN("http://umairj.com/","http://umairj.com/146/how-to-clear-facebook-shares-cache/")
Here is the url after properly url encoding the query: https://api.facebook.com/method/fql.query?query=SELECT+url%2C+share_count%2C+like_count+FROM+link_stat+WHERE+url+IN%28"http%3A%2F%2Fumairj.com%2F"%2C"http%3A%2F%2Fumairj.com%2F146%2Fhow-to-clear-facebook-shares-cache%2F"%29&format=json
Facebook provides a FQL testing tool to help.
Update: their API documention (see section titled "Delete) mentions you can do an HTTP POST to any of their methods and set the variable method to the method you want. You could try this, although this was designed for delete and put methods not available to javascript clients. It still looks like is all url based so I'm not sure it will take a form encoded parameter like you are looking to do.
I work at Facebook and I've updated our Graph API documentation to document this work around for very large requests:
https://developers.facebook.com/docs/graph-api/using-graph-api#largerequests