GET | /api/companies/lookup/{ChamberNr} |
---|
import java.math.*;
import java.util.*;
import net.servicestack.client.*;
public class dtos
{
public static class GetCompanyLookupDetails
{
public String ChamberNr = null;
public String ChamberEstablishmentNumber = null;
public String getChamberNr() { return ChamberNr; }
public GetCompanyLookupDetails setChamberNr(String value) { this.ChamberNr = value; return this; }
public String getChamberEstablishmentNumber() { return ChamberEstablishmentNumber; }
public GetCompanyLookupDetails setChamberEstablishmentNumber(String value) { this.ChamberEstablishmentNumber = value; return this; }
}
public static class CompanyLookupDetails
{
public String ChamberNr = null;
public String ChamberEstablishmentNumber = null;
public String CompanyLegalName = null;
public String CompanyTradeName = null;
public String ChamberCity = null;
public Date ChamberFoundingDate = null;
public String EstablishmentStreet = null;
public String EstablishmentHouseNr = null;
public String EstablishmentHouseNrAddition = null;
public String EstablishmentPostalCode = null;
public String EstablishmentCity = null;
public String EstablishmentCountryTLA = null;
public String CorrespondencePOBox = null;
public String CorrespondencePostalCode = null;
public String CorrespondenceCity = null;
public String CorrespondenceCountryTLA = null;
public String Website = null;
public String Telephone = null;
public String Mobile = null;
public String EMail = null;
public Boolean DebtorInPossession = null;
public Boolean Bankrupt = null;
public HashMap<String,Object> ExtraFields = null;
public String getChamberNr() { return ChamberNr; }
public CompanyLookupDetails setChamberNr(String value) { this.ChamberNr = value; return this; }
public String getChamberEstablishmentNumber() { return ChamberEstablishmentNumber; }
public CompanyLookupDetails setChamberEstablishmentNumber(String value) { this.ChamberEstablishmentNumber = value; return this; }
public String getCompanyLegalName() { return CompanyLegalName; }
public CompanyLookupDetails setCompanyLegalName(String value) { this.CompanyLegalName = value; return this; }
public String getCompanyTradeName() { return CompanyTradeName; }
public CompanyLookupDetails setCompanyTradeName(String value) { this.CompanyTradeName = value; return this; }
public String getChamberCity() { return ChamberCity; }
public CompanyLookupDetails setChamberCity(String value) { this.ChamberCity = value; return this; }
public Date getChamberFoundingDate() { return ChamberFoundingDate; }
public CompanyLookupDetails setChamberFoundingDate(Date value) { this.ChamberFoundingDate = value; return this; }
public String getEstablishmentStreet() { return EstablishmentStreet; }
public CompanyLookupDetails setEstablishmentStreet(String value) { this.EstablishmentStreet = value; return this; }
public String getEstablishmentHouseNr() { return EstablishmentHouseNr; }
public CompanyLookupDetails setEstablishmentHouseNr(String value) { this.EstablishmentHouseNr = value; return this; }
public String getEstablishmentHouseNrAddition() { return EstablishmentHouseNrAddition; }
public CompanyLookupDetails setEstablishmentHouseNrAddition(String value) { this.EstablishmentHouseNrAddition = value; return this; }
public String getEstablishmentPostalCode() { return EstablishmentPostalCode; }
public CompanyLookupDetails setEstablishmentPostalCode(String value) { this.EstablishmentPostalCode = value; return this; }
public String getEstablishmentCity() { return EstablishmentCity; }
public CompanyLookupDetails setEstablishmentCity(String value) { this.EstablishmentCity = value; return this; }
public String getEstablishmentCountryTLA() { return EstablishmentCountryTLA; }
public CompanyLookupDetails setEstablishmentCountryTLA(String value) { this.EstablishmentCountryTLA = value; return this; }
public String getCorrespondencePOBox() { return CorrespondencePOBox; }
public CompanyLookupDetails setCorrespondencePOBox(String value) { this.CorrespondencePOBox = value; return this; }
public String getCorrespondencePostalCode() { return CorrespondencePostalCode; }
public CompanyLookupDetails setCorrespondencePostalCode(String value) { this.CorrespondencePostalCode = value; return this; }
public String getCorrespondenceCity() { return CorrespondenceCity; }
public CompanyLookupDetails setCorrespondenceCity(String value) { this.CorrespondenceCity = value; return this; }
public String getCorrespondenceCountryTLA() { return CorrespondenceCountryTLA; }
public CompanyLookupDetails setCorrespondenceCountryTLA(String value) { this.CorrespondenceCountryTLA = value; return this; }
public String getWebsite() { return Website; }
public CompanyLookupDetails setWebsite(String value) { this.Website = value; return this; }
public String getTelephone() { return Telephone; }
public CompanyLookupDetails setTelephone(String value) { this.Telephone = value; return this; }
public String getMobile() { return Mobile; }
public CompanyLookupDetails setMobile(String value) { this.Mobile = value; return this; }
public String getEMail() { return EMail; }
public CompanyLookupDetails setEMail(String value) { this.EMail = value; return this; }
public Boolean isDebtorInPossession() { return DebtorInPossession; }
public CompanyLookupDetails setDebtorInPossession(Boolean value) { this.DebtorInPossession = value; return this; }
public Boolean isBankrupt() { return Bankrupt; }
public CompanyLookupDetails setBankrupt(Boolean value) { this.Bankrupt = value; return this; }
public HashMap<String,Object> getExtraFields() { return ExtraFields; }
public CompanyLookupDetails setExtraFields(HashMap<String,Object> value) { this.ExtraFields = value; return this; }
}
}
Java GetCompanyLookupDetails DTOs
To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /api/companies/lookup/{ChamberNr} HTTP/1.1 Host: digiofficeapigateway.deltares.nl Accept: text/csv
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"ChamberNr":"String","ChamberEstablishmentNumber":"String","CompanyLegalName":"String","CompanyTradeName":"String","ChamberCity":"String","ChamberFoundingDate":"0001-01-01T00:00:00.0000000","EstablishmentStreet":"String","EstablishmentHouseNr":"String","EstablishmentHouseNrAddition":"String","EstablishmentPostalCode":"String","EstablishmentCity":"String","EstablishmentCountryTLA":"String","CorrespondencePOBox":"String","CorrespondencePostalCode":"String","CorrespondenceCity":"String","CorrespondenceCountryTLA":"String","Website":"String","Telephone":"String","Mobile":"String","EMail":"String","DebtorInPossession":false,"Bankrupt":false,"ExtraFields":{"String":{}}}