Thank you for the support. I don't have an option to "Reply to Author (no permission)". However to answer your question, I did not encounter any issues while uploading. I have masked sensitive fields and copied you the request & response.
1) Created a Customer Match user list.
{
"operations": [
{
"create": {
"readOnly": false,
"name": "rest-test-audience",
"description": "A rest-test-audience post request",
"membershipStatus": "OPEN",
"membershipLifeSpan": 10000,
"sizeForDisplay": "0",
"sizeRangeForDisplay": "LESS_THAN_FIVE_HUNDRED",
"sizeForSearch": "0",
"sizeRangeForSearch": "LESS_THAN_FIVE_HUNDRED",
"type": "CRM_BASED",
"accessReason": "OWNED",
"accountUserListStatus": "ENABLED",
"eligibleForSearch": true,
"eligibleForDisplay": true,
"crmBasedUserList": {
"uploadKeyType": "CONTACT_INFO",
"dataSourceType": "FIRST_PARTY"
}
}
}
]
}
Responded with:"resourceName": "customers/**********/userLists/********1*
2) Added members to the user list by using OfflineUserDataJobService
2.1) created a job
{
"job": {
"type": "CUSTOMER_MATCH_USER_LIST",
"customerMatchUserListMetadata": {
"userList": "customers/**********/userLists/********1*"
}
}
}
Responded with:"resourceName": "customers/**********/offlineUserDataJobs/*******11*
2.2) Added members: I wanted to test these behaviours first, then add to the code, hence added only dummy email ids as hashed. I have sent only 6 email ids to the list.
{
"enablePartialFailure": true,
"operations": [
{ "create": {
"userIdentifiers": [
{ "hashedEmail": "b4133380ccd33e9fea010c5c961c1b766f4bf70ca30a4026a65c6854c8921fda"},
{ "hashedEmail": "bc8ff7bc9cbcf078d9e537b9b6098f8d50fe7142086c6aabf6841a7714679c30"},
{ "hashedEmail": "4c7d03d328bed7e9babb9d5abb9216a1b14d5feeb82890816b090521072a5827"},
{ "hashedEmail": "d2b50b25bd11b7bb89b77196400c2224b7207e8a7311bb815eee5f4fdc6e84bd"},
{ "hashedEmail": "5a93546de6d673b505406bb492b1da7a05812cba88627fff7fe403f4504be0b5"},
{ "hashedEmail": "9740b36c2f55f133c73a11133b19db466b2f632aca80d3aef2cb00022f018f15"} ]
}
}]
}
Responded with { } as there are no errors.
I queried to check the status of job (after 10hrs now) and below is the response:
Thanks.