-
Notifications
You must be signed in to change notification settings - Fork 200
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
Error 400, Creating new class #62
Comments
What does your code look like? |
This is not an error in the code. In specific instances, sadly not documented in the API documentation of Exact this is a requirement. Probably to prevent overflooding requests. What you have to do when encountering this error is adding a select or top. The select is used to provide a list of fields you want to extract, the $top=1 limits the results to one item. Examples: Returning only the EntryID and FinancialYear. The $top=1 is added like this: |
Thanks @remkobrenters, added your response to the readme :) |
You might want to slightly rewrite the examples as they are quit short and not conclusive :) but cool! Took me a while to figure this out myself last week. Almost added a pull for a slightly improved ->get() that allowed adding the $top=1 with a boolean or something. |
Will add that to my todo list :) Planning on reviewing the entire readme soon. |
I get the following error when i try to create the class SalesItemPrice and use the
get()
function:This is the code for the class SalesItemPrice:
The text was updated successfully, but these errors were encountered: