DigiOffice Gateway Web Services

<back to all web services

EntityQuicklookup

Requires Authentication
import java.math.*;
import java.util.*;
import net.servicestack.client.*;

public class dtos
{

    public static class EntityQuicklookup
    {
        public String Name = null;
        public String LookupValue = null;
        
        public String getName() { return Name; }
        public EntityQuicklookup setName(String value) { this.Name = value; return this; }
        public String getLookupValue() { return LookupValue; }
        public EntityQuicklookup setLookupValue(String value) { this.LookupValue = value; return this; }
    }

    public static class QuickLookupResponse implements IBaseQuickLookupResponse
    {
        public Integer NumberOfAllRecords = null;
        public ArrayList<SerializableKeyValuePair<String,String>> Values = null;
        public ArrayList<QuickAddOption> QuickAddOptions = null;
        
        public Integer getNumberOfAllRecords() { return NumberOfAllRecords; }
        public QuickLookupResponse setNumberOfAllRecords(Integer value) { this.NumberOfAllRecords = value; return this; }
        public ArrayList<SerializableKeyValuePair<String,String>> getValues() { return Values; }
        public QuickLookupResponse setValues(ArrayList<SerializableKeyValuePair<String,String>> value) { this.Values = value; return this; }
        public ArrayList<QuickAddOption> getQuickAddOptions() { return QuickAddOptions; }
        public QuickLookupResponse setQuickAddOptions(ArrayList<QuickAddOption> value) { this.QuickAddOptions = value; return this; }
    }

    public static class QuickAddOption
    {
        public String Name = null;
        public String EntityType = null;
        
        public String getName() { return Name; }
        public QuickAddOption setName(String value) { this.Name = value; return this; }
        public String getEntityType() { return EntityType; }
        public QuickAddOption setEntityType(String value) { this.EntityType = value; return this; }
    }

}

Java EntityQuicklookup DTOs

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

HTTP + OTHER

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

POST /jsonl/reply/EntityQuicklookup HTTP/1.1 
Host: doapigw.baasbv.nl 
Accept: text/jsonl
Content-Type: text/jsonl
Content-Length: length

{"Name":"String","LookupValue":"String"}
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"NumberOfAllRecords":0,"Values":[{}],"QuickAddOptions":[{"Name":"String","EntityType":"String"}]}