Blazor Diffusion

<back to all web services

DeleteOldCreatives

import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;

public class dtos
{

    public static class DeleteOldCreatives implements IGet
    {
        
    }

    @DataContract
    public static class StringsResponse implements IMeta
    {
        @DataMember(Order=1)
        public ArrayList<String> results = null;

        @DataMember(Order=2)
        public HashMap<String,String> meta = null;

        @DataMember(Order=3)
        public ResponseStatus responseStatus = null;
        
        public ArrayList<String> getResults() { return results; }
        public StringsResponse setResults(ArrayList<String> value) { this.results = value; return this; }
        public HashMap<String,String> getMeta() { return meta; }
        public StringsResponse setMeta(HashMap<String,String> value) { this.meta = value; return this; }
        public ResponseStatus getResponseStatus() { return responseStatus; }
        public StringsResponse setResponseStatus(ResponseStatus value) { this.responseStatus = value; return this; }
    }

}

Java DeleteOldCreatives DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /csv/reply/DeleteOldCreatives HTTP/1.1 
Host: blazordiffusion.com 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length

{"results":["String"],"meta":{"String":"String"},"responseStatus":{"errorCode":"String","message":"String","stackTrace":"String","errors":[{"errorCode":"String","fieldName":"String","message":"String","meta":{"String":"String"}}],"meta":{"String":"String"}}}