The Company Search service can be used for searching for companies.
The search can be made on any combination of the following parameters:
Apart from this input the mandatory SOAP headers toCountry, fromCountry and language must be set in all requests as well as login information. The optional header includeEmptyFields can be used to specify that all fields should be returned for all companies in the response. If a particular company does not have any data in a specific field then an empty field will be returned.
The Company Search service returns zero to 50 company elements. If the search results in more than 50 hits then a “TooManyHitsException”, error code 201 will be returned. If no companies are found then a “NoHits”, error code 200, will be returned.
- https://www.bisgateway.com/brg/services/NRGCompanySearch?wsdl - production environment
In order to use the API you must have a valid environment-specific user and customer ID's. All API requests must be made over HTTPS.REQUEST THE USER AND CUSTOMER ID'S
Simple API request example
<?xml version="1.0" encoding="UTF-8" ?> <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:request="http://www.dnbnordic.com/brg/NRGCompanySearch/request" xmlns:brg="http://www.dnbnordic.com/brg"> <SOAP-ENV:Header> <brg:customerCode>BJA8</brg:customerCode> <brg:customerCodeOwner>XXXX</brg:customerCodeOwner> <brg:userId>DPFI</brg:userId> <brg:userPassword>XXXX</brg:userPassword> <request:language>fi</request:language> <request:toCountry>fi</request:toCountry> <request:fromCountry>fi</request:fromCountry> </SOAP-ENV:Header> <SOAP-ENV:Body> <request:nRGCompanySearchRequest> <request:criteria> <request:companyName>Cb Sun Place KB /Test</request:companyName> </request:criteria> </request:nRGCompanySearchRequest> </SOAP-ENV:Body> </SOAP-ENV:Envelope>Tulosta