Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SugarCRM 8 and API v_11 #37

Closed
nissyre opened this issue Jul 10, 2018 · 4 comments
Closed

SugarCRM 8 and API v_11 #37

nissyre opened this issue Jul 10, 2018 · 4 comments

Comments

@nissyre
Copy link

nissyre commented Jul 10, 2018

Hi,
are you going to upgrade this rest client to work with SugarCRM 8 and API v_11??

@abhiyanp
Copy link

abhiyanp commented Jul 18, 2018

I was able to get it working by setting the version parameter as follows.
$sugar = new SugarAPI('http://192.168.199.48' ); $sugar->setVersion('11_1');

@parithibang
Copy link

@abhiyanp
I have tried this is not been working for me. The code flow is from
setVersion()->setAPIUrl()->configureAPIURL().
Where they are using intval() method which converts 11_1 to 11. The resulting output would be http://192.168.199.48/rest/v11/ for the above case and not http://192.168.199.48/rest/v11_1/

MichaelJ2324 added a commit to MichaelJ2324/rest-php-client that referenced this issue Feb 6, 2019
@MichaelJ2324
Copy link
Contributor

I submitted an update for this issue. Will cut a release as soon as it is merged. Please know, you can always submit a PR to the repo yourself if you come across and issue and we will review and merge in updates as well.

crazytonyi added a commit that referenced this issue Feb 6, 2019
SUPP-1025 - Issue #37 - Allow for v11 minor versions in API
@MichaelJ2324
Copy link
Contributor

Release 1.4.5 resolves this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants