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

# Update record values through an entry

> Update the company or contact behind an entry through the pipeline's RECORD fields. Keys are
the `fieldId`s of fields with `source: 'RECORD'` (see GET /pipelines/{pipelineId}/properties);
the value is written to the record itself, so every pipeline showing that attribute — and the
record's own page — reflect it. `null` clears the attribute. A key that is not a writable
record field of this pipeline is rejected with 400.



## OpenAPI

````yaml https://api.gleap.io/api-docs.json put /pipeline-entries/{entryId}/record-values
openapi: 3.0.0
info:
  title: gleap-server
  version: 14.0.0
  contact: {}
servers:
  - url: https://api.gleap.io/v3
security: []
paths:
  /pipeline-entries/{entryId}/record-values:
    put:
      tags:
        - Pipeline entries
      summary: Update record values through an entry
      description: >-
        Update the company or contact behind an entry through the pipeline's
        RECORD fields. Keys are

        the `fieldId`s of fields with `source: 'RECORD'` (see GET
        /pipelines/{pipelineId}/properties);

        the value is written to the record itself, so every pipeline showing
        that attribute — and the

        record's own page — reflect it. `null` clears the attribute. A key that
        is not a writable

        record field of this pipeline is rejected with 400.
      operationId: SetRecordValues
      parameters:
        - in: path
          name: entryId
          required: true
          schema:
            type: string
        - in: header
          name: project
          required: true
          schema:
            type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateEntryRecordValuesDTO'
      responses:
        '200':
          description: Ok
          content:
            application/json:
              schema:
                allOf:
                  - properties:
                      updatedAt:
                        $ref: '#/components/schemas/NativeDate'
                      createdAt:
                        $ref: '#/components/schemas/NativeDate'
                    required:
                      - updatedAt
                      - createdAt
                    type: object
                  - properties:
                      laneChangedAt:
                        type: string
                        format: date-time
                      recordSnapshot:
                        properties:
                          subtitle:
                            type: string
                          externalId:
                            type: string
                          name:
                            type: string
                        type: object
                      laneId:
                        type: string
                      dueDate:
                        type: string
                        format: date-time
                      lexorank:
                        type: string
                      createdBy:
                        properties:
                          isValid:
                            properties: {}
                            type: object
                          createFromHexString:
                            properties: {}
                            type: object
                          createFromTime:
                            properties: {}
                            type: object
                          generate:
                            properties: {}
                            type: object
                          cacheHexString: {}
                        type: object
                      recordId:
                        properties:
                          isValid:
                            properties: {}
                            type: object
                          createFromHexString:
                            properties: {}
                            type: object
                          createFromTime:
                            properties: {}
                            type: object
                          generate:
                            properties: {}
                            type: object
                          cacheHexString: {}
                        type: object
                      recordType:
                        $ref: '#/components/schemas/PipelineRecordType'
                      pipeline:
                        properties:
                          isValid:
                            properties: {}
                            type: object
                          createFromHexString:
                            properties: {}
                            type: object
                          createFromTime:
                            properties: {}
                            type: object
                          generate:
                            properties: {}
                            type: object
                          cacheHexString: {}
                        type: object
                      project:
                        properties:
                          isValid:
                            properties: {}
                            type: object
                          createFromHexString:
                            properties: {}
                            type: object
                          createFromTime:
                            properties: {}
                            type: object
                          generate:
                            properties: {}
                            type: object
                          cacheHexString: {}
                        type: object
                      values: {}
                    required:
                      - recordId
                      - recordType
                      - pipeline
                      - project
                      - values
                    type: object
                  - $ref: '#/components/schemas/Document_any.any.any_'
                  - properties:
                      recordValues:
                        $ref: '#/components/schemas/Record_string.any_'
                    type: object
                  - properties:
                      _id:
                        $ref: '#/components/schemas/ObjectId'
                    required:
                      - _id
                    type: object
      security:
        - jwt: []
components:
  schemas:
    UpdateEntryRecordValuesDTO:
      properties:
        values:
          description: >-
            Values for the pipeline's RECORD fields, keyed by `fieldId` (see

            GET /pipelines/{pipelineId}/properties, `source: 'RECORD'`). Written
            through to the entry's

            company or contact; `null` clears the attribute. Primitive values
            only.
      type: object
      additionalProperties: false
    NativeDate:
      type: string
    PipelineRecordType:
      description: >-
        What a pipeline holds. Persisted values — never rename a member, only
        add.
      enum:
        - COMPANY
        - CONTACT
      type: string
    Document_any.any.any_:
      $ref: '#/components/schemas/FlattenMaps_T_'
      description: >-
        Generic types for Document:

        *  T - the type of _id

        *  TQueryHelpers - Object with any helpers that should be mixed into the
        Query type

        *  DocType - the type of the actual Document created
    Record_string.any_:
      properties: {}
      type: object
      description: Construct a type with a set of properties K of type T
    ObjectId:
      type: string
    FlattenMaps_T_:
      properties: {}
      type: object
  securitySchemes:
    jwt:
      type: http
      scheme: bearer
      bearerFormat: JWT

````