SF Object ID#0

{
    "lastName": "One",
    "firstName": "Joe Testing",
    "Email": "jgoldberg@weblications.com",
    "Company": "CMA",
    "Phone": "1111111111"
}

Test if Contact Query #0

{
    "code": 200,
    "data": {
        "totalSize": 0,
        "done": true,
        "records": []
    },
    "cached": true,
    "from_cache": false,
    "is_redo": false
}

Upsert Result ID#0

{
    "code": 200,
    "data": {
        "id": "00QUY000000erFJ2AY",
        "success": true,
        "errors": [],
        "created": false
    },
    "from_cache": false,
    "cached": false,
    "is_redo": false
}

CampaignMember Query ID#0

{
    "code": 200,
    "data": {
        "totalSize": 1,
        "done": true,
        "records": [
            {
                "attributes": {
                    "type": "CampaignMember",
                    "url": "\/services\/data\/v55.0\/sobjects\/CampaignMember\/00vUY0000005Y2fYAE"
                },
                "Id": "00vUY0000005Y2fYAE",
                "IsDeleted": false,
                "CampaignId": "7011Q000001jKYJQA2",
                "LeadId": "00QUY000000erFJ2AY",
                "ContactId": null,
                "Status": "Sent",
                "HasResponded": false,
                "CreatedDate": "2023-11-13T08:40:54.000+0000",
                "CreatedById": "0051Q00000Z2vt3QAB",
                "LastModifiedDate": "2023-11-13T08:40:54.000+0000",
                "LastModifiedById": "0051Q00000Z2vt3QAB",
                "SystemModstamp": "2023-11-13T08:40:54.000+0000",
                "FirstRespondedDate": null,
                "Salutation": null,
                "Name": "Joe Testing One",
                "FirstName": "Joe Testing",
                "LastName": "One",
                "Title": null,
                "Street": null,
                "City": null,
                "State": null,
                "PostalCode": null,
                "Country": null,
                "Email": "jgoldberg@weblications.com",
                "Phone": "1111111111",
                "Fax": null,
                "MobilePhone": null,
                "Description": null,
                "DoNotCall": false,
                "HasOptedOutOfEmail": false,
                "HasOptedOutOfFax": false,
                "LeadSource": null,
                "CompanyOrAccount": "CMA",
                "Type": "Lead",
                "LeadOrContactId": "00QUY000000erFJ2AY",
                "LeadOrContactOwnerId": "00536000002bZDKAA2",
                "Account_Client_ID__c": null,
                "Account_Owner__c": null,
                "Campaign_Completed__c": false,
                "Campaign_Start_Date__c": "2022-04-30",
                "Account_OwnerLookup__c": null,
                "Event_Attendee_Record_Created__c": "2023-11-13T08:40:54.000+0000",
                "MEIS_Client_ID__c": null,
                "Client_ID_for_Reporting__c": null,
                "Is_a_Contact__c": false,
                "Comments__c": null,
                "Account_Primary_Contact__c": null,
                "Account_Secondary_Contact__c": null,
                "Account2__c": "CMA",
                "Account_Name__c": null,
                "End__c": "2022-04-30",
                "Presenter__c": null,
                "Type__c": "Lead",
                "Event_Survey_Sent__c": false,
                "Event_Survey_Returned__c": false,
                "Breakout_Session_Details__c": null,
                "Breakout_Sessions__c": null,
                "Name__c": null,
                "Attendee_Record__c": null,
                "Do_Not_Report_to_NIST__c": false,
                "Do_Not_Survey__c": false,
                "Monthly_OE_Participants_Goal__c": 0,
                "Yearly_OE_Participants_Goal__c": 0
            }
        ]
    },
    "cached": true,
    "from_cache": false,
    "is_redo": false
}

SF Object ID#1

{
    "lastName": "Two",
    "firstName": "Joe Test",
    "Email": "jgoldberg@cmasolutions.com",
    "Company": "CMA",
    "Phone": "1118855555"
}

