TargetData GraphQL Schema Reference

Queries

personTargetDataByAnyId

Response

Returns a PersonTargetData

Arguments
Name Description
idName - String! TargetData identifier name (for example 'umid')
idValue - String! TargetData identifier value

Example

Query
query personTargetDataByAnyId(
  $idName: String!,
  $idValue: String!
) {
  personTargetDataByAnyId(
    idName: $idName,
    idValue: $idValue
  ) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    notifications {
      ...NotificationFragment
    }
    identifiers {
      ...IdentifierFragment
    }
    attributes {
      ...AttributeDtoFragment
    }
    usedApps {
      ...UsedAppDtoFragment
    }
    cookieConsents {
      ...CookieConsentDtoFragment
    }
    createdDate
    changeDate
    lastSeen
    owner
    category
    source
    testProfile
    firstSeenByMasterFeed
    umdids {
      ...IdentifierFragment
    }
    identifiersByName {
      ...IdentifierFragment
    }
    attributesByNames {
      ...AttributeDtoFragment
    }
  }
}
Variables
{
  "idName": "abc123",
  "idValue": "xyz789"
}
Response
{
  "data": {
    "personTargetDataByAnyId": {
      "profileId": "xyz789",
      "permissions": [PermissionDto],
      "notifications": [Notification],
      "identifiers": [Identifier],
      "attributes": [AttributeDto],
      "usedApps": [UsedAppDto],
      "cookieConsents": [CookieConsentDto],
      "createdDate": Instant,
      "changeDate": Instant,
      "lastSeen": Instant,
      "owner": "abc123",
      "category": "xyz789",
      "source": "abc123",
      "testProfile": false,
      "firstSeenByMasterFeed": Instant,
      "umdids": [Identifier],
      "identifiersByName": [Identifier],
      "attributesByNames": [AttributeDto]
    }
  }
}

personTargetDataByProfileId

Response

Returns a PersonTargetData

Arguments
Name Description
profileId - String! TargetData Profile ID (_id)

Example

Query
query personTargetDataByProfileId($profileId: String!) {
  personTargetDataByProfileId(profileId: $profileId) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    notifications {
      ...NotificationFragment
    }
    identifiers {
      ...IdentifierFragment
    }
    attributes {
      ...AttributeDtoFragment
    }
    usedApps {
      ...UsedAppDtoFragment
    }
    cookieConsents {
      ...CookieConsentDtoFragment
    }
    createdDate
    changeDate
    lastSeen
    owner
    category
    source
    testProfile
    firstSeenByMasterFeed
    umdids {
      ...IdentifierFragment
    }
    identifiersByName {
      ...IdentifierFragment
    }
    attributesByNames {
      ...AttributeDtoFragment
    }
  }
}
Variables
{"profileId": "abc123"}
Response
{
  "data": {
    "personTargetDataByProfileId": {
      "profileId": "abc123",
      "permissions": [PermissionDto],
      "notifications": [Notification],
      "identifiers": [Identifier],
      "attributes": [AttributeDto],
      "usedApps": [UsedAppDto],
      "cookieConsents": [CookieConsentDto],
      "createdDate": Instant,
      "changeDate": Instant,
      "lastSeen": Instant,
      "owner": "xyz789",
      "category": "abc123",
      "source": "xyz789",
      "testProfile": true,
      "firstSeenByMasterFeed": Instant,
      "umdids": [Identifier],
      "identifiersByName": [Identifier],
      "attributesByNames": [AttributeDto]
    }
  }
}

personTargetDataByUmid

Response

Returns a PersonTargetData

Arguments
Name Description
umid - String! TargetData UMID

Example

