C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, procedural, generic, object-oriented (class-based), and component-oriented programming disciplines.

learn more… | top users | synonyms

2
votes
1answer
23 views

UpdateAsync Force.com SDK

I am having a problem with Force.com SDK for C#. the UpdateAsync function is updating Lead owner automatically every time I update any field on the lead. Here's the code that I am using var success ...
1
vote
1answer
13 views

How to use the apexrest with C# [closed]

I developed a code to generate Accounts from the web in PHP but now I'm in front of a chlange to make it in C# for an emergency here is my PHP code, if you can help me how to do it ..... many thx ...
2
votes
1answer
23 views

Error with basic example C# SOAP API

I'm a little new to C# (okay... very new) I've created an empty website in VS and added a Webforms page (Default.aspx). I'm trying to use the SOAP API to get portfolio information from ExactTarget. ...
1
vote
0answers
18 views

WCF Salesforce SOAP Client switch endpoint

Is there a way to switch WCF client endpoint address after login call? I don't use app.config file: var binding = new BasicHttpBinding(BasicHttpSecurityMode.Transport); var endpoint = new ...
1
vote
3answers
127 views

Bulk delete data extension rows

I am using the C# Fuel SDK for the deletion of rows in a data extension, am I am trying to delete large(ish) volumes of records at once. The sample code only provides details of how to delete records ...
2
votes
2answers
61 views

Salesforce Metadata Api/ Tooling Api to build changesets

I was wondering if it was possible to use any of the API's provided by SF to build an external (C#, Java) application to manage building changesets. Building changesets is very tedious when trying ...
0
votes
0answers
32 views

Unauthorized error when sending SMS from Marketing Cloud MobileConnect messageContact API

I am trying to send an SMS to a phone number using an exacttarget messageContact API Post. I successfully get an auth token from my getAuth() call but I still get an 'Unauthorized' error when trying ...
1
vote
1answer
36 views

Getting Attachment Id with subquery using rest api in c#

Hey guys i am trying to get attachment Id in a subquery via the rest api in c# here is my query: SELECT Id, Name, First_Name__c, Middle_Name__c, Last_Name__c, (SELECT Id FROM Attachments WHERE Name = ...
1
vote
1answer
29 views

Force.com Toolkit for .NET : Specify Fields to Update

I don't want to update all fields on the object (Lead/Contact) I am updating, is there any way to avoid that? I am trying to avoid having to pull all the fields from Salesforce just to update them ...
2
votes
0answers
34 views

Create campaign, mails and schedule the send to subscribers lists with FuelSDK C#

I'm trying to schedule the sent of some mails with the FuelSDK (C#) in ExactTarget, but the documentation is really scarse and I'm not even sure how to begin. Basically what I have is a structure like ...
0
votes
1answer
51 views

Get all automations that exist using SOAP using C#

Goal: I'm attempting to get every automation in the system available to me under my account using the SOAP API in C#. It's also part of this guy's question. I know this has been asked but this is ...
0
votes
0answers
32 views

No such column 'Description' on sobject of type Lead

I have created a connected Web App written in MVC, and we have functionality which allows users to Create a Lead within the web app. I am using the latest version of the Developerforce Nuget package ...
0
votes
0answers
21 views

Exact Target: Using FuelSDK to send email to a campaign in salesforce

How do I access Salesforce campaigns as a recipient source while sending email using Exact Target FuelSDK C#?
0
votes
0answers
31 views

ExactTarget - Automation - SOAP API deserialization

When using the C# library and SOAP to retrieve an automation, the AutomationTasks property will always be null even though the SOAP envelop of the response actually contains the AutomationTasks Node. ...
0
votes
0answers
71 views

ExactTarget, Automations, Folders and API

This is a three-part question: In the Automation Studio, automations are arranged in folders. However, unlike with all other types of objects I have managed up until now with SOAP and Fuel using the ...
0
votes
1answer
40 views

Is there a way to get email notification when Email Send Definition is performed and Send job is complete?

Note: I am using FuelSDK with C# For example, When Import Definition is completed there is an option to receive email notification showing that import was successful and if there is any error then it ...
1
vote
1answer
29 views

Force.com Toolkit for .NET Custom Field Naming

I'm trying to update an Account record using the Force.com Toolkit for .NET. The Account record has custom fields. I thought the toolkit allowed the [DataMember] attribute to be used, but its not ...
2
votes
1answer
20 views

No access to portal

I am trying to add a "Customer Community Plus User" profile user with the Salesforce .Net api. I have not done any configuration changes to this profile. //Try to add user with a contact ...
0
votes
0answers
17 views

sending bulk email by c# class library

Our requirement is to upload the excel data in sales force and send email to that excel uploaded email filed with dynamic design template .is there any code document available with c# class library
0
votes
0answers
25 views

Consume REST Service SaleForce Outbound Message

Hi I am sending my data to my endpoint url via this apex class, I have written a trigger on update in account. How will i consume it on my end ? Is there some example where i can make a rest service ...
0
votes
1answer
34 views

Receiving timeout from ET_SentEvent object when filtering by EventDate

I'm using the ET_SentEvent object to get data after a particular date and the only field I can see that is of any use in this object for filtering by date is the 'EventDate' field. I've written this ...
0
votes
1answer
30 views

How can I retrieve the ID of an email that was sent

The results from an ET_SentTracking call don't appear to mention what the email ID was that was sent, how do I get that data using the Fuel SDK in C#.
2
votes
1answer
59 views

Chimera Scanner testing server with no login credentials

I've been looking into the Chimera Security Scanner and it mentions that you have to provide test credentials and the URL of your service and, Chimera will handle the rest. The only issue that we ...
2
votes
1answer
47 views

How to query userlicences that have remaining licenses

I need to identify licenses that have remaining licenses. Referring to UserLicense object, I need to write a query to retrieve license that returns where (TotalLicenses - UsedLicenses) > 0. I am ...
1
vote
0answers
23 views

Send User-Initiated Email using Fuel C# SDK with Data Extension and Publication List

I would like to send a user-initiated email using API calls through the Fuel C# SDK. The user-initiated emails have been set up using the UI and data extensions are used for the addressees. I chose to ...
0
votes
1answer
27 views

How do I query notes with SOQL?

If I have the following notes in salesforce: How do I query it with SOQL? I cannot get the data with the following query: "SELECT Body, IsDeleted, IsPrivate, OwnerId, ParentId, Title FROM Note" ...
0
votes
0answers
16 views

Not recieving the correct LastDateModified

I have an c# app that updates a field in Salesforce. Using the same binding, and just after the Update, I'm doing a select of this field for see the new "LastModifiedDate" but I'm not getting it ...
1
vote
0answers
22 views

c# api to salesforce

My app does queries to the SF, after a select I got some objects, when I do this: string id = Object.Id; User a = Object.CreatedBy; I can see how the "id" variable give me the Id of the record ...
2
votes
1answer
87 views

Implementing sObject.get(String fieldname) when using the Partner API

Recently I have been trying my hand at using the SOAP API (C#) to automate a data-migration between two SFDC instances. Because the destination instance is still being built, I am trying to use the ...
1
vote
2answers
41 views

Query data with SalesforceSharp

I can extract data from SalesForce with the following code: namespace SalesForceExtractCsv { public class Account { public string Id { get; set; } public string Name { get; ...
0
votes
2answers
32 views

Error on retrieve() in salesforce soap api using c#

I need to retrieve records of Lead based on lead id,then I used retrieve() in salesforce Soap api and it shows error {"INVALID_FIELD: \nLead\n ^\nERROR at Row:1:Column:17\nmalformed ...
0
votes
0answers
39 views

Problem encountered while binding Salesforce with .NET C# using Partner wsdl

I am trying to bind my .NET solution with Salesforce. I want to fetch Lead informations based on a particular email ID. I have added partner wsdl as web service reference with the name ...
1
vote
1answer
13 views

Getting/Setting CaseComment Privacy

According to the API documentation, in order to get/set the CaseComment privacy, you need to use the IsPublished field. However, whenever a comment is posted into Salesforce, it always seems to ...
1
vote
1answer
56 views

using C# to send httprequest in order to get access token in SSIS [closed]

How to use Salesforce Marketing Cloud API to connect with my SQL server database. I need to use C# to do HTTP POST request to acquire an access token, but I have no idea how to do it. I need to run ...
3
votes
2answers
112 views

Determine if instance has Multi-Currency Enabled

Is there a way to check if an instance has Multi-Currency enabled through the API? I know that when enabling Multi-Currency, a CurrencyType object and multiple other fields are added on to each ...
4
votes
1answer
95 views

Generated SforceService.cs file from enterprise.wsdl is enormous. How to condense?

I've generated a C# file with classes wrapping the Salesforce Enterprise API by downloading the enterprise.wsdl file from my organization's Salesforce website to my PC, and running .Net's wsdl.exe ...
0
votes
1answer
30 views

API c# doesn't insert number fields

I have an app that create news account in my SalesForce. All the fields are okay, unless the number fields, "int" and "double", don't throw any kind of error, just doesn't appear in SalesForce. Some ...
0
votes
1answer
215 views

Cannot implicitly convert type 'Salesforce.Common.Models.SuccessResponse' to 'string'

I'm attempting to use this Simple console example on github as suggested in this answer here. sorry for coming here so much, I just need to make progress. There is a link of the code that keep ...
1
vote
0answers
17 views

Warning with newtonsoft.json version

I'm attempting to connect a C# console app with Force.com using a connected service. I'm totally new to this framework and am really groping in the dark, so please bear with me. First up I need to ...
0
votes
0answers
37 views

Is there a way to Retrieve the subscriber status on the “All subscribers” list/ master subscriber list

This code: APIObject[] Results; string requestID; RetrieveRequest rr = new RetrieveRequest { ObjectType = "ListSubscriber" }; var sf = ...
0
votes
1answer
51 views

Query a DataExtensionObject on the business unit level

This is the code I have: APIObject[] results; RetrieveRequest rr = new RetrieveRequest { ObjectType = "DataExtensionObject[" + "NameOfDataExtension" + "]", Properties = new string[] { ...
2
votes
0answers
28 views

ExactTarget Import Subcribers to list

Hi i'm new to exact target api what i'm trying to implement is import subscribers to list using API. i couldn't find a way to implement that. i only found add one subscriber to list like this using ...
0
votes
1answer
52 views

C# partner wsdl binding.QueryOptionsValue.batchSize not being set

So I have a C# program that does an automated backup of all custom objects in are org in the login method which I have posted below I set the querybatch size private bool login() { ...
0
votes
0answers
22 views

Triggered send with unsub link that creates user on a publication list as “Unsubscribed”

I have a triggered send email with and unsubscribe link. How do have have this link create a new entry in a specific publication list?
0
votes
1answer
151 views

etAPI dll. Where can I find it?

Finding information on this is not easy. I have tried searching online etAPI with many search string various with no real results. The documentation references this dll without bothering to mention ...
0
votes
0answers
20 views

Managing publication lists via c# soap api

I have implemented the code found in the documentation: EmailSendDefinition esd = new EmailSendDefinition(); esd.Email = new Email(); esd.Email.ID = 12345; //The ID of the email I wish to ...
0
votes
0answers
21 views

Any idea why ampscript “ContentArea(”“)” will not read xml data from ApiController subclasses but will from a Controller subclass?

I have tried every XML formatting variation. I can copy and paste the XML output from the ApiController and hardcode it in the ampscript and it works but whenever it attempts to read from a live URL ...
2
votes
0answers
43 views

Getting timeout in FuelSDK

I'm trying to get a list of all of the subscribers within a list. The list is approx 32,000 email addresses. Below I have my code that makes the first request and it typically succeeds in getting ...
0
votes
0answers
23 views

Triggered send to single user via c# api does not send

I have this code: public void Send(string email) { CreateResult[] results; string requestId; string status; var t = new ...
2
votes
0answers
246 views

Authorizing soap c# request errors

https://help.exacttarget.com/en/technical_library/api_overview/ In the above link it states "This element contains the customer's API username. A customer who uses the API creates a special user in ...