POST | /RestApi/recycle-bin/batch/delete |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class DeleteRecycleBinItems
{
public ArrayList<UUID> Ids = null;
public ArrayList<UUID> getIds() { return Ids; }
public DeleteRecycleBinItems setIds(ArrayList<UUID> value) { this.Ids = value; return this; }
}
}
Java DeleteRecycleBinItems DTOs
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.
POST /RestApi/recycle-bin/batch/delete HTTP/1.1
Host: www.asg.com.au
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{"Ids":["00000000-0000-0000-0000-000000000000"]}