Query
query personTargetDataByUmid($umid: String!) {
  personTargetDataByUmid(umid: $umid) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    notifications {
      ...NotificationFragment
    }
    identifiers {
      ...IdentifierFragment
    }
    attributes {
      ...AttributeDtoFragment
    }
    usedApps {
      ...UsedAppDtoFragment
    }
    cookieConsents {
      ...CookieConsentDtoFragment
    }
    createdDate
    changeDate
    lastSeen
    owner
    category
    source
    testProfile
    firstSeenByMasterFeed
    umdids {
      ...IdentifierFragment
    }
    identifiersByName {
      ...IdentifierFragment
    }
    attributesByNames {
      ...AttributeDtoFragment
    }
  }
}
Variables
{"umid": "xyz789"}
Response
{
  "data": {
    "personTargetDataByUmid": {
      "profileId": "abc123",
      "permissions": [PermissionDto],
      "notifications": [Notification],
      "identifiers": [Identifier],
      "attributes": [AttributeDto],
      "usedApps": [UsedAppDto],
      "cookieConsents": [CookieConsentDto],
      "createdDate": Instant,
      "changeDate": Instant,
      "lastSeen": Instant,
      "owner": "abc123",
      "category": "abc123",
      "source": "abc123",
      "testProfile": false,
      "firstSeenByMasterFeed": Instant,
      "umdids": [Identifier],
      "identifiersByName": [Identifier],
      "attributesByNames": [AttributeDto]
    }
  }
}

subscriptionTargetDataByLeadId

Response

Returns a SubscriptionTargetData

Arguments
Name Description
leadIdName - String! Subscription TargetData lead identifier name
leadIdValue - String! Subscription TargetData lead identifier value

Example

Query
query subscriptionTargetDataByLeadId(
  $leadIdName: String!,
  $leadIdValue: String!
) {
  subscriptionTargetDataByLeadId(
    leadIdName: $leadIdName,
    leadIdValue: $leadIdValue
  ) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    id {
      ...SubscriptionIdentifierFragment
    }
    umid {
      ...IdentifierFragment
    }
    sndIds {
      ...SubscriptionIdentifierFragment
    }
    createdDate
    changeDate
    owner
    category
    source
  }
}
Variables
{
  "leadIdName": "abc123",
  "leadIdValue": "xyz789"
}
Response
{
  "data": {
    "subscriptionTargetDataByLeadId": {
      "profileId": "abc123",
      "permissions": [PermissionDto],
      "id": SubscriptionIdentifier,
      "umid": Identifier,
      "sndIds": [SubscriptionIdentifier],
      "createdDate": Instant,
      "changeDate": Instant,
      "owner": "xyz789",
      "category": "abc123",
      "source": "xyz789"
    }
  }
}

subscriptionTargetDataByProfileId

Response

Returns a SubscriptionTargetData

Arguments
Name Description
profileId - String! TargetData Profile ID (_id)

Example

Query
query subscriptionTargetDataByProfileId($profileId: String!) {
  subscriptionTargetDataByProfileId(profileId: $profileId) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    id {
      ...SubscriptionIdentifierFragment
    }
    umid {
      ...IdentifierFragment
    }
    sndIds {
      ...SubscriptionIdentifierFragment
    }
    createdDate
    changeDate
    owner
    category
    source
  }
}
Variables
{"profileId": "abc123"}
Response
{
  "data": {
    "subscriptionTargetDataByProfileId": {
      "profileId": "abc123",
      "permissions": [PermissionDto],
      "id": SubscriptionIdentifier,
      "umid": Identifier,
      "sndIds": [SubscriptionIdentifier],
      "createdDate": Instant,
      "changeDate": Instant,
      "owner": "abc123",
      "category": "xyz789",
      "source": "abc123"
    }
  }
}

Mutations

personTargetDataAddAttribute

Description

To add an attribute or overwrite an existing attribute

Response

Returns a PersonTargetData!

Arguments
Name Description
profileId - String! TargetData Profile ID (_id)
attribute - AttributeInput! TargetData attribute

Example

