Documentation
ACHTUNG: Bitte berücksichtigen Sie, dass die Inhalte, die Sie via API beziehen und veröffentlichen, mit den Originalmeldungen im Presseportal verlinkt werden müssen. (Mehr)
Informations about a specific company
- URL Scheme
- /info/company/id
Arguments
| name | type | description | default |
|---|---|---|---|
| id | int | id of the company | required |
URL Parameters
| name | type | description | default |
|---|---|---|---|
| api_key | string | your api_key | required |
| format | string | output format xml/json | xml |
Response
| name | type | description |
|---|---|---|
| success | int | successful request 1/0 |
| error | array | if error was not successfull, ths node contains error code and error msg |
| request | array | information about the request, when successfull |
| company | array | More extented informations about the company |
Request example
http://api.presseportal.de/api/info/company/31522?api_key=yourapikey http://api.presseportal.de/api/info/company/6344?api_key=yourapikey&format=json http://api.presseportal.ch/api/info/company/100000148?api_key=yourapikey
Response example
<?xml version="1.0" encoding="UTF-8"?>
<response>
<success>1</success>
<request>
<uri>http://presseportal.de/api/info/company/31522
<format>xml</format>
<company>31522</company>
</request>
<company>
<id>31522</id>
<url>http://www.presseportal.de/pm/31522/fraport_ag/api</url>
<name>Fraport AG</name>
<shortname>Fraport_AG</shortname>
<rss>http://www.presseportal.de/rss/pm_31522.rss2</rss>
<logo>http://www.presseportal.de/logo/31522</logo>
<isin>DE0005773303</isin>
<wkn>577330</wkn>
<homepage>http://www.fraport.de</homepage>
<web>
<link>
<title>FRA Airport City</title>
<url>http://www.airportcity-frankfurt.de/cms/default/rubrik/9/9347.htm</url>
</link>
<link>
<title>Flughafenausbau</title>
<url>http://www.ausbau.fraport.de/cms/default/rubrik/2/2133.htm</url>
</link>
<link>
<title>Nachhaltigkeit</title>
<url>http://www.fraport.de/cms/nachhaltigkeit/rubrik/21/21881.nachhaltigkeit.htm</url>
</link>
</web>
</company>
</response>
