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 public service office


URL Scheme
/info/office/id

Arguments

name type description default
id int id of the office 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
office array More extented informations about the public service office

Request example

http://api.presseportal.de/api/info/office/6337?api_key=yourapikey
http://api.presseportal.de/api/info/office/69791?api_key=yourapikey&format=json

Response example

<?xml version="1.0" encoding="UTF-8"?>
<response>
    <success>1</success>
    <request>
        <uri>http://presseportal.de/api/info/office/6337</uri>
        <format>xml</format>
        <office>6337</office>
    </request>
    <office>
        <id>6337</id>
        <url>http://www.presseportal.de/polizeipresse/pm/6337/polizei_hamburg/api</url>
        <name>Polizei Hamburg</name>
        <shortname>POL-HH</shortname>
        <rss>http://www.presseportal.de/rss/dienststelle_6337.rss2</rss>
        <logo>http://www.presseportal.de/logo/6337</logo>
        <homepage>www.polizei.hamburg.de</homepage>
    </office>
</response>