Query
mutation personTargetDataAddAttribute(
  $profileId: String!,
  $attribute: AttributeInput!
) {
  personTargetDataAddAttribute(
    profileId: $profileId,
    attribute: $attribute
  ) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    notifications {
      ...NotificationFragment
    }
    identifiers {
      ...IdentifierFragment
    }
    attributes {
      ...AttributeDtoFragment
    }
    usedApps {
      ...UsedAppDtoFragment
    }
    cookieConsents {
      ...CookieConsentDtoFragment
    }
    createdDate
    changeDate
    lastSeen
    owner
    category
    source
    testProfile
    firstSeenByMasterFeed
    umdids {
      ...IdentifierFragment
    }
    identifiersByName {
      ...IdentifierFragment
    }
    attributesByNames {
      ...AttributeDtoFragment
    }
  }
}
Variables
{
  "profileId": "xyz789",
  "attribute": AttributeInput
}
Response
{
  "data": {
    "personTargetDataAddAttribute": {
      "profileId": "abc123",
      "permissions": [PermissionDto],
      "notifications": [Notification],
      "identifiers": [Identifier],
      "attributes": [AttributeDto],
      "usedApps": [UsedAppDto],
      "cookieConsents": [CookieConsentDto],
      "createdDate": Instant,
      "changeDate": Instant,
      "lastSeen": Instant,
      "owner": "abc123",
      "category": "xyz789",
      "source": "abc123",
      "testProfile": false,
      "firstSeenByMasterFeed": Instant,
      "umdids": [Identifier],
      "identifiersByName": [Identifier],
      "attributesByNames": [AttributeDto]
    }
  }
}

personTargetDataAddIdentifier

Description

To add an identifier or overwrite an existing identifier

Response

Returns a PersonTargetData!

Arguments
Name Description
profileId - String! TargetData Profile ID (_id)
identifier - IdentifierInput! TargetData identifier

Example

Query
mutation personTargetDataAddIdentifier(
  $profileId: String!,
  $identifier: IdentifierInput!
) {
  personTargetDataAddIdentifier(
    profileId: $profileId,
    identifier: $identifier
  ) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    notifications {
      ...NotificationFragment
    }
    identifiers {
      ...IdentifierFragment
    }
    attributes {
      ...AttributeDtoFragment
    }
    usedApps {
      ...UsedAppDtoFragment
    }
    cookieConsents {
      ...CookieConsentDtoFragment
    }
    createdDate
    changeDate
    lastSeen
    owner
    category
    source
    testProfile
    firstSeenByMasterFeed
    umdids {
      ...IdentifierFragment
    }
    identifiersByName {
      ...IdentifierFragment
    }
    attributesByNames {
      ...AttributeDtoFragment
    }
  }
}
Variables
{
  "profileId": "abc123",
  "identifier": IdentifierInput
}
Response
{
  "data": {
    "personTargetDataAddIdentifier": {
      "profileId": "abc123",
      "permissions": [PermissionDto],
      "notifications": [Notification],
      "identifiers": [Identifier],
      "attributes": [AttributeDto],
      "usedApps": [UsedAppDto],
      "cookieConsents": [CookieConsentDto],
      "createdDate": Instant,
      "changeDate": Instant,
      "lastSeen": Instant,
      "owner": "abc123",
      "category": "abc123",
      "source": "xyz789",
      "testProfile": false,
      "firstSeenByMasterFeed": Instant,
      "umdids": [Identifier],
      "identifiersByName": [Identifier],
      "attributesByNames": [AttributeDto]
    }
  }
}

personTargetDataAddPermission

Description

To add a permission or overwrite a existing permission

Response

Returns a PersonTargetData!

Arguments
Name Description
profileId - String! TargetData Profile ID (_id)
permission - PermissionInput! TargetData permission

Example

