Create Upload Job
| customerprofiles_create_upload_job | R Documentation |
Creates an Upload job to ingest data for segment imports¶
Description¶
Creates an Upload job to ingest data for segment imports. The metadata is created for the job with the provided field mapping and unique key.
Usage¶
customerprofiles_create_upload_job(DomainName, DisplayName, Fields,
UniqueKey, DataExpiry)
Arguments¶
DomainName |
[required] The unique name of the domain. Domain should be exists for the upload job to be created. |
DisplayName |
[required] The unique name of the upload job. Could be a file name to identify the upload job. |
Fields |
[required] The mapping between CSV Columns and Profile Object attributes. A map of the name and ObjectType field. |
UniqueKey |
[required] The unique key columns for de-duping the profiles used to map data to the profile. |
DataExpiry |
The expiry duration for the profiles ingested with the job. If not provided, the system default of 2 weeks is used. |
Value¶
A list with the following syntax:
list(
JobId = "string"
)
Request syntax¶
svc$create_upload_job(
DomainName = "string",
DisplayName = "string",
Fields = list(
list(
Source = "string",
Target = "string",
ContentType = "STRING"|"NUMBER"|"PHONE_NUMBER"|"EMAIL_ADDRESS"|"NAME"
)
),
UniqueKey = "string",
DataExpiry = 123
)