These docs are for v20.3.44. Click to read the latest docs for v20.3.186.

Discussions

Ask a Question
Back to All

Inserting email to a new record

Hi there,

I am trying to figure out how to insert email into a new record. I have tried the following with no luck:

                "Emails": {
                    "$type": "Asi.Soa.Membership.DataContracts.EmailDataCollection, Asi.Contracts",
                    "$values": [
                        {
                            "$type": "Asi.Soa.Membership.DataContracts.EmailData, Asi.Contracts",
                            "Address": Email
                            "EmailType": "Mailing",
                            "IsPrimary": true

The only success we have had is by inserting the email into the address via "Asi.Soa.Membership.DataContracts.FullAddressDataCollection, Asi.Contracts and using address flow down to populate the email but this is not how we want to continue doing it if possible

Any ideas would be much appreciated!

Cheers
Georgia