PUT api/DataEntityLookups/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

DataEntityLookup
NameDescriptionTypeAdditional information
Id

integer

None.

DataEntityId

integer

None.

TableName

string

None.

InFormId

integer

None.

DemUniqueId

globally unique identifier

None.

IsDeleted

boolean

None.

DataEntity

DataEntity

None.

DataEntityLookupForms

Collection of DataEntityLookupForm

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "DataEntityId": 1,
  "TableName": "sample string 2",
  "InFormId": 1,
  "DemUniqueId": "b2472ddd-c40d-4ebf-8ea6-b520fe1c91a8",
  "IsDeleted": true,
  "DataEntity": {
    "Id": 1,
    "OrganisationId": 1,
    "ClientId": 1,
    "ParentRepoId": 1,
    "DemEntityId": 1,
    "DemUniqueId": "2bd7344b-8747-471f-8662-e0476dee2d44",
    "EntityName": "sample string 2",
    "DataEntityTypeId": 1,
    "IsActive": true,
    "InFormId": 1,
    "IsDeleted": true,
    "IsPrivate": true,
    "HasSecondaryRepositories": true,
    "DataEntityType": {
      "Id": 1,
      "Type": "sample string 2"
    },
    "DataEntityEndpoints": [
      {
        "Id": 1,
        "Guid": "8668ed84-9a5f-4d33-9795-04b31c48b1e6",
        "DataEntityId": 1,
        "Name": "sample string 2",
        "IsDeleted": true,
        "PerspectiveTableId": 4,
        "DataEntityEndpointColumns": [
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "DataEntityStructureId": 4,
            "DataEntityStructureFieldId": 5,
            "Alias": "sample string 6",
            "Ordinal": 1
          },
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "DataEntityStructureId": 4,
            "DataEntityStructureFieldId": 5,
            "Alias": "sample string 6",
            "Ordinal": 1
          }
        ],
        "DataEntityRelationships": [
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "SourceTableId": 4,
            "SourceKeyFieldId": 5,
            "TargetTableId": 6,
            "TargetKeyFieldId": 7
          },
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "SourceTableId": 4,
            "SourceKeyFieldId": 5,
            "TargetTableId": 6,
            "TargetKeyFieldId": 7
          }
        ],
        "DataEntityEndpointFilters": [
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "DataEntityStructureId": 4,
            "DataEntityStructureFieldId": 5,
            "Operator": "sample string 6",
            "Clause": "sample string 7",
            "Settable": true
          },
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "DataEntityStructureId": 4,
            "DataEntityStructureFieldId": 5,
            "Operator": "sample string 6",
            "Clause": "sample string 7",
            "Settable": true
          }
        ]
      },
      {
        "Id": 1,
        "Guid": "8668ed84-9a5f-4d33-9795-04b31c48b1e6",
        "DataEntityId": 1,
        "Name": "sample string 2",
        "IsDeleted": true,
        "PerspectiveTableId": 4,
        "DataEntityEndpointColumns": [
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "DataEntityStructureId": 4,
            "DataEntityStructureFieldId": 5,
            "Alias": "sample string 6",
            "Ordinal": 1
          },
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "DataEntityStructureId": 4,
            "DataEntityStructureFieldId": 5,
            "Alias": "sample string 6",
            "Ordinal": 1
          }
        ],
        "DataEntityRelationships": [
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "SourceTableId": 4,
            "SourceKeyFieldId": 5,
            "TargetTableId": 6,
            "TargetKeyFieldId": 7
          },
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "SourceTableId": 4,
            "SourceKeyFieldId": 5,
            "TargetTableId": 6,
            "TargetKeyFieldId": 7
          }
        ],
        "DataEntityEndpointFilters": [
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "DataEntityStructureId": 4,
            "DataEntityStructureFieldId": 5,
            "Operator": "sample string 6",
            "Clause": "sample string 7",
            "Settable": true
          },
          {
            "Id": 1,
            "DataEntityId": 2,
            "DataEntityEndpointId": 3,
            "DataEntityStructureId": 4,
            "DataEntityStructureFieldId": 5,
            "Operator": "sample string 6",
            "Clause": "sample string 7",
            "Settable": true
          }
        ]
      }
    ],
    "DataEntityLookups": [],
    "DataEntityMatchings": [
      {
        "Id": 1,
        "DataEntityId": 1,
        "Name": "sample string 2",
        "MatchingId": 1,
        "IsDeleted": true,
        "LastRun": "2026-01-13T01:27:40.1695252+00:00"
      },
      {
        "Id": 1,
        "DataEntityId": 1,
        "Name": "sample string 2",
        "MatchingId": 1,
        "IsDeleted": true,
        "LastRun": "2026-01-13T01:27:40.1695252+00:00"
      }
    ],
    "DataEntityUsers": [
      {
        "Id": 1,
        "RoleId": 1,
        "UserId": "sample string 2",
        "UniqueEntityId": 3,
        "UserPkId": 1,
        "DataEntityId": 1,
        "Role": {
          "Id": 1,
          "ApplicationId": 1,
          "Name": "sample string 2",
          "RoleId": "sample string 3",
          "Application": {
            "Id": 1,
            "ApplicationName": "sample string 2"
          }
        }
      },
      {
        "Id": 1,
        "RoleId": 1,
        "UserId": "sample string 2",
        "UniqueEntityId": 3,
        "UserPkId": 1,
        "DataEntityId": 1,
        "Role": {
          "Id": 1,
          "ApplicationId": 1,
          "Name": "sample string 2",
          "RoleId": "sample string 3",
          "Application": {
            "Id": 1,
            "ApplicationName": "sample string 2"
          }
        }
      }
    ],
    "DataEntityProcesses": [
      {
        "Id": 1,
        "DataEntityId": 2,
        "ProcessId": 3,
        "ProcessRunId": 4,
        "Name": "sample string 5",
        "IsDeleted": true,
        "ProcessRun": {}
      },
      {
        "Id": 1,
        "DataEntityId": 2,
        "ProcessId": 3,
        "ProcessRunId": 4,
        "Name": "sample string 5",
        "IsDeleted": true,
        "ProcessRun": {}
      }
    ],
    "DataEntityForms": [
      {
        "Id": 1,
        "DataEntityId": 1,
        "FormId": 2,
        "IsDeleted": true
      },
      {
        "Id": 1,
        "DataEntityId": 1,
        "FormId": 2,
        "IsDeleted": true
      }
    ]
  },
  "DataEntityLookupForms": [
    {
      "Id": 1,
      "DataEntityLookupId": 2,
      "FormId": 3,
      "IsDeleted": true
    },
    {
      "Id": 1,
      "DataEntityLookupId": 2,
      "FormId": 3,
      "IsDeleted": true
    }
  ]
}

application/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'application/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[DOMDM.WebApi.Models.DataEntityEndpoint, DOMDM.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

text/xml

Sample:

An exception has occurred while using the formatter 'XmlMediaTypeFormatter' to generate sample for media type 'text/xml'. Exception message: Object graph for type 'System.Collections.Generic.List`1[[DOMDM.WebApi.Models.DataEntityEndpoint, DOMDM.WebApi, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]' contains cycles and cannot be serialized if reference tracking is disabled.

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'DataEntityLookup'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.