| GET | /{Workspace}/GisToken |
|---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GisToken
{
public String Workspace = null;
public String Token = null;
public String Host = null;
public String getWorkspace() { return Workspace; }
public GisToken setWorkspace(String value) { this.Workspace = value; return this; }
public String getToken() { return Token; }
public GisToken setToken(String value) { this.Token = value; return this; }
public String getHost() { return Host; }
public GisToken setHost(String value) { this.Host = 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}/GisToken HTTP/1.1
Host: dev.fieldsquared.com
Accept: text/jsv