Get Companies
Retrieving data about companies are done through the GET method.
Details about how to do a GET request to retrieve companies will be described on this page. For a list of available fields in this request can be found on the company reference page.
URL | https://api.recman.no/v2/get/ |
Scope | company |
Fields | See reference page |
Page | Pagenumber, 500 companies per page |
Example | https://api.recman.no/v2/get/?key=YOUR_KEY&scope=company&fields=name |
PHP example on how to retrieve a list of companies
Below you can see how a request can be done with PHP. This script will output the first 500 companies showing only name, and email. Click on the JSON reponse example to view how this script will respond.
php
<?php
$key = "YOUR KEY";
$scope = "company";
$fields = "name,email";
$page = 1;
$url = "https://api.recman.no/v2/get/";
$url .= "?key=$key&scope=$scope&fields=$fields&page=$page";
$response = file_get_contents($url);
print_r($response);
View JSON example
JSON
{
"success": true,
"numRows": 2,
"data": {
"306731": {
"companyId": "306731",
"name": "Recruitment Manager",
"email": "support@recman.no"
},
"350272": {
"companyId": "350272",
"name": "Jobreg AS",
"email": "support@jobreg.no"
},
}
}