GET /:country/listings/map¶
Returns your listing IDs (source_id) together with the corresponding
Opendi IDs, for all listings for which you sent a source_id.
At most 1000 mappings are returned per request.
URL parameters¶
source_id
Optional
|
Only return the mapping for this
source_id. At most 50
characters: letters, digits, _, - and *. * is a
wildcard. |
Response¶
On success returns 200 OK:
numFound |
Number of mappings matching the request. |
numReturned |
Number of mappings returned; less than |
mappings |
Array of Mapping, can be empty. |
If source_id contains invalid characters or is too long, returns
400 Bad Request.
Examples¶
GET https://api.opendi.com/de/listings/map?source_id=warendorf%2A
{
"numFound": 2,
"numReturned": 2,
"mappings": [
{
"source_id": "warendorf-1234333",
"opendi_id": "678865"
},
{
"source_id": "warendorf-1234234",
"opendi_id": "678866"
}
]
}