Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagejson
{
    "users": [
        {
            "source": {
                "id": "invalidEmail@demoUser's name",
            },
            "transformation": {
                "email": "validEmail@demo.com"
            }
        }
    ]
}         

...

Code Block
languagejson
{
    "users": [
        {
            "source": {
                "id": "invalidEmail@demoUser's name",
            },
            "transformation": {
                "id": "5da444878f33800c416f30ed"
            }
        }
    ]
}         

...

Code Block
languagejson
{
    "users": [
        {
            "source": {
                "id": "invalidEmail@demousernameInvalidEmail",
                "name": "usernameInvalidEmail",
                "email": "invalidEmail@demo"
            },
            "destination": {
                "newObject": true
            },
            "transformation": {
                "email": "validEmail@demo.com"
            }
        }
    ]
}                    

...

Code Block
languagejson
{
    "users": [
        {
            "source": {
                "id": "sourceUser@demo.comsourceUser",
                "name": "sourceUser",
                "email": "sourceUser@demo.com"
            },
            "destination": {
                "newObject": true
            },
            "transformation": {
                "id": "5da444878f33800c416f30ed"
            }
        }
    ]
}

...