AnsweredAssumed Answered

Insert from URL to access Xero API

Question asked by ncg1 on Jan 5, 2018
Latest reply on Jan 20, 2018 by fmpdude

I currently use the BaseElements plugin and would prefer to access Xero natively using FM16.

 

I have a Xero private application set up in the API. With BaseElements I can access it as follows, which returns the details of a specific customer which I can then parse:

 

BE_Xero_SetTokens ( XeroConsumerKey ; XeroPrivateKey )

Set Field [ XeroTemp ; BE_HTTP_GET ( "https://api.xero.com/api.xro/2.0/contacts?where=Name=\"" & Substitute ( Contacts::Name ; " " ; "%20" ) & "\"" ; "" ; XeroConsumerKey ; XeroPrivateKey ) ]

 

How would I do this using Insert from URL please?

Outcomes