Query
mutation personTargetDataAddPermission(
  $profileId: String!,
  $permission: PermissionInput!
) {
  personTargetDataAddPermission(
    profileId: $profileId,
    permission: $permission
  ) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    notifications {
      ...NotificationFragment
    }
    identifiers {
      ...IdentifierFragment
    }
    attributes {
      ...AttributeDtoFragment
    }
    usedApps {
      ...UsedAppDtoFragment
    }
    cookieConsents {
      ...CookieConsentDtoFragment
    }
    createdDate
    changeDate
    lastSeen
    owner
    category
    source
    testProfile
    firstSeenByMasterFeed
    umdids {
      ...IdentifierFragment
    }
    identifiersByName {
      ...IdentifierFragment
    }
    attributesByNames {
      ...AttributeDtoFragment
    }
  }
}
Variables
{
  "profileId": "abc123",
  "permission": PermissionInput
}
Response
{
  "data": {
    "personTargetDataAddPermission": {
      "profileId": "xyz789",
      "permissions": [PermissionDto],
      "notifications": [Notification],
      "identifiers": [Identifier],
      "attributes": [AttributeDto],
      "usedApps": [UsedAppDto],
      "cookieConsents": [CookieConsentDto],
      "createdDate": Instant,
      "changeDate": Instant,
      "lastSeen": Instant,
      "owner": "abc123",
      "category": "abc123",
      "source": "abc123",
      "testProfile": false,
      "firstSeenByMasterFeed": Instant,
      "umdids": [Identifier],
      "identifiersByName": [Identifier],
      "attributesByNames": [AttributeDto]
    }
  }
}

personTargetDataCreate

Description

To create a new Person TargetData.

Response

Returns a PersonTargetData!

Arguments
Name Description
personTd - PersonTargetDataInput! Person TargetData

Example

Query
mutation personTargetDataCreate($personTd: PersonTargetDataInput!) {
  personTargetDataCreate(personTd: $personTd) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    notifications {
      ...NotificationFragment
    }
    identifiers {
      ...IdentifierFragment
    }
    attributes {
      ...AttributeDtoFragment
    }
    usedApps {
      ...UsedAppDtoFragment
    }
    cookieConsents {
      ...CookieConsentDtoFragment
    }
    createdDate
    changeDate
    lastSeen
    owner
    category
    source
    testProfile
    firstSeenByMasterFeed
    umdids {
      ...IdentifierFragment
    }
    identifiersByName {
      ...IdentifierFragment
    }
    attributesByNames {
      ...AttributeDtoFragment
    }
  }
}
Variables
{"personTd": PersonTargetDataInput}
Response
{
  "data": {
    "personTargetDataCreate": {
      "profileId": "xyz789",
      "permissions": [PermissionDto],
      "notifications": [Notification],
      "identifiers": [Identifier],
      "attributes": [AttributeDto],
      "usedApps": [UsedAppDto],
      "cookieConsents": [CookieConsentDto],
      "createdDate": Instant,
      "changeDate": Instant,
      "lastSeen": Instant,
      "owner": "abc123",
      "category": "abc123",
      "source": "xyz789",
      "testProfile": false,
      "firstSeenByMasterFeed": Instant,
      "umdids": [Identifier],
      "identifiersByName": [Identifier],
      "attributesByNames": [AttributeDto]
    }
  }
}

personTargetDataOverwrite

Description

To overwrite the existing TargetData with your payload. If you leave any field empty, it will be set to empty in the target profile. 'personTd' profileId input is ignored, please use the separate 'profileId' argument

Response

Returns a PersonTargetData!

Arguments
Name Description
profileId - String! TargetData Profile ID (_id)
personTd - PersonTargetDataInput! Person TargetData

Example

Query
mutation personTargetDataOverwrite(
  $profileId: String!,
  $personTd: PersonTargetDataInput!
) {
  personTargetDataOverwrite(
    profileId: $profileId,
    personTd: $personTd
  ) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    notifications {
      ...NotificationFragment
    }
    identifiers {
      ...IdentifierFragment
    }
    attributes {
      ...AttributeDtoFragment
    }
    usedApps {
      ...UsedAppDtoFragment
    }
    cookieConsents {
      ...CookieConsentDtoFragment
    }
    createdDate
    changeDate
    lastSeen
    owner
    category
    source
    testProfile
    firstSeenByMasterFeed
    umdids {
      ...IdentifierFragment
    }
    identifiersByName {
      ...IdentifierFragment
    }
    attributesByNames {
      ...AttributeDtoFragment
    }
  }
}
Variables
{
  "profileId": "abc123",
  "personTd": PersonTargetDataInput
}
Response
{
  "data": {
    "personTargetDataOverwrite": {
      "profileId": "abc123",
      "permissions": [PermissionDto],
      "notifications": [Notification],
      "identifiers": [Identifier],
      "attributes": [AttributeDto],
      "usedApps": [UsedAppDto],
      "cookieConsents": [CookieConsentDto],
      "createdDate": Instant,
      "changeDate": Instant,
      "lastSeen": Instant,
      "owner": "abc123",
      "category": "abc123",
      "source": "xyz789",
      "testProfile": true,
      "firstSeenByMasterFeed": Instant,
      "umdids": [Identifier],
      "identifiersByName": [Identifier],
      "attributesByNames": [AttributeDto]
    }
  }
}

