GET /:country/listings/:id

Returns a single listing by ID.

URL Parameters

None.

Response

On success returns HTTP 200 OK with the requested Listing model in the body.

On error returns an Error object.

Example

GET http://api.opendi.de/de/listings/5194891

HTTP 200 OK

{
    "id": "5194891",
    "name": "Opendi AG",
    "address": "40 Müllerstr.",
    "zip": "80469",
    "place": "München",
    "country_code": "DE",
    "latitude": 48.1312973,
    "longitude": 11.5699438,
    "keywords": [
        "White Pages",
        "Yellow Pages",
        "Telephonenumbers",
        "Contacts",
        "Nice People"
    ],
    "description": "A company full of nice people creating internet based white pages and and yellow pages.",
    "emails": [
        {
            "id": "1457387",
            "address": "a.stahl@opendi.com"
        }
    ],
    "phones": [
        {
            "id": "7358891",
            "type": "landline",
            "number": "+498001055105"
        },
        {
            "id": "7364231",
            "type": "landline",
            "number": "+4989189476620"
        },
        {
            "id": "7364232",
            "type": "fax",
            "number": "+4989189476626"
        }
    ],
    "url": "http://muenchen.de-eu-staging.opendi.com/5194891.html",
    "hours": {
        "monday": [
            {
                "start": "09:00:00",
                "end": "17:00:00"
            }
        ],
        "tuesday": [
            {
                "start": "09:00:00",
                "end": "17:00:00"
            }
        ],
        "wednesday": [
            {
                "start": "09:00:00",
                "end": "17:00:00"
            }
        ],
        "thursday": [
            {
                "start": "09:00:00",
                "end": "17:00:00"
            }
        ],
        "friday": [
            {
                "start": "09:00:00",
                "end": "17:00:00"
            }
        ],
        "saturday": [],
        "sunday": []
    },
    "images": [
        {
            "id": "28",
            "type": "logo",
            "url": "http://static.opendi.com/yellow/de/5194891/images/28.jpg",
            "base64": null,
            "caption": "Opendi logo"
        },
        {
            "id": "29",
            "type": "logo",
            "url": "http://static.opendi.com/yellow/de/5194891/images/29.jpg",
            "base64": null,
            "caption": "Opendi logo"
        },
        {
            "id": "34",
            "type": "logo",
            "url": "http://static.opendi.com/yellow/local/de/5194891/images/34.jpg",
            "base64": null,
            "caption": "Opendi logo"
        },
        {
            "id": "36",
            "type": "logo",
            "url": "http://static.opendi.com/yellow/local/de/5194891/images/36.jpg",
            "base64": null,
            "caption": "Opendi logo 2"
        },
        {
            "id": "37",
            "type": "logo",
            "url": "http://static.opendi.com/yellow/local/de/5194891/images/37.jpg",
            "base64": null,
            "caption": "Opendi logo"
        }
    ],
    "links": [
        {
            "id": "1457386",
            "type": "website",
            "url": "www.stadtbranchenbuch.com"
        },
        {
            "id": "1458640",
            "type": "googleplus",
            "url": "https://plus.google.com/118150864364347134043/"
        }
    ],
    "categories": [
        {
            "id": "228",
            "name": "Internetservice"
        }
    ],
    "active": true,
    "contact": {
        "name": "Opendi",
        "surname": "AG",
        "title": "",
        "gender": "U"
    }
}