Skip to content

Adds multiple profile objects to a domain of a given ObjectType in a single API call

Description

Adds multiple profile objects to a domain of a given ObjectType in a single API call.

When adding a specific profile object, like a Contact Record, an inferred profile can get created if it is not mapped to an existing profile. The resulting profile will only have a phone number populated in the standard ProfileObject. Any additional Contact Records with the same phone number will be mapped to the same inferred profile.

When a ProfileObject is created and if a ProfileObjectType already exists for the ProfileObject, it will provide data to a standard profile depending on the ProfileObjectType definition.

BatchPutProfileObject needs an ObjectType, which can be created using PutProfileObjectType.

Usage

customerprofiles_batch_put_profile_object(DomainName, ObjectTypeName,
  Items)

Arguments

  • DomainName

[required] The unique name of the domain.

  • ObjectTypeName

[required] The name of the profile object type.

  • Items

[required] A list of items to add to the domain.

Value

A list with the following syntax:

list(
  Successful = list(
    list(
      Id = "string",
      ProfileObjectUniqueKey = "string"
    )
  ),
  Failed = list(
    list(
      Id = "string",
      Code = 123,
      Message = "string"
    )
  )
)

Request syntax

svc$batch_put_profile_object(
  DomainName = "string",
  ObjectTypeName = "string",
  Items = list(
    list(
      Id = "string",
      Object = "string"
    )
  )
)