personTargetDataRemoveAttribute

Response

Returns a PersonTargetData!

Arguments
Name Description
profileId - String! TargetData Profile ID (_id)
name - String! Name to filter with

Example

Query
mutation personTargetDataRemoveAttribute(
  $profileId: String!,
  $name: String!
) {
  personTargetDataRemoveAttribute(
    profileId: $profileId,
    name: $name
  ) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    notifications {
      ...NotificationFragment
    }
    identifiers {
      ...IdentifierFragment
    }
    attributes {
      ...AttributeDtoFragment
    }
    usedApps {
      ...UsedAppDtoFragment
    }
    cookieConsents {
      ...CookieConsentDtoFragment
    }
    createdDate
    changeDate
    lastSeen
    owner
    category
    source
    testProfile
    firstSeenByMasterFeed
    umdids {
      ...IdentifierFragment
    }
    identifiersByName {
      ...IdentifierFragment
    }
    attributesByNames {
      ...AttributeDtoFragment
    }
  }
}
Variables
{
  "profileId": "abc123",
  "name": "abc123"
}
Response
{
  "data": {
    "personTargetDataRemoveAttribute": {
      "profileId": "abc123",
      "permissions": [PermissionDto],
      "notifications": [Notification],
      "identifiers": [Identifier],
      "attributes": [AttributeDto],
      "usedApps": [UsedAppDto],
      "cookieConsents": [CookieConsentDto],
      "createdDate": Instant,
      "changeDate": Instant,
      "lastSeen": Instant,
      "owner": "xyz789",
      "category": "xyz789",
      "source": "abc123",
      "testProfile": false,
      "firstSeenByMasterFeed": Instant,
      "umdids": [Identifier],
      "identifiersByName": [Identifier],
      "attributesByNames": [AttributeDto]
    }
  }
}

personTargetDataRemoveIdentifier

Response

Returns a PersonTargetData!

Arguments
Name Description
profileId - String! TargetData Profile ID (_id)
idName - String! TargetData identifier name (for example 'umid')
idValue - String! TargetData identifier value

Example

Query
mutation personTargetDataRemoveIdentifier(
  $profileId: String!,
  $idName: String!,
  $idValue: String!
) {
  personTargetDataRemoveIdentifier(
    profileId: $profileId,
    idName: $idName,
    idValue: $idValue
  ) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    notifications {
      ...NotificationFragment
    }
    identifiers {
      ...IdentifierFragment
    }
    attributes {
      ...AttributeDtoFragment
    }
    usedApps {
      ...UsedAppDtoFragment
    }
    cookieConsents {
      ...CookieConsentDtoFragment
    }
    createdDate
    changeDate
    lastSeen
    owner
    category
    source
    testProfile
    firstSeenByMasterFeed
    umdids {
      ...IdentifierFragment
    }
    identifiersByName {
      ...IdentifierFragment
    }
    attributesByNames {
      ...AttributeDtoFragment
    }
  }
}
Variables
{
  "profileId": "abc123",
  "idName": "xyz789",
  "idValue": "abc123"
}
Response
{
  "data": {
    "personTargetDataRemoveIdentifier": {
      "profileId": "abc123",
      "permissions": [PermissionDto],
      "notifications": [Notification],
      "identifiers": [Identifier],
      "attributes": [AttributeDto],
      "usedApps": [UsedAppDto],
      "cookieConsents": [CookieConsentDto],
      "createdDate": Instant,
      "changeDate": Instant,
      "lastSeen": Instant,
      "owner": "abc123",
      "category": "abc123",
      "source": "abc123",
      "testProfile": true,
      "firstSeenByMasterFeed": Instant,
      "umdids": [Identifier],
      "identifiersByName": [Identifier],
      "attributesByNames": [AttributeDto]
    }
  }
}

