| GET | /api/companies/lookup |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ChamberNr | query | string | No | |
| TradeName | query | string | No | |
| City | query | string | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| Results | form | List<CompanyLookupEntry> | No | |
| PagingResultsInfo | form | PagingResultsInfo | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| ChamberNr | form | string | No | |
| ChamberEstablishmentNumber | form | string | No | |
| LegalName | form | string | No | |
| TradeName | form | string | No | |
| MatchType | form | string | No | |
| EstablishmentCity | form | string | No | |
| EstablishmentStreet | form | string | No | |
| CorrespondenceCity | form | string | No | |
| CorrespondenceStreet | form | string | No | |
| IndicationMainEstablishment | form | bool? | No |
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| CurrentPage | form | int | No | |
| MaxResultsPerPage | form | int | No | |
| NumberOfPages | form | int | No | |
| NumberOfResults | form | int | No | |
| MaximumResults | form | int | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
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/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
{"Results":[],"PagingResultsInfo":{"CurrentPage":0,"MaxResultsPerPage":0,"NumberOfPages":0,"NumberOfResults":0,"MaximumResults":0}}