Test if Contact Query #1

{
    "code": 200,
    "data": {
        "totalSize": 1,
        "done": true,
        "records": [
            {
                "attributes": {
                    "type": "Contact",
                    "url": "\/services\/data\/v55.0\/sobjects\/Contact\/0031Q00002ZWRCSQA5"
                },
                "FirstName": "Joe Test",
                "Email": "jgoldberg@cmasolutions.com",
                "LastName": "Two"
            }
        ]
    },
    "cached": true,
    "from_cache": false,
    "is_redo": false
}

Upsert Result ID#1

{
    "code": 200,
    "data": {
        "id": "0031Q00002ZWRCSQA5",
        "success": true,
        "errors": [],
        "created": false
    },
    "from_cache": false,
    "cached": false,
    "is_redo": false
}

CampaignMember Query ID#1

{
    "code": 200,
    "data": {
        "totalSize": 1,
        "done": true,
        "records": [
            {
                "attributes": {
                    "type": "CampaignMember",
                    "url": "\/services\/data\/v55.0\/sobjects\/CampaignMember\/00v1Q00002Cg6S9QAJ"
                },
                "Id": "00v1Q00002Cg6S9QAJ",
                "IsDeleted": false,
                "CampaignId": "7011Q000001jKYJQA2",
                "LeadId": null,
                "ContactId": "0031Q00002ZWRCSQA5",
                "Status": "Sent",
                "HasResponded": false,
                "CreatedDate": "2022-05-11T19:18:37.000+0000",
                "CreatedById": "0051Q00000Z2vt3QAB",
                "LastModifiedDate": "2022-05-11T19:18:37.000+0000",
                "LastModifiedById": "0051Q00000Z2vt3QAB",
                "SystemModstamp": "2022-05-11T19:18:37.000+0000",
                "FirstRespondedDate": null,
                "Salutation": null,
                "Name": "Joe Test Two",
                "FirstName": "Joe Test",
                "LastName": "Two",
                "Title": null,
                "Street": null,
                "City": null,
                "State": null,
                "PostalCode": null,
                "Country": null,
                "Email": "jgoldberg@cmasolutions.com",
                "Phone": "1118855555",
                "Fax": null,
                "MobilePhone": null,
                "Description": null,
                "DoNotCall": false,
                "HasOptedOutOfEmail": false,
                "HasOptedOutOfFax": false,
                "LeadSource": null,
                "CompanyOrAccount": null,
                "Type": "Contact",
                "LeadOrContactId": "0031Q00002ZWRCSQA5",
                "LeadOrContactOwnerId": "0051Q00000Z2vt3QAB",
                "Account_Client_ID__c": null,
                "Account_Owner__c": null,
                "Campaign_Completed__c": false,
                "Campaign_Start_Date__c": "2022-04-30",
                "Account_OwnerLookup__c": null,
                "Event_Attendee_Record_Created__c": "2022-05-11T19:18:37.000+0000",
                "MEIS_Client_ID__c": null,
                "Client_ID_for_Reporting__c": ",",
                "Is_a_Contact__c": false,
                "Comments__c": null,
                "Account_Primary_Contact__c": null,
                "Account_Secondary_Contact__c": null,
                "Account2__c": null,
                "Account_Name__c": null,
                "End__c": "2022-04-30",
                "Presenter__c": null,
                "Type__c": "Contact",
                "Event_Survey_Sent__c": false,
                "Event_Survey_Returned__c": false,
                "Breakout_Session_Details__c": null,
                "Breakout_Sessions__c": null,
                "Name__c": "Joe Test Two",
                "Attendee_Record__c": null,
                "Do_Not_Report_to_NIST__c": false,
                "Do_Not_Survey__c": false,
                "Monthly_OE_Participants_Goal__c": 0,
                "Yearly_OE_Participants_Goal__c": 0
            }
        ]
    },
    "cached": true,
    "from_cache": false,
    "is_redo": false
}

