By reading the docs I have come across the WinOpportunity and LostOpportunity message that I can POST.
For example to Win my opportunity I can POST thusly:
url: myorg.crm.dynamics.com/.../WinOpportunity body: { "Status": 3,"OpportunityClose": {"subject": "Won Opportunity","opportunityid@odata.bind": "/opportunities(7b57eae2-0401-e711-8104-5065f38b4251)" } } headers: Authorization: Bearer <access_token> Content-Type: application/json; charset=utf-8 Accept: application/json; charset=utf-8 OData-MaxVersion: 4.0 OData-Version: 4.0
---------------------
And it all works with a 204 http status response. So far so good.
Similarly I can close as lost an open oportunity with a LoseOpportunity request and using a status code of 4.
What can one do to REOPEN an opportunity that is not in open state?
I have been scouring the docs and don't see how to do this.
Any help is greatly appreciated.
Thanks in advance.