| GET | /{Workspace}/CloneObject/{ObjectType}/{ObjectId} |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class CloneObject
{
public String Workspace = null;
public String ObjectType = null;
public String ObjectId = null;
public String getWorkspace() { return Workspace; }
public CloneObject setWorkspace(String value) { this.Workspace = value; return this; }
public String getObjectType() { return ObjectType; }
public CloneObject setObjectType(String value) { this.ObjectType = value; return this; }
public String getObjectId() { return ObjectId; }
public CloneObject setObjectId(String value) { this.ObjectId = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /{Workspace}/CloneObject/{ObjectType}/{ObjectId} HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/jsv