-
Notifications
You must be signed in to change notification settings - Fork 8
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
(Batch) Activate or Close Quotes #17
Comments
Hi @zaha, Some native entities have special actions to change their state. I'll implement the Winquote and CloseQuote actions in the api. The bulk actions are a little more complex to implement and I would like to review the way they are implemented before adding more custom actions. But if bulk 'Close Quote'/'WinQuote' are a must-have for you scenario I can do it first. |
Hi @RafaelCavazza, as I had some time on my hand I already started on it myself. I figured it would be a good idea to give the way custom actions are handled an overhaul to make it similar to the official SDK's Organization Service: I planned to have a marker Interface for all actions While doing so I also realized it would be nicer to rely on a custom Contract Resolver and JSON Converter to handle special serialization rules like for Entity References or Activity Parties to keep the Execute method simple. When I'm done it should be possible to simply call I'm right now in the middle of implementing this so if you have other ideas just say them, so I can consider them in the implementation. :) |
Since we only added what we needed a lot of custom actions are not covered. The custom Json converter is a great idea to organize and separate the serialize logic. I think we can creat a separate issue for this one. I'll wait you PR and perhaps we can start to cover other custom actions. |
Hi @RafaelCavazza
I tried to activate and close a quote, but I always get the following error:
Am I doing somethring wrong here?
Or is this operation not supported yet? I am not quite sure how this is supposed to work with the Web API. I found one source stating that you are supposed to use the Update Request for that kind of operation now and then I found special actions just for Win Quote and Revise Quote in the Web API doc.
Would need to know the same for winning/losing opportunities, but I assume this is similar.
The text was updated successfully, but these errors were encountered: