Cum te putem ajuta?

Site is offline. Click here for more info.

Exemplu adaugare anunt

Iata un exemplu de anunt adaugat, conform pasilor prezentati anterior,  in categoria Vanzare apartament:

Content-Type: application/json
Accept: application/json
Authorization: Bearer $ACCESS_TOKEN

POST https://ssl.storia.ro/api/open/account/adverts

{
"title": "Apartament 3 camere Unirii",
"description": "<p>Nullam gravida elit in massa ornare blandit. Donec tempor, leo vel facilisis suscipit, massa augue imperdiet nibh, vitae congue nunc velit vel enim. Sed non condimentum leo, eget faucibus nunc. Sed id sem ut leo viverra faucibus vitae et dolor. Nulla sit amet lobortis nisl. Integer dignissim tellus venenatis mi rutrum cursus. Donec vitae placerat tortor. Integer consectetur efficitur libero, et posuere ex maximus id.</p>",
"category_id": 101,
"region_id": 4,
"city_id": 28467,
"coordinates": {
"latitude": 45.67307,
"longitude": 25.31116,
"zoom_level": 13
},
"advertiser_type": "business",
"contact": {
"person": "Popescu Ion"
},
"params": {
"price": {
"0": "price",
"1": 60000,
"currency": "EUR"
},
"m": 41,
"net_area":39,
"price_per_m": 7.91,
"rooms_num": "3",
"market": "primary",

"construction_year":2009
},
"image_collection_id": 546480,
"agent": {
"id": 1346,
"name": "Popescu Ion",
"email": "olxtst@gmail.com",
"phone": "0733555666",
"photo": "https://mysite.ro/agent-image.jpg"
},

"movie":"https://www.youtube.com/watch?v=llDLcC8gHPs",
"external_id":"ad265"
}