Jak możemy pomóc?

El sitio está momentánemente fuera de línea.

Dodanie zdjęć do ogłoszenia

POST http://otomoto.fixeads.com/api/open/account/adverts
Authorization Bearer 96102eec5bf584a9e137dbb33f69baa59be28fc4
Accept application/json
Content-Type application/json
JSON
{
"title": "Ogloszenietestowe2",
"description": "OgloszenietestoweOgloszenietestoweOgloszenietestoweOgloszenietestoweopenapii",
"category_id": 29,
"advertiser_type": "business",
"city_id": 17877,
"district_id": 351,
"image_collection_id": 819014765,
"offer_seek": "offer",
"contact": {
"person": "TestAPI",
"phone_numbers": "600000001,600000002"
},
"params": {
"make": "audi",
"model": "a6",
"version": "c7-2011",
"price": {
"0": "price",
"1": "30000",
"currency": "PLN",
"gross_net": "net"
},
"year": 2013,
"body_type": "sedan",
"power": 200,
"mileage": 20000,
"fuel_type": "petrol",
"color": "black"
}
}
RESPONSE
{
"id": 2376,
"user_id": 2009979,
"status": "unpaid",
"title": "Ogloszenietestowe2",
"url": "http://otomoto.fixeads.com/oferta/ogloszenietestowe2-IDCk.html",
"created_at": "2015-06-19 14:35:56",
"valid_to": "2015-07-03 14:35:56",
"description": "OgloszenietestoweOgloszenietestoweOgloszenietestoweOgloszenietestoweopenapii",
"category_id": 29,
"region_id": 2,
"city_id": 17871,
"district_id": 351,
"municipality": "Warszawa",
"city": {
"pl": "Warszawa",
"en": "Warszawa"
},
"district": {
"pl": "Śródmieście",
"en": "Śródmieście"
},
"coordinates": {
"latitude": 52.23474,
"longitude": 21.01522,
"radius": 7,
"zoom_level": 13
},
"advertiser_type": "business",
"contact": {
"person": "TestAPI"
},
"params": {
"make": "audi",
"model": "a6",
"version": "c7-2011",
"year": 2013,
"mileage": 20000,
"fuel_type": "petrol",
"body_type": "sedan",
"color": "black",
"price": {
"0": "price",
"1": 30000,
"currency": "PLN",
"gross_net": "net"
}
},
"last_update_date": "2015-06-19 14:35:56"
}