DELETE | /api/groups/{ID}/delete |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class DeleteGroup
{
public UUID ID = null;
public UUID getId() { return ID; }
public DeleteGroup setId(UUID value) { this.ID = value; return this; }
}
public static class BoolResponse
{
public Boolean Value = null;
public Boolean isValue() { return Value; }
public BoolResponse setValue(Boolean value) { this.Value = value; return this; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
DELETE /api/groups/{ID}/delete HTTP/1.1 Host: doapigw.baasbv.nl Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"Value":false}