# V3 Update Registration Log

Updates an existing registration log for a specified loan.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "version": "1.0",
    "title": "Loan: Loan Tracking Logs",
    "summary": "Use these APIs to retrieve, create, and update tracking logs, and to retrieve a snapshot of a tracking log.",
    "description": ""
  },
  "servers": [
    {
      "url": "https://api.elliemae.com",
      "description": "Production"
    },
    {
      "url": "https://concept.api.elliemae.com",
      "description": "UAT"
    }
  ],
  "paths": {
    "/encompass/v3/loans/{loanId}/registrationLogs/{registrationLogId}": {
      "patch": {
        "tags": [
          "Registration Logs"
        ],
        "summary": "V3 Update Registration Log",
        "description": "Updates an existing registration log for a specified loan.",
        "operationId": "update-registration-log",
        "parameters": [
          {
            "name": "Authorization",
            "in": "header",
            "description": "Bearer token",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "loanId",
            "in": "path",
            "description": "The unique identifier assigned to the loan.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "registrationLogId",
            "in": "path",
            "description": "Unique identifier of the registration log to update.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/RegistrationLogContract"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/RegistrationLogContract"
                },
                "examples": {
                  "Live Data Sample": {
                    "value": [
                      {
                        "id": "a3ebdec8-c6c0-4da5-98cd-2ee296aa43c7",
                        "isCurrent": true,
                        "registrationDate": "2021-07-28T22:56:15.742Z",
                        "expirationDate": "2021-07-28T22:56:15.742Z",
                        "investorName": "Mortgage Investors",
                        "referenceNumber": "00455",
                        "registeredBy": {
                          "entityId": "tcanterbury",
                          "entityName": "Tim Canterbury",
                          "entityType": "Loan Officer"
                        },
                        "createdDate": "2021-07-28T22:56:15.742Z"
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request"
          },
          "403": {
            "description": "Forbidden"
          },
          "404": {
            "description": "registrationLogContract Not Found"
          }
        },
        "servers": [
          {
            "url": "https://api.elliemae.com",
            "description": "Production"
          },
          {
            "url": "https://concept.api.elliemae.com",
            "description": "UAT"
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "RegistrationLogContract": {
        "type": "object",
        "title": "RegistrationLogContract",
        "description": "registrationLogContract",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier that was assigned to the registration log at the time is was created."
          },
          "isCurrent": {
            "type": "boolean",
            "description": "RetrieveOnly. Indicates whether the registration log is the most current one on the loan."
          },
          "registrationDate": {
            "type": "string",
            "description": "CreateOnly. The date when the loan was registered. The format is Date: yyyy-MM-dd"
          },
          "expirationDate": {
            "type": "string",
            "description": "The date when the loan registration expires. The format is Date: yyyy-MM-dd"
          },
          "investorName": {
            "type": "string",
            "description": "The name of the investor for this loan."
          },
          "referenceNumber": {
            "type": "string",
            "description": "A Reference Number, such as the commitment number."
          },
          "registeredBy": {
            "$ref": "#/components/schemas/EntityReferenceContract-Registration",
            "description": "RetrieveOnly. Details about the user who is entering registration information."
          },
          "createdDate": {
            "type": "string",
            "description": "The date when the registration log was created or updated.\r\nThe format is Date: yyyy-MM-dd",
            "format": "date"
          }
        }
      },
      "EntityReferenceContract-Registration": {
        "type": "object",
        "title": "EntityReferenceContract-Registration",
        "description": "The following attributes are contained within the EntityReferenceContract object for the RegistrationLogContract.",
        "properties": {
          "entityId": {
            "type": "string",
            "description": "Required. The user ID of the user who entered registration information."
          },
          "entityName": {
            "type": "string",
            "description": "RetrieveOnly. The name of the user who entered registration information."
          },
          "entityUri": {
            "type": "string",
            "description": "RetrieveOnly. Location of the entity in Encompass."
          },
          "entityType": {
            "type": "string",
            "description": "The role, persona, etc. of the user who entered registration information."
          }
        },
        "required": [
          "entityId"
        ]
      }
    }
  },
  "x-readme": {
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "_id": {
    "buffer": {
      "0": 105,
      "1": 36,
      "2": 125,
      "3": 80,
      "4": 101,
      "5": 192,
      "6": 38,
      "7": 131,
      "8": 128,
      "9": 118,
      "10": 55,
      "11": 129
    }
  }
}
```