personTargetDataRemovePermission

Response

Returns a PersonTargetData!

Arguments
Name Description
profileId - String! TargetData Profile ID (_id)
permissionType - String! Permission type (name)

Example

Query
mutation personTargetDataRemovePermission(
  $profileId: String!,
  $permissionType: String!
) {
  personTargetDataRemovePermission(
    profileId: $profileId,
    permissionType: $permissionType
  ) {
    profileId
    permissions {
      ...PermissionDtoFragment
    }
    notifications {
      ...NotificationFragment
    }
    identifiers {
      ...IdentifierFragment
    }
    attributes {
      ...AttributeDtoFragment
    }
    usedApps {
      ...UsedAppDtoFragment
    }
    cookieConsents {
      ...CookieConsentDtoFragment
    }
    createdDate
    changeDate
    lastSeen
    owner
    category
    source
    testProfile
    firstSeenByMasterFeed
    umdids {
      ...IdentifierFragment
    }
    identifiersByName {
      ...IdentifierFragment
    }
    attributesByNames {
      ...AttributeDtoFragment
    }
  }
}
Variables
{
  "profileId": "xyz789",
  "permissionType": "abc123"
}
Response
{
  "data": {
    "personTargetDataRemovePermission": {
      "profileId": "abc123",
      "permissions": [PermissionDto],
      "notifications": [Notification],
      "identifiers": [Identifier],
      "attributes": [AttributeDto],
      "usedApps": [UsedAppDto],
      "cookieConsents": [CookieConsentDto],
      "createdDate": Instant,
      "changeDate": Instant,
      "lastSeen": Instant,
      "owner": "abc123",
      "category": "xyz789",
      "source": "xyz789",
      "testProfile": true,
      "firstSeenByMasterFeed": Instant,
      "umdids": [Identifier],
      "identifiersByName": [Identifier],
      "attributesByNames": [AttributeDto]
    }
  }
}

Types

AttributeDto

Fields
Field Name Description
name - String!
value - String!
metadata - [MetadataEntry!]!
Example
{
  "name": "xyz789",
  "value": "xyz789",
  "metadata": [MetadataEntry]
}

AttributeInput

Fields
Input Field Description
name - String!
value - String!
metadata - [MetadataEntryInput!]!
Example
{
  "name": "abc123",
  "value": "xyz789",
  "metadata": [MetadataEntryInput]
}

Boolean

Description

The Boolean scalar type represents true or false.

CookieConsentDto

Fields
Field Name Description
name - String!
value - String!
createdDate - Instant!
changeDate - Instant!
Example
{
  "name": "xyz789",
  "value": "xyz789",
  "createdDate": Instant,
  "changeDate": Instant
}

CookieConsentInput

Fields
Input Field Description
name - String!
value - String!
createdDate - Instant!
changeDate - Instant!
Example
{
  "name": "xyz789",
  "value": "xyz789",
  "createdDate": Instant,
  "changeDate": Instant
}

Identifier

Fields
Field Name Description
name - String!
value - String!
pseudonymised - String
type - String
changeDate - Instant
lastSeen - Instant
pId - String
ua - String
subRefs - [IdentifierSubRef!]
custRefs - [IdentifierCustRef!]
switchRefs - [IdentifierSwitchRef!]
mobileNet - Boolean
Example
{
  "name": "xyz789",
  "value": "xyz789",
  "pseudonymised": "abc123",
  "type": "abc123",
  "changeDate": Instant,
  "lastSeen": Instant,
  "pId": "xyz789",
  "ua": "xyz789",
  "subRefs": [IdentifierSubRef],
  "custRefs": [IdentifierCustRef],
  "switchRefs": [IdentifierSwitchRef],
  "mobileNet": false
}

