-
Notifications
You must be signed in to change notification settings - Fork 255
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
Adding TrackingOption to TrackingCategory issue #256
Comments
This issue still persists! |
I am having the same issue. |
bump, still an issue |
Was broken, resolves calcinai#256, calcinai#637
Changing TrackingOptions to Options in XeroPHP worked soughta... but I was still getting a different error. I added a work around by making the option manually Note: $this->_xero_oauth_object is my \XeroPHP\Application\PublicApplication from authentication
If anyone is interested, the rest of my code shows how to add it to the trackingCategory
|
Hi,
I have issue to add TrackingOption to TrackingCategory by using TrackingCategory::addOption() function.
After I spent some time on it I found in the XeroPHP\Models\Accounting\TrackingCategory\TrackingOption file, the values getResourceURI() and getRootNodeName() return don't match the Xero API request url and body:
PUT https://api.xero.com/api.xro/2.0/TrackingCategories/{TrackingCategoryID}/Options
I changed them to
, and now it works. Not sure it may cause some other issues or not, but it temporarily fixes the issue.
The text was updated successfully, but these errors were encountered: