public async Task Upsert_Update_CheckReturn()
        {
            var account = new Account {
                Name = "New Account ExternalID", Description = "New Account Description"
            };
            var response = await _jsonHttpClient.HttpPatchAsync(account, string.Format("sobjects/{0}/{1}/{2}", "Account", "ExternalID__c", "2"));

            Assert.IsNotNull(response);
        }
        public Task <SuccessResponse> UpdateAsync(string objectName, string recordId, object record, CancellationToken token)
        {
            if (string.IsNullOrEmpty(objectName))
            {
                throw new ArgumentNullException("objectName");
            }
            if (string.IsNullOrEmpty(recordId))
            {
                throw new ArgumentNullException("recordId");
            }
            if (record == null)
            {
                throw new ArgumentNullException("record");
            }

            return(_jsonHttpClient.HttpPatchAsync(record, string.Format("sobjects/{0}/{1}", objectName, recordId), token));
        }