> ## 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 Update Record Lead



## OpenAPI

````yaml /actionkit/openapi.json POST /projects/{project_id}/tools/#MICROSOFT_DYNAMICS_UPDATE_RECORD_LEAD
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_UPDATE_RECORD_LEAD:
    post:
      summary: Microsoft Dynamics Update Record Lead
      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_UPDATE_RECORD_LEAD
                parameters:
                  type: object
                  properties:
                    entityId:
                      type: string
                      description: 'Lead ID : The ID of the Lead to update.'
                    subject:
                      type: string
                      description: >-
                        Topic : Use a descriptive name, such as the expected
                        order, company name, or marketing source list, to
                        identify the lead.
                    firstname:
                      type: string
                      description: First Name
                    lastname:
                      type: string
                      description: 'Last Name : This field is required.'
                    emailaddress1:
                      type: string
                      description: Email
                    telephone1:
                      type: string
                      description: Business Phone
                    websiteurl:
                      type: string
                      description: Website
                    jobtitle:
                      type: string
                      description: >-
                        Job Title : Title of the lead, such as CEO or Vice
                        President.
                    salesstagecode:
                      type: string
                      description: >-
                        Process Stage : Use Connect Portal Workflow Settings to
                        allow users to select a Process Stage. (example:
                        "{{settings.processStage}}")
                    description:
                      type: string
                      description: >-
                        Description : Additional information to describe the
                        lead, such as an excerpt from the company's website.
                    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:
                    - entityId
                  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.

````