Skip to main content

TenantWideEntityMetadataV1

Base information present on all tenant wide entities.

type TenantWideEntityMetadataV1 {
globalUniqueId: String
id: String
correlationId: String
tenantId: String
name: String
description: String
version: Int!
displayId: String @deprecated
created: DateTime!
createdBy: String
modified: DateTime!
modifiedBy: String
status: EntityStatusV1!
}

Fields

TenantWideEntityMetadataV1.globalUniqueId ● String scalar

Internal unique ID for CRUD operations and relations. A typical example is: TenantId_ItemCategoryId

TenantWideEntityMetadataV1.id ● String scalar

Id for the entity. Either external or internal

TenantWideEntityMetadataV1.correlationId ● String scalar

ID for tracing an entity and/or a group of sub entities through the application. Might be external, and if missing from the producer of data the API will add an ID. Must be used in all logging and tracing.

TenantWideEntityMetadataV1.tenantId ● String scalar

To support multi tenancy we need to be able to identify the customer that owns this information.

TenantWideEntityMetadataV1.name ● String scalar

The name of the entity. This general property can replace the previous ArticleName, StoreName, CampaignName, etc.

TenantWideEntityMetadataV1.description ● String scalar

The description of the entity.

TenantWideEntityMetadataV1.version ● Int! non-null scalar

Version of the entity. Must be updated when there is a change to the entity. An ever increasing Integer.

TenantWideEntityMetadataV1.displayId ● String deprecated scalar

[DEPRECATED]

DisplayId is obsolete and will be removed on 01 Jan 2023.

ID set in an external system. Specifically used for searching for external IDs. Must not be used for anything except search.

TenantWideEntityMetadataV1.created ● DateTime! non-null scalar

When the object was first created. This timestamp will be set by the input API POST-endpoints before creating the AVRO data for processing.

TenantWideEntityMetadataV1.createdBy ● String scalar

Who created. Will be an ID and must be looked up in the user DB. This ID will be set by the input API POST-endpoints before creating the AVRO data for processing.

TenantWideEntityMetadataV1.modified ● DateTime! non-null scalar

When the object was modified. Will be updated along with the Version property. This timestamp will be set by the input API PUT and PATCH-endpoints before creating the AVRO data for processing.

TenantWideEntityMetadataV1.modifiedBy ● String scalar

Who created or modified the object. Will be an ID and must be looked up in the user DB. This ID will be set by the input API PUT and PATCH-endpoints before creating the AVRO data for processing.

TenantWideEntityMetadataV1.status ● EntityStatusV1! non-null enum

The status of the entity.

Member Of

ItemCategory object