PUT | /api/groups/{ID}/tiles/{TileID}/transfer/{To} |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class TransferTile
{
public UUID ID = null;
public UUID TileID = null;
public Integer To = null;
public UUID getId() { return ID; }
public TransferTile setId(UUID value) { this.ID = value; return this; }
public UUID getTileID() { return TileID; }
public TransferTile setTileID(UUID value) { this.TileID = value; return this; }
public Integer getTo() { return To; }
public TransferTile setTo(Integer value) { this.To = 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.
PUT /api/groups/{ID}/tiles/{TileID}/transfer/{To} HTTP/1.1
Host: doapigw.baasbv.nl
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
To: 0
}