import java.math.*;
import java.util.*;
import java.io.InputStream;
import net.servicestack.client.*;
public class dtos
{
public static class ImportCustomEntityData
{
public String Entitytype = null;
public byte[] FileData = null;
public String FileType = null;
public String FixedValues = null;
public String getEntitytype() { return Entitytype; }
public ImportCustomEntityData setEntitytype(String value) { this.Entitytype = value; return this; }
public byte[] getFileData() { return FileData; }
public ImportCustomEntityData setFileData(byte[] value) { this.FileData = value; return this; }
public String getFileType() { return FileType; }
public ImportCustomEntityData setFileType(String value) { this.FileType = value; return this; }
public String getFixedValues() { return FixedValues; }
public ImportCustomEntityData setFixedValues(String value) { this.FixedValues = value; return this; }
}
}
Java ImportCustomEntityData DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /json/oneway/ImportCustomEntityData HTTP/1.1
Host: test-do-services.klokgroep.nl
Accept: application/json
Content-Type: application/json
Content-Length: length
{"Entitytype":"String","FileData":"AA==","FileType":"String","FixedValues":"String"}