# Upsert Layouts Upsert Layouts Endpoint: PATCH /rest/2.0/ENTITY_LAYOUT_FIELD Version: 1.0 Security: JWT ## Header parameters: - `sessionId` (string, required) ## Request fields (application/json; charset=utf-8): - `brmObjects` (object) - `brmObjects.Id` (string, required) Id: Layout Field Id - `brmObjects.LayoutId` (integer, required) LayoutId: Web Form Id - `brmObjects.RelationLayoutField` (string) RelationLayoutField - `brmObjects.OverrideLabel` (string) OverrideLabel - `brmObjects.Hidden` (string) Hidden: Hidden Flag - `brmObjects.SortOrder` (string) SortOrder - `brmObjects.SortDirection` (string) SortDirection - `brmObjects.RelatedListsKey` (string) RelatedListsKey: Specify key for link related lists in API - `brmObjects.RelatedLayoutId` (integer) RelatedLayoutId - `brmObjects.FormItemType` (string) FormItemType - `brmObjects.FieldItemPosition` (string) FieldItemPosition - `brmObjects.ReferencedColumn` (string) ReferencedColumn - `brmObjects.QuickSearchResultFlag` (integer) QuickSearchResultFlag - `brmObjects.ExternalKey` (string, required) ExternalKey - `brmObjects.RelationSortField` (string) RelationSortField - `brmObjects.HyperlinkFlag` (string) HyperlinkFlag - `brmObjects.DefaultValue` (string) DefaultValue - `brmObjects.EntityFieldId` (integer) EntityFieldId - `brmObjects.Condition` (string) Condition - `externalIDFieldName` (string) Enum: "RelatedListsKey" ## Response 200 fields (application/json): - `upsertResponse` (array) - `upsertResponse.Id` (integer) - `upsertResponse.success` (boolean) - `upsertResponse.ErrorText` (string) - `upsertResponse.ErrorElementField` (string) - `upsertResponse.created` (boolean)