| POST | /SamlInfo |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class SamlInfo
{
public String EmailDomain = null;
public String Workspace = null;
public String LoginType = null;
public String RedirectUri = null;
public String Url = null;
public String getEmailDomain() { return EmailDomain; }
public SamlInfo setEmailDomain(String value) { this.EmailDomain = value; return this; }
public String getWorkspace() { return Workspace; }
public SamlInfo setWorkspace(String value) { this.Workspace = value; return this; }
public String getLoginType() { return LoginType; }
public SamlInfo setLoginType(String value) { this.LoginType = value; return this; }
public String getRedirectUri() { return RedirectUri; }
public SamlInfo setRedirectUri(String value) { this.RedirectUri = value; return this; }
public String getUrl() { return Url; }
public SamlInfo setUrl(String value) { this.Url = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .xml suffix or ?format=xml
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /SamlInfo HTTP/1.1
Host: dev.fieldsquared.com
Accept: application/xml
Content-Type: application/xml
Content-Length: length
<SamlInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Field2Office.API.Model.Authentication">
<EmailDomain>String</EmailDomain>
<LoginType>String</LoginType>
<RedirectUri>String</RedirectUri>
<Url>String</Url>
<Workspace>String</Workspace>
</SamlInfo>