{"title":"opportunity resource type","url":"https://jonas-paprotka.de/docs/dev-itpro/api-reference/v2.0/resources/dynamics_opportunity/","by":"JOP-AL","license":"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.","credit":"Microsoft Corporation, CC BY 4.0","origin":"https://learn.microsoft.com/en-us/dynamics365/business-central/dev-itpro/api-reference/v2.0/resources/dynamics_opportunity","source":{"name":"Business Central developer and IT pro docs","repo":"https://github.com/MicrosoftDocs/dynamics365smb-devitpro-pb","commit":"828b6ee72fcd75755627cd6011f3d20899217ab2","date":"2026-11-19"},"checked":"2026-11-19","description":"An opportunity object in Dynamics 365 Business Central.","date":"2026-08-21","meta":{"topic":"reference"},"outline":[{"level":1,"title":"opportunity resource type","slug":"opportunity-resource-type","at":0,"chars":2240},{"level":2,"title":"Methods","slug":"methods","at":233,"chars":378},{"level":2,"title":"Properties","slug":"properties","at":611,"chars":765},{"level":2,"title":"JSON representation","slug":"json-representation","at":1376,"chars":668},{"level":2,"title":"Related information","slug":"related-information","at":2044,"chars":196}],"text":"# opportunity resource type\nRepresents an opportunity in Business Central.\n> NOTE\n> For information about enabling APIs for Business Central see Enabling the APIs for Dynamics 365 Business Central<../enabling-apis-for-dynamics-nav>.\n## Methods\nMethod|Return Type|Description\n../api/dynamics_opportunity_get|opportunity|Gets an opportunity object.\n../api/dynamics_opportunity_delete|none|Deletes an opportunity object.\nPOST opportunity<../api/dynamics_opportunity_create>|opportunity|Creates an opportunity object.\nPATCH opportunity<../api/dynamics_opportunity_update>|opportunity|Updates an opportunity object.\n## Properties\n|Property|Type|Description|\n|id|GUID|The unique ID of the opportunity. Non-editable.|\n|number|string|Specifies the number of the opportunity.|\n|contactNumber|string|The number of the contact.|\n|contactName|string|The name of the contact.|\n|contactCompanyName|string||\n|salespersonCode|string||\n|description|string|Specifies the description of the opportunity.|\n|status|NAV.opportunityStatus||\n|closed|boolean||\n|creationDate|date||\n|dateClosed|date||\n|calculatedCurrentValue|decimal||\n|chancesOfSuccessPrc|decimal||\n|completedPrc|decimal||\n|estimatedClosingDate|date||\n|estimatedValue|decimal||\n|systemCreatedAt|datetime|The datetime the company was created.|\n|lastModifiedDateTime|datetime|The last datetime the opportunity was modified. Read-Only.|\n## JSON representation\nHere's a JSON representation of the opportunity resource.\n```json\n{\n    \"id\": \"GUID\",\n    \"number\": \"string\",\n    \"contactNumber\": \"string\",\n    \"contactName\": \"string\",\n    \"contactCompanyName\": \"string\",\n    \"salespersonCode\": \"string\",\n    \"description\": \"string\",\n    \"status\": \"NAV.opportunityStatus\",\n    \"closed\": \"boolean\",\n    \"creationDate\": \"date\",\n    \"dateClosed\": \"date\",\n    \"calculatedCurrentValue\": \"decimal\",\n    \"chancesOfSuccessPrc\": \"decimal\",\n    \"completedPrc\": \"decimal\",\n    \"estimatedClosingDate\": \"date\",\n    \"estimatedValue\": \"decimal\",\n    \"systemCreatedAt\": \"datetime\",\n    \"lastModifiedDateTime\": \"datetime\"\n}\n```\n## Related information\n../api/dynamics_opportunity_get\n../api/dynamics_opportunity_delete\nPOST opportunity<../api/dynamics_opportunity_create>\nPATCH opportunity<../api/dynamics_opportunity_update>"}