IdentifierCustRef

Fields
Field Name Description
category - String!
value - String!
lastSeen - Instant!
custIdName - String!
custIdValue - String!
Example
{
  "category": "abc123",
  "value": "xyz789",
  "lastSeen": Instant,
  "custIdName": "abc123",
  "custIdValue": "abc123"
}

IdentifierCustRefInput

Fields
Input Field Description
category - String!
value - String!
lastSeen - Instant!
custIdName - String!
custIdValue - String!
Example
{
  "category": "xyz789",
  "value": "abc123",
  "lastSeen": Instant,
  "custIdName": "abc123",
  "custIdValue": "abc123"
}

IdentifierInput

Fields
Input Field Description
name - String!
value - String!
pseudonymised - String
type - String
changeDate - Instant
lastSeen - Instant
pId - String
ua - String
subRefs - [IdentifierSubRefInput!]
custRefs - [IdentifierCustRefInput!]
switchRefs - [IdentifierSwitchRefInput!]
mobileNet - Boolean
Example
{
  "name": "xyz789",
  "value": "abc123",
  "pseudonymised": "xyz789",
  "type": "abc123",
  "changeDate": Instant,
  "lastSeen": Instant,
  "pId": "abc123",
  "ua": "xyz789",
  "subRefs": [IdentifierSubRefInput],
  "custRefs": [IdentifierCustRefInput],
  "switchRefs": [IdentifierSwitchRefInput],
  "mobileNet": false
}

IdentifierSubRef

Fields
Field Name Description
value - String!
lastSeen - Instant!
Example
{
  "value": "abc123",
  "lastSeen": Instant
}

IdentifierSubRefInput

Fields
Input Field Description
value - String!
lastSeen - Instant!
Example
{
  "value": "abc123",
  "lastSeen": Instant
}

IdentifierSwitchRef

Fields
Field Name Description
category - String!
value - String!
lastSeen - Instant!
Example
{
  "category": "xyz789",
  "value": "abc123",
  "lastSeen": Instant
}

IdentifierSwitchRefInput

Fields
Input Field Description
category - String!
value - String!
lastSeen - Instant!
Example
{
  "category": "abc123",
  "value": "abc123",
  "lastSeen": Instant
}

Instant

Description

Java Instant wrapper. Represents timestamps in the application.

Example
Instant

Int

Description

The Int scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.

Example
987

MetadataEntry

Fields
Field Name Description
key - String!
value - String!
Example
{
  "key": "xyz789",
  "value": "xyz789"
}

MetadataEntryInput

Fields
Input Field Description
key - String!
value - String!
Example
{
  "key": "abc123",
  "value": "abc123"
}

Notification

Fields
Field Name Description
name - String!
version - Int!
permissions - [String!]!
date - Instant!
Example
{
  "name": "xyz789",
  "version": 987,
  "permissions": ["xyz789"],
  "date": Instant
}

NotificationInput

Fields
Input Field Description
name - String!
version - Int!
permissions - [String!]!
date - Instant!
Example
{
  "name": "abc123",
  "version": 123,
  "permissions": ["abc123"],
  "date": Instant
}

PermissionDto

Fields
Field Name Description
permissionType - String!
value - Boolean!
lastUpdated - Instant!
sources - [String!]!
metadata - [MetadataEntry!]!
Example
{
  "permissionType": "abc123",
  "value": true,
  "lastUpdated": Instant,
  "sources": ["xyz789"],
  "metadata": [MetadataEntry]
}

PermissionInput

Fields
Input Field Description
permissionType - String!
value - Boolean!
lastUpdated - Instant!
sources - [String!]!
metadata - [MetadataEntryInput!]!
Example
{
  "permissionType": "abc123",
  "value": false,
  "lastUpdated": Instant,
  "sources": ["abc123"],
  "metadata": [MetadataEntryInput]
}

PersonTargetData

