# Close Won Opportunity

> Windows | Cross-platform

## Project compatibility

Windows | Cross-platform

## Overview

| Description | API Method | API Path |
| --- | --- | --- |
| Mark an opportunity as won and closed in Microsoft Dynamics 365 CRM. | POST | /close_WinOpportunity |

## Input

| Parameter | Description | Data Type |
| --- | --- | --- |
| Opportunity | Unique identifier of the opportunity to be closed. This can be retrieved from List All Records → Opportunities | string |
| Actual end date | Date on which the opportunity was actually closed as lost | string |
| Description | Additional notes or comments explaining why the opportunity was closed as lost | string |
| Actual value | Final monetary value associated with the opportunity at the time it was closed | number |

## Output

| Parameter | Description | Data Type |
| --- | --- | --- |
| Response | Full response object returned after closing the opportunity | Object |
| Opportunity close | Unique identifier of the opportunity close record created as part of the close-lost action | string |

:::note
* In API workflows, a single
response object is returned as the output. Any required fields can be extracted directly from this object.
* In RPA workflows, some output
parameters may differ, but the necessary values can still be retrieved from the response object even if they are not explicitly exposed.
:::