SF Object ID#2

{
    "lastName": "Test-Disregard",
    "firstName": "Joe Three",
    "Email": "fakeemail@localhost.local",
    "Company": "CMA",
    "Phone": "1111111111"
}

Test if Contact Query #2

{
    "code": 200,
    "data": {
        "totalSize": 0,
        "done": true,
        "records": []
    },
    "cached": true,
    "from_cache": false,
    "is_redo": false
}

Upsert Result ID#2

{
    "code": 200,
    "data": {
        "id": "00QHp00001SvH7eMAF",
        "success": true,
        "errors": [],
        "created": false
    },
    "from_cache": false,
    "cached": false,
    "is_redo": false
}

CampaignMember Query ID#2

{
    "code": 200,
    "data": {
        "totalSize": 1,
        "done": true,
        "records": [
            {
                "attributes": {
                    "type": "CampaignMember",
                    "url": "\/services\/data\/v55.0\/sobjects\/CampaignMember\/00vHp00002NKPI3IAP"
                },
                "Id": "00vHp00002NKPI3IAP",
                "IsDeleted": false,
                "CampaignId": "7011Q000001jKYJQA2",
                "LeadId": "00QHp00001SvH7eMAF",
                "ContactId": null,
                "Status": "Sent",
                "HasResponded": false,
                "CreatedDate": "2023-10-26T23:27:50.000+0000",
                "CreatedById": "0051Q00000Z2vt3QAB",
                "LastModifiedDate": "2023-10-26T23:27:50.000+0000",
                "LastModifiedById": "0051Q00000Z2vt3QAB",
                "SystemModstamp": "2023-10-26T23:27:50.000+0000",
                "FirstRespondedDate": null,
                "Salutation": null,
                "Name": "Joe Three Test-Disregard",
                "FirstName": "Joe Three",
                "LastName": "Test-Disregard",
                "Title": null,
                "Street": null,
                "City": null,
                "State": null,
                "PostalCode": null,
                "Country": null,
                "Email": "fakeemail@localhost.local",
                "Phone": "1111111111",
                "Fax": null,
                "MobilePhone": null,
                "Description": null,
                "DoNotCall": false,
                "HasOptedOutOfEmail": false,
                "HasOptedOutOfFax": false,
                "LeadSource": null,
                "CompanyOrAccount": "CMA",
                "Type": "Lead",
                "LeadOrContactId": "00QHp00001SvH7eMAF",
                "LeadOrContactOwnerId": "00536000002bZDKAA2",
                "Account_Client_ID__c": null,
                "Account_Owner__c": null,
                "Campaign_Completed__c": false,
                "Campaign_Start_Date__c": "2022-04-30",
                "Account_OwnerLookup__c": null,
                "Event_Attendee_Record_Created__c": "2023-10-26T23:27:50.000+0000",
                "MEIS_Client_ID__c": null,
                "Client_ID_for_Reporting__c": null,
                "Is_a_Contact__c": false,
                "Comments__c": null,
                "Account_Primary_Contact__c": null,
                "Account_Secondary_Contact__c": null,
                "Account2__c": "CMA",
                "Account_Name__c": null,
                "End__c": "2022-04-30",
                "Presenter__c": null,
                "Type__c": "Lead",
                "Event_Survey_Sent__c": false,
                "Event_Survey_Returned__c": false,
                "Breakout_Session_Details__c": null,
                "Breakout_Sessions__c": null,
                "Name__c": null,
                "Attendee_Record__c": null,
                "Do_Not_Report_to_NIST__c": false,
                "Do_Not_Survey__c": false,
                "Monthly_OE_Participants_Goal__c": 0,
                "Yearly_OE_Participants_Goal__c": 0
            }
        ]
    },
    "cached": true,
    "from_cache": false,
    "is_redo": false
}