| GET | /{Workspace}/MessageApp |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class MessageApp
{
public String ObjectId = null;
public String Workspace = null;
public String Name = null;
public String PublicKey = null;
public String getObjectId() { return ObjectId; }
public MessageApp setObjectId(String value) { this.ObjectId = value; return this; }
public String getWorkspace() { return Workspace; }
public MessageApp setWorkspace(String value) { this.Workspace = value; return this; }
public String getName() { return Name; }
public MessageApp setName(String value) { this.Name = value; return this; }
public String getPublicKey() { return PublicKey; }
public MessageApp setPublicKey(String value) { this.PublicKey = 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.
GET /{Workspace}/MessageApp HTTP/1.1
Host: dev.fieldsquared.com
Accept: application/xml