> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useparagon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Microsoft Dynamics Create Record Opportunity



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#MICROSOFT_DYNAMICS_CREATE_RECORD_OPPORTUNITY
openapi: 3.0.0
info:
  title: ActionKit Tools API
  version: 1.0.0
servers:
  - url: https://actionkit.useparagon.com
    description: US Cloud
security: []
paths:
  /projects/{project_id}/tools/#MICROSOFT_DYNAMICS_CREATE_RECORD_OPPORTUNITY:
    post:
      summary: Microsoft Dynamics Create Record Opportunity
      parameters:
        - name: project_id
          in: path
          required: true
          schema:
            type: string
            description: >-
              Your Paragon Project ID. You can copy your Project ID from your
              dashboard URL or by clicking Copy Project ID under the Environment
              switcher.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                tool:
                  type: string
                  default: MICROSOFT_DYNAMICS_CREATE_RECORD_OPPORTUNITY
                parameters:
                  type: object
                  properties:
                    name:
                      type: string
                      description: >-
                        Name : A subject or descriptive name, such as the
                        expected order or company name, for the Opportunity.
                        This field is required.
                    customerid:
                      type: string
                      description: >-
                        Potential Customer ID : Select an account or contact to
                        associate with this Opportunity. This field is required.
                        (example: "{{settings.customerID}}")
                    salesstagecode:
                      type: string
                      description: >-
                        Process Stage : Use Connect Portal Workflow Settings to
                        allow users to select a Process Stage. (example:
                        "{{settings.processStage}}")
                    estimatedclosedate:
                      type: string
                      description: >-
                        Estimated Close Date : The expected closing date of the
                        Opportunity.
                    actualclosedate:
                      type: string
                      description: >-
                        Actual Close Date : The date and time when the
                        Opportunity was closed or canceled.
                    estimatedvalue:
                      type: string
                      description: >-
                        Est. Revenue : The estimated revenue amount to indicate
                        the potential sale or value of the opportunity for
                        revenue forecasting.
                    description:
                      type: string
                      description: >-
                        Description : Additional information to describe the
                        Opportunity, such as possible products to sell or past
                        purchases from the customer.
                    ownerid:
                      type: string
                      description: >-
                        Owner ID : The Dynamics 365 user or team assigned to
                        this Opportunity. Use Connect Portal Workflow Settings
                        to allow users to select an Owner (Team or User).
                        (example: "{{settings.ownerID}}")
                    transactioncurrencyid:
                      type: string
                      description: >-
                        Transaction Currency : Choose the local currency for the
                        Opportunity. Use Connect Portal Workflow Settings to
                        allow users to select a Transaction Currency, or the
                        first available will be used as a default. (example:
                        "{{settings.transactionCurrency}}")
                    additionalFields:
                      type: string
                      description: >-
                        Additional Fields : Specify any other fields that should
                        be updated in JSON below. Use Connect Portal Workflow
                        Settings to allow users to select which Fields to
                        update. (example: "{
                            "address2_city": "Los Angeles",
                            "address2_stateorprovince": "CA",
                            "address2_country": "United States",
                            "address2_line1": "1700 Sawtelle Blvd",
                            "primarycontactid@odata.bind": "/contacts(00000000-
                              0000-0000-0000-000000000001)",
                        }")
                  required:
                    - name
                    - customerid
                  x-integration: microsoftDynamics
              required:
                - tool
                - parameters
      responses:
        '200':
          description: Success
      security:
        - BearerAuth: []
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Your [Paragon User
        Token](/getting-started/installing-the-connect-sdk#setup) (JWT), which
        you can generate using your project's signing keys.

````