| GET | /api/companies/lookup/{ChamberNr} |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ChamberNr | path | string | No | |
| ChamberEstablishmentNumber | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ChamberNr | form | string | No | |
| ChamberEstablishmentNumber | form | string | No | |
| CompanyLegalName | form | string | No | |
| CompanyTradeName | form | string | No | |
| ChamberCity | form | string | No | |
| ChamberFoundingDate | form | DateTime? | No | |
| EstablishmentStreet | form | string | No | |
| EstablishmentHouseNr | form | string | No | |
| EstablishmentHouseNrAddition | form | string | No | |
| EstablishmentPostalCode | form | string | No | |
| EstablishmentCity | form | string | No | |
| EstablishmentCountryTLA | form | string | No | |
| CorrespondenceStreet | form | string | No | |
| CorrespondenceHouseNr | form | string | No | |
| CorrespondenceHouseNrAddition | form | string | No | |
| CorrespondencePostalCode | form | string | No | |
| CorrespondenceCity | form | string | No | |
| CorrespondenceCountryTLA | form | string | No | |
| Website | form | string | No | |
| Telephone | form | string | No | |
| Mobile | form | string | No | |
| form | string | No | ||
| DebtorInPossession | form | bool | No | |
| Bankrupt | form | bool | No | |
| ExtraFields | form | Dictionary<string, Object> | No |
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/{ChamberNr} HTTP/1.1
Host: doapigw.baasbv.nl
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
ChamberNr: String,
ChamberEstablishmentNumber: String,
CompanyLegalName: String,
CompanyTradeName: String,
ChamberCity: String,
ChamberFoundingDate: 0001-01-01,
EstablishmentStreet: String,
EstablishmentHouseNr: String,
EstablishmentHouseNrAddition: String,
EstablishmentPostalCode: String,
EstablishmentCity: String,
EstablishmentCountryTLA: String,
CorrespondenceStreet: String,
CorrespondenceHouseNr: String,
CorrespondenceHouseNrAddition: String,
CorrespondencePostalCode: String,
CorrespondenceCity: String,
CorrespondenceCountryTLA: String,
Website: String,
Telephone: String,
Mobile: String,
EMail: String,
DebtorInPossession: False,
Bankrupt: False,
ExtraFields:
{
String: {}
}
}