...
The important thing to note is that we refer to source users by their names. What this means is that you always need to provide the source user’s name in the JSON file in order to apply a transformation to it.
...
Code Block |
---|
|
{
"users": [
{
"source": {
"id": "invalidEmail@demoUser's name",
},
"transformation": {
"email": "validEmail@demo.com"
}
}
]
} |
...
Code Block |
---|
|
{
"users": [
{
"source": {
"id": "invalidEmail@demoUser's name",
},
"transformation": {
"id": "5da444878f33800c416f30ed"
}
}
]
} |
...
Code Block |
---|
|
{
"users": [
{
"source": {
"id": "invalidEmail@demousernameInvalidEmail",
"name": "usernameInvalidEmail",
"email": "invalidEmail@demo"
},
"destination": {
"newObject": true
},
"transformation": {
"email": "validEmail@demo.com"
}
}
]
} |
...
Code Block |
---|
|
{
"users": [
{
"source": {
"id": "sourceUser@demo.comsourceUser",
"name": "sourceUser",
"email": "sourceUser@demo.com"
},
"destination": {
"newObject": true
},
"transformation": {
"id": "5da444878f33800c416f30ed"
}
}
]
} |
...