| GET | /api/companies/lookup | 
|---|
using System;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using IDB.CompanyLookup.DTO.Operations;
using IDB.CompanyLookup.DTO;
namespace IDB.CompanyLookup.DTO
{
    public partial class CompanyLookupEntry
    {
        public virtual string ChamberNr { get; set; }
        public virtual string ChamberEstablishmentNumber { get; set; }
        public virtual string LegalName { get; set; }
        public virtual string TradeName { get; set; }
        public virtual string MatchType { get; set; }
        public virtual string EstablishmentCity { get; set; }
        public virtual string EstablishmentStreet { get; set; }
        public virtual string CorrespondenceCity { get; set; }
        public virtual string CorrespondenceStreet { get; set; }
        public virtual bool? IndicationMainEstablishment { get; set; }
    }
    public partial class CompanyLookupSearchResults
    {
        public CompanyLookupSearchResults()
        {
            Results = new List<CompanyLookupEntry>{};
        }
        public virtual List<CompanyLookupEntry> Results { get; set; }
        public virtual PagingResultsInfo PagingResultsInfo { get; set; }
    }
    public partial class PagingResultsInfo
    {
        public virtual int CurrentPage { get; set; }
        public virtual int MaxResultsPerPage { get; set; }
        public virtual int NumberOfPages { get; set; }
        public virtual int NumberOfResults { get; set; }
        public virtual int MaximumResults { get; set; }
    }
}
namespace IDB.CompanyLookup.DTO.Operations
{
    public partial class GetCompaniesLookup
    {
        public virtual string ChamberNr { get; set; }
        public virtual string TradeName { get; set; }
        public virtual string City { get; set; }
    }
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .jsv suffix or ?format=jsv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/companies/lookup HTTP/1.1 Host: doapigw.baasbv.nl Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
	Results: [],
	PagingResultsInfo: 
	{
		CurrentPage: 0,
		MaxResultsPerPage: 0,
		NumberOfPages: 0,
		NumberOfResults: 0,
		MaximumResults: 0
	}
}