DigiOffice API Services Services

<back to all web services

ImportCustomEntityData

Requires Authentication
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 .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/oneway/ImportCustomEntityData HTTP/1.1 
Host: test-do-services.klokgroep.nl 
Accept: text/csv
Content-Type: text/csv
Content-Length: length

{"Entitytype":"String","FileData":"AA==","FileType":"String","FixedValues":"String"}