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": "00Q1Q00001NykIvUAJ",
        "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\/v54.0\/sobjects\/CampaignMember\/00v1Q00002F3AazQAF"
                },
                "Id": "00v1Q00002F3AazQAF",
                "IsDeleted": false,
                "CampaignId": "7011Q000001jKYJQA2",
                "LeadId": "00Q1Q00001NykIvUAJ",
                "ContactId": null,
                "Status": "Sent",
                "HasResponded": false,
                "CreatedDate": "2022-08-14T23:24:07.000+0000",
                "CreatedById": "0051Q00000Z2vt3QAB",
                "LastModifiedDate": "2022-08-14T23:24:07.000+0000",
                "LastModifiedById": "0051Q00000Z2vt3QAB",
                "SystemModstamp": "2022-08-14T23:24:07.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": "00Q1Q00001NykIvUAJ",
                "LeadOrContactOwnerId": "0053600000F3HMGAA3",
                "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-08-14T23:24:07.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
            }
        ]
    },
    "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\/v54.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\/v54.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
            }
        ]
    },
    "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": "00Q1Q00001NykCjUAJ",
        "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\/v54.0\/sobjects\/CampaignMember\/00v1Q00002F3Ab4QAF"
                },
                "Id": "00v1Q00002F3Ab4QAF",
                "IsDeleted": false,
                "CampaignId": "7011Q000001jKYJQA2",
                "LeadId": "00Q1Q00001NykCjUAJ",
                "ContactId": null,
                "Status": "Sent",
                "HasResponded": false,
                "CreatedDate": "2022-08-14T23:24:11.000+0000",
                "CreatedById": "0051Q00000Z2vt3QAB",
                "LastModifiedDate": "2022-08-14T23:24:11.000+0000",
                "LastModifiedById": "0051Q00000Z2vt3QAB",
                "SystemModstamp": "2022-08-14T23:24:11.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": "00Q1Q00001NykCjUAJ",
                "LeadOrContactOwnerId": "0053600000F3HMGAA3",
                "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-08-14T23:24:11.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
            }
        ]
    },
    "cached": true,
    "from_cache": false,
    "is_redo": false
}