public CreateOrUpdateProfileConsumerResponse UpdateProfileConsumerData(CreateOrUpdateProfileConsumerData data, List <KeyValuePairType> fieldValues, string consumerProfileId, string consumerProfileTypeId) { data.CreateOrUpdateProfileConsumerRequest = CreateOrUpdateProfileConsumerRequestFactory.NewRequestWithBaseData(); data.CreateOrUpdateProfileConsumerRequest.ConsumerProfileID = consumerProfileId; data.CreateOrUpdateProfileConsumerRequest.ConsumerProfileIDType = consumerProfileTypeId; data.CreateOrUpdateProfileConsumerRequest.ConsumerProfileIDTypeToReturn = consumerProfileTypeId; data.CreateOrUpdateProfileConsumerRequest.FieldValues.AddRange(fieldValues); return(_acIntegration.CreateOrUpdateProfileConsumer(data)); }
public CreateOrUpdateProfileConsumerResponse CreateOrUpdateProfileConsumerBaseData(CreateOrUpdateProfileConsumerData data) { data.CreateOrUpdateProfileConsumerRequest = CreateOrUpdateProfileConsumerRequestFactory.NewRequestWithBaseData(); return(_acIntegration.CreateOrUpdateProfileConsumer(data)); }