Fields
Field Name Description
profileId - String!
permissions - [PermissionDto!]!
notifications - [Notification!]!
identifiers - [Identifier!]!
attributes - [AttributeDto!]!
usedApps - [UsedAppDto!]!
cookieConsents - [CookieConsentDto!]!
createdDate - Instant!
changeDate - Instant!
lastSeen - Instant
owner - String!
category - String
source - String
testProfile - Boolean!
firstSeenByMasterFeed - Instant
umdids - [Identifier!]!
identifiersByName - [Identifier!]!
Arguments
name - String!

Name to filter with

attributesByNames - [AttributeDto!]!
Arguments
names - [String!]!

List of names to filter with

Example
{
  "profileId": "abc123",
  "permissions": [PermissionDto],
  "notifications": [Notification],
  "identifiers": [Identifier],
  "attributes": [AttributeDto],
  "usedApps": [UsedAppDto],
  "cookieConsents": [CookieConsentDto],
  "createdDate": Instant,
  "changeDate": Instant,
  "lastSeen": Instant,
  "owner": "abc123",
  "category": "abc123",
  "source": "xyz789",
  "testProfile": true,
  "firstSeenByMasterFeed": Instant,
  "umdids": [Identifier],
  "identifiersByName": [Identifier],
  "attributesByNames": [AttributeDto]
}

PersonTargetDataInput

Fields
Input Field Description
profileId - String

Please omit this field. The input is ignored as the database itself handles Profile ID generation during an insert. For updates, we pick the value from the separate ProfileId param.

permissions - [PermissionInput!]!
notifications - [NotificationInput!]!
identifiers - [IdentifierInput!]!
attributes - [AttributeInput!]!
usedApps - [UsedAppInput!]!
cookieConsents - [CookieConsentInput!]!
createdDate - Instant!
changeDate - Instant!
lastSeen - Instant
owner - String!
category - String
source - String
testProfile - Boolean
firstSeenByMasterFeed - Instant
Example
{
  "profileId": "abc123",
  "permissions": [PermissionInput],
  "notifications": [NotificationInput],
  "identifiers": [IdentifierInput],
  "attributes": [AttributeInput],
  "usedApps": [UsedAppInput],
  "cookieConsents": [CookieConsentInput],
  "createdDate": Instant,
  "changeDate": Instant,
  "lastSeen": Instant,
  "owner": "abc123",
  "category": "abc123",
  "source": "xyz789",
  "testProfile": false,
  "firstSeenByMasterFeed": Instant
}

String

Description

The String scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.

Example
"abc123"

SubscriptionIdentifier

Fields
Field Name Description
name - String!
value - String!
type - String!
encrypted - String
changeDate - Instant
lastSeen - Instant
Example
{
  "name": "xyz789",
  "value": "abc123",
  "type": "abc123",
  "encrypted": "xyz789",
  "changeDate": Instant,
  "lastSeen": Instant
}

SubscriptionTargetData

Fields
Field Name Description
profileId - String!
permissions - [PermissionDto!]!
id - SubscriptionIdentifier
umid - Identifier
sndIds - [SubscriptionIdentifier!]!
createdDate - Instant!
changeDate - Instant!
owner - String!
category - String
source - String
Example
{
  "profileId": "xyz789",
  "permissions": [PermissionDto],
  "id": SubscriptionIdentifier,
  "umid": Identifier,
  "sndIds": [SubscriptionIdentifier],
  "createdDate": Instant,
  "changeDate": Instant,
  "owner": "abc123",
  "category": "abc123",
  "source": "xyz789"
}

UsedAppDto

Fields
Field Name Description
name - String!
version - String
os - String
lastSeen - Instant!
Example
{
  "name": "xyz789",
  "version": "xyz789",
  "os": "xyz789",
  "lastSeen": Instant
}

UsedAppInput

Fields
Input Field Description
name - String!
version - String
os - String
lastSeen - Instant!
Example
{
  "name": "xyz789",
  "version": "abc123",
  "os": "abc123",
  "lastSeen": Instant
}