| All Verbs | /ShowAllPositionsOfArea/{AreaID}/{Color} |
|---|
import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class ShowAllPositionsOfArea
{
/**
* Area ID
*/
@ApiMember(Description="Area ID", IsRequired=true)
public Integer AreaID = null;
/**
* HTML Color code (e.g. FF00FF)
*/
@ApiMember(Description="HTML Color code (e.g. FF00FF)", IsRequired=true)
public String Color = null;
/**
* Name of the owner of the color/command to allow color sharing
*/
@ApiMember(Description="Name of the owner of the color/command to allow color sharing")
public String Owner = null;
public Integer getAreaID() { return AreaID; }
public ShowAllPositionsOfArea setAreaID(Integer value) { this.AreaID = value; return this; }
public String getColor() { return Color; }
public ShowAllPositionsOfArea setColor(String value) { this.Color = value; return this; }
public String getOwner() { return Owner; }
public ShowAllPositionsOfArea setOwner(String value) { this.Owner = value; return this; }
}
}
Java ShowAllPositionsOfArea DTOs
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.
POST /ShowAllPositionsOfArea/{AreaID}/{Color} HTTP/1.1
Host: clouddemo.pickeos.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
AreaID: 0,
Color: String,
Owner: String
}