Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- getParkingsPantry() => // ответ с данными по каждому корпусу
- request: {
- "short": true
- }
- response: [{
- "housing": 7,
- "parkings": 456,
- "pantries": 5430,
- "salesStart": "2, 2018"
- }, {
- "housing": 8,
- "parkings": 456,
- "pantries": 5430,
- "salesStart": "2, 2018"
- }]
- ================================
- request: {} // без аргументов, список всех парковок, кладовых
- response: [{
- "id": "1312323", // id по которому можно будет сделать запрос в getParkingById/getPantryById и будет являться урлом
- "type": 0, // 0 - парковочное место, 1 - кладовая
- "status": 4, // 4 и 8 свободно, Остальные - продано,
- "number": "537",
- "level": "-1",
- "housing": 7,
- "area": "12",
- "fullPrice": 428400,
- }, {
- "id": "1312324",
- "type": 1,
- "status": 4, // 4 и 8 свободно, Остальные - продано,
- "number": "537",
- "level": "-2",
- "housing": 7,
- "area": "12",
- "fullPrice": 428400,
- }]
- getParkingById() =>
- request: {
- "id": 138
- }
- response: {
- "area": 56,
- "size": [5, 2.5], // length, width
- "housing": 8,
- "fullPrice": 35428400,
- "pdfURL": "http://document.pdf",
- "preview": "http://image.jpg",
- "salesStart": "1, 2017",
- "number": 355,
- "specialOffers": [{
- "text": "До конца апреля скидка 18 % на все квартиры и апартаменты",
- "icon": "percent"
- }],
- }
- getPantryById() =>
- request: {
- "id": 138
- }
- response: {
- "area": 5,
- "housing": 8,
- "fullPrice": 248400,
- "pdfURL": "http://document.pdf",
- "preview": "http://image.jpg",
- "pricePerMeter": 130445,
- "salesStart": "1, 2017",
- "number": 355,
- "specialOffers": [{
- "text": "До конца апреля скидка 18 % на все квартиры и апартаменты",
- "icon": "percent"
- }],
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement