-
Notifications
You must be signed in to change notification settings - Fork 104
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
HttpMethod::PUT is not implemented. #158
Comments
You should be able to use patch for this. Have you tried the patch method on ODataClient? |
I have. For some reason Acumatica has put constraints on which verbs are used for creating and updating an entity. And to create you have to use put. Again, I have no clue why or what the reasoning is. |
The helper methods on ODataClient simply forward to the $client->request(HttpMethod::PUT, $requestUri, $body); This is using the If that works, we can look at adding a |
I'm doing that now, and it works. But there are some scenarios where it would be nice to use the fluent API and be able to incorporate the expand method into a put. If it's a pretty straightforward change I would be willing to submit a PR, I need some help figuring out where the right place to start is. |
I'm working on a system that talks to an Acumatica oData service. Creating/updating records requires using the put verb (don't ask me why). Any chance adding a put method into the mix is possible?
The text was updated successfully, but these errors were encountered: