POST | /RestApi/eloqua/config |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class EloquaConfigurationRequest
{
public String SiteId = null;
public String Username = null;
public String Password = null;
public String CompanyName = null;
public String FormPostUrl = null;
public String getSiteId() { return SiteId; }
public EloquaConfigurationRequest setSiteId(String value) { this.SiteId = value; return this; }
public String getUsername() { return Username; }
public EloquaConfigurationRequest setUsername(String value) { this.Username = value; return this; }
public String getPassword() { return Password; }
public EloquaConfigurationRequest setPassword(String value) { this.Password = value; return this; }
public String getCompanyName() { return CompanyName; }
public EloquaConfigurationRequest setCompanyName(String value) { this.CompanyName = value; return this; }
public String getFormPostUrl() { return FormPostUrl; }
public EloquaConfigurationRequest setFormPostUrl(String value) { this.FormPostUrl = value; return this; }
}
}
Java EloquaConfigurationRequest DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /RestApi/eloqua/config HTTP/1.1
Host: www.asg.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"SiteId":"String","Username":"String","Password":"String","CompanyName":"String","FormPostUrl":"String"}