# opportunity resource type
Represents an opportunity in Business Central.
> NOTE
> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.
## Methods
Method|Return Type|Description
../api/dynamics_opportunity_get|opportunity|Gets an opportunity object.
../api/dynamics_opportunity_delete|none|Deletes an opportunity object.
POST opportunity<../api/dynamics_opportunity_create>|opportunity|Creates an opportunity object.
PATCH opportunity<../api/dynamics_opportunity_update>|opportunity|Updates an opportunity object.
## Properties
|Property|Type|Description|
|id|GUID|The unique ID of the opportunity. Non-editable.|
|number|string|Specifies the number of the opportunity.|
|contactNumber|string|The number of the contact.|
|contactName|string|The name of the contact.|
|contactCompanyName|string||
|salespersonCode|string||
|description|string|Specifies the description of the opportunity.|
|status|NAV.opportunityStatus||
|closed|boolean||
|creationDate|date||
|dateClosed|date||
|calculatedCurrentValue|decimal||
|chancesOfSuccessPrc|decimal||
|completedPrc|decimal||
|estimatedClosingDate|date||
|estimatedValue|decimal||
|systemCreatedAt|datetime|The datetime the company was created.|
|lastModifiedDateTime|datetime|The last datetime the opportunity was modified. Read-Only.|
## JSON representation
Here's a JSON representation of the opportunity resource.
```json
{
    "id": "GUID",
    "number": "string",
    "contactNumber": "string",
    "contactName": "string",
    "contactCompanyName": "string",
    "salespersonCode": "string",
    "description": "string",
    "status": "NAV.opportunityStatus",
    "closed": "boolean",
    "creationDate": "date",
    "dateClosed": "date",
    "calculatedCurrentValue": "decimal",
    "chancesOfSuccessPrc": "decimal",
    "completedPrc": "decimal",
    "estimatedClosingDate": "date",
    "estimatedValue": "decimal",
    "systemCreatedAt": "datetime",
    "lastModifiedDateTime": "datetime"
}
```
## Related information
../api/dynamics_opportunity_get
../api/dynamics_opportunity_delete
POST opportunity<../api/dynamics_opportunity_create>
PATCH opportunity<../api/dynamics_opportunity_update>

Copyright (c) Microsoft Corporation. CC BY 4.0, https://creativecommons.org/licenses/by/4.0/; code samples MIT. From https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_opportunity, MicrosoftDocs/dynamics365smb-devitpro-pb at 828b6ee (2026-11-19). Changed: includes filled in, links to this site, and for agents shortened without dropping a fact. https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_opportunity/
