Documentación API Impulso Raíz

Autenticación

Get access token

Request

Method URL
POST https://impulsoraiz.com/api/public/users/token

Content-Type: application/json

Authorization: Bearer {authentication_token}

Parámetros

username String
password String

Ejemplo de entrada:

{
"username": "user@dominio.co",
"password": "2019@secret"
}

Responses

Content-Type: application/json

HTTP Status Codes

200 HTTP_OK
Se retornan las credenciales del usuario

500 HTTP_INTERNAL_SERVER_ERROR
Error inesperado en el servidor, en caso de responder con este código de estado por favor contactar con el área de soporte.

Ejemplo de salida:

{
"token_type": "Bearer",
"expires_in": 31622400,
"access_token": "eyJ0eXAiOiJKV1QiSiudidnDNDK7883I6ImIxMGRiMDg0MGVmZGY3NTAzZGE0NGRmYzkzNWNjZDRiNzlhN2E5YmIzHJjklknNJKNzgxMGVkMmI1Mzc2Y2I0ZDBlNzgyNDIzZTI5NTkwMDM5In0.eyJhdWQiOiIyIiwianRpIjoiYjEwZGIwODQwZWZkZjc1MDNkYTQ0ZGZjOTM1Y2NkNGI3OWE3YTliYjNiOTUxY2VjODEwZWQyYjUzNzZjYjRkMGU3ODI0MjNlMjk1OTAwMzkiLCJpYXQiOjE1NzI1Mzg2MjcsIm5iZiI6MTU3MjUzODYyNywiZXhwIjoxNjA0MTYxMDI3LCJzdWIiOiIzIiwic2NvcGVzIjpbXX0.JMw8jDYPbcwPT8u87nPh-nw69yAQ3OdvgZsh71GPa4zuj9a08bkT3rM-BxrqPGDyADgerFiIxwPbNHMIgPdT95bGBDoWwlEsEl0pU9TB1ICq2Ia7-OHiSfS_6SnEIa6Af2J9pM_9xVqV78LZJAcKWV0ECwBNPMZLi0HalHy1RucnXpqMP34pVL_k23DatmVonXiCxn7DDls2dL1n_PcwCkJWsxNk-QM6qtfjKC5os4Qn9HqMjO2Y16cXVDkjfktD_iQiyLCWk7RRfwZeRDRRjoDsEJUXq9t2loKV21wDVWg9iJ9zI8JYIQ-nlNItEJDPm8c5w8sm8RStgdTOU6vPTRNhMaJkh9IpAwSz5w2IFEOujgsjxIAVe0KcBz50mHJsoiSOIj323SsGH9DxEiQaX-TMga9l2v7nMz6_6IctTxdF6QNZ6po5BJ9MJScBMFwZb1kPmxtmt3nMNQ_6NUus6Jp3RExtnUAJOdm5xFleubsyryIhw7gwtbP0GapDq7iQvksxFm9w5PJzzR1iv-_Z2kuN9XoI4gX1LRF0cmugg_vWJda14sL_h6I8fVxUE4lDLltC8OpcS4c4LnKZfOaZddN53vttq7AQvPjsJmbp2fAiDnekT_J7Yy4kpV3_5UcdCfrycKFVOGJJHJDNSJjkrVzmi4ljFl7BjEXEcD8thICT13UfE",
"refresh_token": "def5020059be23229c5de4cdc8a97fJSjksjkSKJSjkSJ346169d05c1b65d97fb7c621e503eff4c3dbddd57aa95053ce0fdb74d8129d49b2a20fc60902778cc15ae9104a05ba38087257a6c346f95712c47ea326637ef71e2d5de6d72e4a17db116b7fcd5a2b0240d3ad8ed44769584a2ee955dee767e3b360f264ce1d6badc0ddd30f6daf0a241a86fbb5e08577d2977a9eef6f9279ad63d131c11ac29fbe38affdebf980312760bc24b34a1b95e6ecffa286205b4ae638626d2ab789af03f886e27e0b05a2cca15e424ad82c2c6cd873e2041d0d1fbd9402135775dad9116c060e12814bfdd1f5d01f2e22da179c0099b30e20cd60ff5c6f08682716a4cae5da206f9d0cb9803a9095128e74bf0472b8e0bfbe12eed2d2566d2441ac272aafcbd2db3333d42e3a546e1f117048c2ad7ed3aa54bd7e2a84ff6cc5c471976b91765b615ac25c30a7003ca5ade573f11d2cf5e650519324ba0"
}

Propiedades

Get Properties

Request

Method URL
GET https://impulsoraiz.com/api/properties

Content-Type: application/json
Authorization: Bearer {authentication_token}

Parámetros

page Integer
take Integer, x ∈ [1, 100]

Filtros

type_id Integer
for_id Integer
location_id Integer
location_name String
sector_id Integer
sector_name String
sale_price_from Double
sale_price_to Double
min_rooms Integer
min_baths Integer
min_parkings Integer
min_livings Integer
floors Integer
unit_of_area_id Integer, x ∈ {1, 2, 3}
area_from Double
area_to Double
built_area_from Double
built_area_to Double
antiquity_id Integer, x ∈ {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}
status_id Integer, x ∈ {1, 2, 3, 4}
code String
comments String
admin_comments String
for_id Integer, x ∈ [1, 100]
has_image Integer, x ∈ {1, 0}
filed Integer, x ∈ {1, 0}
publish Integer, x ∈ {1, 0}
for_id Integer, x ∈ [1, 100]
sharing Integer, x ∈ {1, 0}
property_registration String
owner_id Integer
consultant_id Integer

Ejemplo de entrada:

https://impulsoraiz.com/api/properties?page=1&take=10&has_image=1&unit_of_area=2&area_from=2 

Ejemplo de salida:

{
           “data”: [
               {
                   “id”: 1,
                   “code”: “74A15”,
                   “type”: {
                       “id”: 10,
                       “description”: “Lote en parcelación”
                   },
                   “for”: {
                       “id”: 1,
                       “description”: “venta”
                   },
                   “location”: {
                       “id”: 85,
                       “name”: “Rionegro (Antioquia)”
                   },
                   “sector”: {
                       “id”: 107,
                       “name”: “Vía San Antonio – La Ceja”
                   },
                   “address”: “Vereda El Capiro”,
                   “stratum”: 3,
                   “longitude”: null,
                   “latitude”: null,
                   “sale_price”: 850000000,
                   “rent_price”: null,
                   “area”: 3500,
                   “built_area”: null,
                   “unit_of_area”: {
                       “id”: 1,
                       “description”: “m2”
                   },
                   “baths”: null,
                   “rooms”: null,
                   “livings”: null,
                   “floors”: null,
                   “parkings”: null,
                   “antiquity”: null,
                   “administration_fee”: null,
                   “comments”: “Lote en venta, con vías pavimentadas e iluminadas.”,
                   “en_coments”: null,
                   “main_image_url”: “17030719480314889160835300.jpg”,
                   “main_image_url_small”: null,
                   “video_url”: null,
                   “publish”: null,
                   “sharing”: null,
                   “status”: {
                       “id”: 2,
                       “description”: “No disponible”
                   },
                   “owner_id”: 35,
                   “consultant_id”: 1,
                   “created_at”: “2017-03-06 00:00:00”,
                   “updated_at”: null,
                   “shared_property”: null,
                   “appropiate_property_id”: null
               },
               {
                   “id”: 2,
                   “code”: “74A16”,
                   “type”: {
                       “id”: 10,
                       “description”: “Lote en parcelación”
                   },
                   “for”: {
                       “id”: 1,
                       “description”: “venta”
                   },
                   “location”: {
                       “id”: 85,
                       “name”: “Rionegro (Antioquia)”
                   },
                   “sector”: {
                       “id”: 80,
                       “name”: “Llanogrande”
                   },
                   “address”: “Cerca al Club de Llanogrande.”,
                   “stratum”: 6,
                   “longitude”: null,
                   “latitude”: null,
                   “sale_price”: 800000000,
                   “rent_price”: null,
                   “area”: 2845,
                   “built_area”: null,
                   “unit_of_area”: {
                       “id”: 1,
                       “description”: “m2”
                   },
                   “baths”: null,
                   “rooms”: null,
                   “livings”: null,
                   “floors”: null,
                   “parkings”: null,
                   “antiquity”: null,
                   “administration_fee”: 420000,
                   “coments”: “Lote en exclusiva parcelación, vista a la montaña.”,
                   “en_coments”: null,
                   “main_image_url”: “17030719591014889167500982.jpg”,
                   “main_image_url_small”: null,
                   “video_url”: null,
                   “publish”: 1,
                   “sharing”: 1,
                   “status”: {
                       “id”: 1,
                       “description”: “Disponible”
                   },
                   “owner_id”: 18,
                   “consultant_id”: 1,
                   “created_at”: “2017-03-06 00:00:00”,
                   “updated_at”: null,
                   “shared_property”: null,
                   “appropiate_property_id”: “96927”
               }
           ],
           “from”: 1,
           “to”: 2,
           “per_page”: 2,
           “current_page”: 1,
           “last_page”: 590,
           “total”: 1179
       }

Get one property

Request

Method URL
POST                     https://impulsoraiz.com/api/properties/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de salida:

        {
            “id”: 1188,
            “code”: “10A1188”,
            “type”: {
                “id”: 1,
                “description”: “Casa”
            },
            “for”: {
                “id”: 1,
                “description”: “venta”
            },
            “location”: {
                “id”: 45,
                “name”: “El Retiro (Antioquia)”
            },
            “sector”: {
                “id”: 3,
                “name”: “Don Diego”
            },
            “address”: “Vía Las Palmas”,
            “stratum”: 6,
            “longitude”: “-75.48028”,
            “latitude”: “6.0964116”,
            “price”: 1200000000,
            “area”: 2000,
            “built_area”: 250,
            “unit_of_area”: {
                “id”: 1,
                “description”: “m2”
            },
            “baths”: 4,
            “rooms”: 6,
            “livings”: 2,
            “floors”: 1,
            “parkings”: 3,
            “antiquity”: {
                “id”: 1,
                “description”: “Para estrenar”
            },
            “internal_details”: [
                {
                    “id”: 1,
                    “descripcion”: “Cocina Integral”
                },
                {
                    “id”: 2,
                    “descripcion”: “Servicios públicos”
                },
                {
                    “id”: 3,
                    “descripcion”: “Aire acondicionado”
                },
                {
                    “id”: 4,
                    “descripcion”: “Chimenea”
                },
                {
                    “id”: 5,
                    “descripcion”: “Zona de lavandería”
                },
                {
                    “id”: 6,
                    “descripcion”: “Alarma”
                },
                {
                    “id”: 7,
                    “descripcion”: “Baño en habitación principal”
                }
            ],
            “external_details”: [
                {
                    “id”: 1,
                    “descripcion”: “Parqueadero cubierto”
                },
                {
                    “id”: 2,
                    “descripcion”: “Vigilancia privada”
                },
                {
                    “id”: 10,
                    “descripcion”: “Área social”
                },
                {
                    “id”: 12,
                    “descripcion”: “BBQ”
                },
                {
                    “id”: 18,
                    “descripcion”: “Piscina”
                }
            ],
            “sector_details”: [
                {
                    “id”: 1,
                    “descripcion”: “Trans. público cercano”
                },
                {
                    “id”: 2,
                    “descripcion”: “Colegios/Universidad cerca”
                }
            ],
            “administration_fee”: 250000,
            “cadastral_valuation”: 650000000,
            “comercial_valuation”: 1200000000,
            “property_tax”: 1800000,
            “coments”: “Casa en excelente sector con buena zona verde y muy buenos acabados.”,
            “en_coments”: null,
            “private_admin_coments”: null,
            “property_registration”: “45567238273”,
            “main_image_url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-959022352.png”,
            “video_url”: null,
            “normal_images”: [
                {
                    “id”: 15996,
                    “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-431484124.png”,
                    “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-431484124.png”,
                    “position”: 1
                },
                {
                    “id”: 15997,
                    “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-959131529.png”,
                    “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-959131529.png”,
                    “position”: 2
                },
                {
                    “id”: 15998,
                    “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-592823036.png”,
                    “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-592823036.png”,
                    “position”: 3
                },
                {
                    “id”: 15999,
                    “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-1789117920.png”,
                    “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-1789117920.png”,
                    “position”: 4
                },
                {
                    “id”: 16000,
                    “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-661879181.png”,
                    “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-661879181.png”,
                    “position”: 5
                },
                {
                    “id”: 16001,
                    “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-1085426307.png”,
                    “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-1085426307.png”,
                    “position”: 6
                },
                {
                    “id”: 16002,
                    “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-251822296.png”,
                    “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-251822296.png”,
                    “position”: 7
                }
            ],
            “panoramic_images”: [],
            “spherical_images”: [
                {
                    “id”: 15995,
                    “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-959022352.png”,
                    “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-959022352.png”,
                    “position”: 1
                }
            ],
            “publish”: 0,
            “sharing”: 0,
            “has_been_shared”: 0,
            “status”: {
                “id”: 1,
                “description”: 1
            },
            “owner”: {
                “id”: 1,
                “name”: “Propietario Apellido”,
                “email”: “propietario@propietario.com”,
                “document”: null,
                “phone1”: “3500550505”,
                “phone2”: “3500550505”
            },
            “consultant”: {
                “id”: 1,
                “name”: “Asesor Inmobiliaria”,
                “phone”: 3500550505,
                “email”: “asesor@inmobiliaria.com”
            },
            “comission”: 3,
            “created_at”: “2018-12-04”,
            “updated_at”: “2018-12-04 21:31:55”,
            “filed_at”: null,
            “shared_property”: null
        }

Save property

Request

Method URL
POST https://impulsoraiz.com/api/properties

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de entrada:

{
            "type_id": 1,
            "for_id": 1,
            "location_id": 45,
            "sector_id": 3,
            "address": "Vía las palmas",
            "stratum": 6,
            "latitude": "6.0964116",
            "longitude": "-75.48028",
            "sale_price": 1200000000,
            "rent_price": null,
            "area": 2000,
            "built_area": 250,
            "unit_of_area_id": 1,
            "baths": 4,
            "rooms": 6,
            "livings": 2,
            "floors": 1,
            "parkings": 3,
            "antiquity": 1,
            "administration_fee": 250000,
            "cadastral_valuation": 650000000,
            "comercial_valuation": 1200000000,
            "property_tax": 1800000,
            "coments": "Casa en excelente sector con buena zona verde y muy buenos acabados. Para estrenar.",
            "en_coments": null,
            "private_admin_coments": null,
            "property_registration": "45567238273",
            "video_url": null,
            "status_id": 1,
            "owner_id": 1,
            "consultant_id": 1,
            "comission": 3,
            "internal_detail_ids": [1, 2, 3, 4, 5, 6, 7],
            "external_detail_ids": [1, 2, 10, 12, 18],
            "sector_detail_ids": [1, 2],
            "normal_images": [
                {
                    "url": "https://s3-us-west-2.amazonaws.com/inmobiliarias/24/images/properties/890/large/753144442ab64a0fde719f94e9dece9b1dc09c492.png",
                    "position": 1
                },
                {
                    "url": "https://s3-us-west-2.amazonaws.com/inmobiliarias/24/images/properties/890/large/442982850e9dcd881bfdacd40c9c004ffcfb3105d.png",
                    "position": 2
                },
                {
                    "url": "https://s3-us-west-2.amazonaws.com/inmobiliarias/24/images/properties/890/large/34625255e9dcd881bfdacd40c9c004ffcfb3105d.png",
                    "position": 3
                },
                {
                    "url": "https://s3-us-west-2.amazonaws.com/inmobiliarias/24/images/properties/890/large/1699368531e9dcd881bfdacd40c9c004ffcfb3105d.png",
                    "position": 4
                },
                {
                    "url": "https://s3-us-west-2.amazonaws.com/inmobiliarias/24/images/properties/890/large/1041623700ab64a0fde719f94e9dece9b1dc09c492.png",
                    "position": 5
                },
                {
                    "url": "https://s3-us-west-2.amazonaws.com/inmobiliarias/24/images/properties/890/large/1564872364ab64a0fde719f94e9dece9b1dc09c492.png",
                    "position": 6
                },
                {
                    "url": "https://s3-us-west-2.amazonaws.com/inmobiliarias/17/images/properties/221/large/189069787043bb04b97fe7ddb364f41252e3e0970e.png",
                    "position": 7
                }
            ],
            "spherical_images_base64": [
                {
                    "base64": "data:image/jpeg;base64,/9j/base64incompleto/AMvXhq15/GLc/TeP/VQvnw/+3P8A5RXDLCf/ALZf8hSodBv7Tc/jhiP/ADt/jUhqcY62sZ+rGlxaDPNzJ+Qrwa2H/wBsSfpRQUf/2Q==",
                    "position": 1
                }
            ]
        }    

Ejemplo de salida:

{
            "data": {
                "id": 1188,
                "code": "10A1188",
                "type": {
                    "id": 1,
                    "description": "Casa"
                },
                "for": {
                    "id": 1,
                    "description": "venta"
                },
                "location": {
                    "id": 45,
                    "name": "El Retiro (Antioquia)"
                },
                "sector": {
                    "id": 3,
                    "name": "Don Diego"
                },
                "address": "Vía las palmas",
                "stratum": 6,
                "longitude": "-75.48028",
                "latitude": "6.0964116",
                "sale_price": 1200000000,
                "rent_price": null,
                "area": 2000,
                "built_area": 250,
                "unit_of_area": {
                    "id": 1,
                    "description": "m2"
                },
                "baths": 4,
                "rooms": 6,
                "livings": 2,
                "floors": 1,
                "parkings": 3,
                "antiquity": {
                    "id": 1,
                    "description": "Para estrenar"
                },
                "internal_details": [
                    {
                        "id": 1,
                        "descripcion": "Cocina Integral"
                    },
                    {
                        "id": 2,
                        "descripcion": "Servicios públicos"
                    },
                    {
                        "id": 3,
                        "descripcion": "Aire acondicionado"
                    },
                    {
                        "id": 4,
                        "descripcion": "Chimenea"
                    },
                    {
                        "id": 5,
                        "descripcion": "Zona de lavandería"
                    },
                    {
                        "id": 6,
                        "descripcion": "Alarma"
                    },
                    {
                        "id": 7,
                        "descripcion": "Baño en habitación principal"
                    }
                ],
                "external_details": [
                    {
                        "id": 1,
                        "descripcion": "Parqueadero cubierto"
                    },
                    {
                        "id": 2,
                        "descripcion": "Vigilancia privada"
                    },
                    {
                        "id": 10,
                        "descripcion": "Área social"
                    },
                    {
                        "id": 12,
                        "descripcion": "BBQ"
                    },
                    {
                        "id": 18,
                        "descripcion": "Piscina"
                    }
                ],
                "sector_details": [
                    {
                        "id": 1,
                        "descripcion": "Trans. público cercano"
                    },
                    {
                        "id": 2,
                        "descripcion": "Colegios/Universidad cerca"
                    }
                ],
                "administration_fee": 250000,
                "cadastral_valuation": 650000000,
                "comercial_valuation": 1200000000,
                "property_tax": 1800000,
                "coments": "Casa en excelente sector con buena zona verde y muy buenos acabados. Para estrenar.",
                "en_coments": null,
                "private_admin_coments": null,
                "property_registration": "45567238273",
                "main_image_url": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-959022352.png",
                "video_url": null,
                "normal_images": [
                    {
                        "id": 15996,
                        "url": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-431484124.png",
                        "url_small": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-431484124.png",
                        "position": 1
                    },
                    {
                        "id": 15997,
                        "url": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-959131529.png",
                        "url_small": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-959131529.png",
                        "position": 2
                    },
                    {
                        "id": 15998,
                        "url": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-592823036.png",
                        "url_small": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-592823036.png",
                        "position": 3
                    },
                    {
                        "id": 15999,
                        "url": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-1789117920.png",
                        "url_small": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-1789117920.png",
                        "position": 4
                    },
                    {
                        "id": 16000,
                        "url": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-661879181.png",
                        "url_small": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-661879181.png",
                        "position": 5
                    },
                    {
                        "id": 16001,
                        "url": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-1085426307.png",
                        "url_small": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-1085426307.png",
                        "position": 6
                    },
                    {
                        "id": 16002,
                        "url": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-251822296.png",
                        "url_small": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-251822296.png",
                        "position": 7
                    }
                ],
                "panoramic_images": [],
                "spherical_images": [
                    {
                        "id": 15995,
                        "url": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-959022352.png",
                        "url_small": "https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-959022352.png",
                        "position": 1
                    }
                ],
                "publish": 0,
                "sharing": 0,
                "has_been_shared": 0,
                "status": {
                    "id": 1,
                    "description": 1
                },
                "owner": {
                    "id": 1,
                    "name": "Alejandra Pelaez",
                    "email": "alejadra.p@insumitec.com",
                    "document": null,
                    "phone1": "3146805225",
                    "phone2": "3122882976"
                },
                "consultant": {
                    "id": 1,
                    "name": "Ines Elvira Velez T",
                    "phone": 3145484397,
                    "email": "ineselviravelezt@gmail.com"
                },
                "comission": 3,
                "created_at": "2018-12-04",
                "updated_at": "2018-12-04 21:31:55",
                "filed_at": null,
                "shared_property": null
            },
            "messages": [
                "La propiedad se creó."
            ]
        }

Update property

Request

Method URL
PUT https://impulsoraiz.com/api/properties/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de entrada:

 {
            “type_id”: 1,
            “for_id”: 1,
            “location_id”: 45,
            “sector_id”: 3,
            “address”: “Vía Las Palmas”,
            “stratum”: 6,
            “latitude”: “6.0964118”,
            “longitude”: “-75.48029”,
            “sale_price”: 1200000000,
            “rent_price”: null,
            “area”: 2000,
            “built_area”: 250,
            “unit_of_area_id”: 1,
            “baths”: 4,
            “rooms”: 6,
            “livings”: 2,
            “floors”: 1,
            “parkings”: 3,
            “antiquity”: 1,
            “administration_fee”: 250000,
            “cadastral_valuation”: 650000000,
            “comercial_valuation”: 1200000000,
            “property_tax”: 1800000,
            “coments”: “Casa en excelente sector con buena zona verde y muy buenos acabados", 
            “en_coments”: null,
            “private_admin_coments”: null,
            “property_registration”: “45569238273”,
            “video_url”: null,
            “publish”: 0,
            “sharing”: 0,
            “status”: 1,
            “owner_id”: 1,
            “consultant_id”: 1,
            “comission”: 3,
            “internal_detail_ids”: [1, 2, 3, 4, 5, 6, 7],
            “external_detail_ids”: [1, 2, 10, 12, 18],
            “sector_detail_ids”: [1, 2],
            “normal_images”: [],
            “panoramic_images”: [],
            “spherical_images”: [],
         }

Ejemplo de salida:

        {
            “data”: {
                “id”: 1188,
                “code”: “10A1188”,
                “type”: {
                    “id”: 1,
                    “description”: “Casa”
                },
                “for”: {
                    “id”: 1,
                    “description”: “venta”
                },
                “location”: {
                    “id”: 45,
                    “name”: “El Retiro (Antioquia)”
                },
                “sector”: {
                    “id”: 3,
                    “name”: “Don Diego”
                },
                “address”: “Vía Las Palmas”,
                “stratum”: 6,
                “longitude”: “-75.48024”,
                “latitude”: “6.0964115”,
                “sale_price”: 1200000000,
                “rent_price”: null,
                “area”: 2000,
                “built_area”: 250,
                “unit_of_area”: {
                    “id”: 1,
                    “description”: “m2”
                },
                “baths”: 4,
                “rooms”: 6,
                “livings”: 2,
                “floors”: 1,
                “parkings”: 3,
                “antiquity”: {
                    “id”: 1,
                    “description”: “Para estrenar”
                },
                “internal_details”: [
                    {
                        “id”: 1,
                        “descripcion”: “Cocina Integral”
                    },
                    {
                        “id”: 2,
                        “descripcion”: “Servicios públicos”
                    },
                    {
                        “id”: 3,
                        “descripcion”: “Aire acondicionado”
                    },
                    {
                        “id”: 4,
                        “descripcion”: “Chimenea”
                    },
                    {
                        “id”: 5,
                        “descripcion”: “Zona de lavandería”
                    },
                    {
                        “id”: 6,
                        “descripcion”: “Alarma”
                    },
                    {
                        “id”: 7,
                        “descripcion”: “Baño en habitación principal”
                    }
                ],
                “external_details”: [
                    {
                        “id”: 1,
                        “descripcion”: “Parqueadero cubierto”
                    },
                    {
                        “id”: 2,
                        “descripcion”: “Vigilancia privada”
                    },
                    {
                        “id”: 10,
                        “descripcion”: “Área social”
                    },
                    {
                        “id”: 12,
                        “descripcion”: “BBQ”
                    },
                    {
                        “id”: 18,
                        “descripcion”: “Piscina”
                    }
                ],
                “sector_details”: [
                    {
                        “id”: 1,
                        “descripcion”: “Trans. público cercano”
                    },
                    {
                        “id”: 2,
                        “descripcion”: “Colegios/Universidad cerca”
                    }
                ],
                “administration_fee”: 250000,
                “cadastral_valuation”: 650000000,
                “comercial_valuation”: 1200000000,
                “property_tax”: 1800000,
                “coments”: “Casa en excelente sector con buena zona verde y muy buenos acabados.”,
                “en_coments”: null,
                “private_admin_coments”: null,
                “property_registration”: “45567238277”,
                “main_image_url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-959022352.png”,
                “video_url”: null,
                “normal_images”: [
                    {
                        “id”: 15996,
                        “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-431484124.png”,
                        “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-431484124.png”,
                        “position”: 1
                    },
                    {
                        “id”: 15997,
                        “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-959131529.png”,
                        “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-959131529.png”,
                        “position”: 2
                    },
                    {
                        “id”: 15998,
                        “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-592823036.png”,
                        “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-592823036.png”,
                        “position”: 3
                    },
                    {
                        “id”: 15999,
                        “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-1789117920.png”,
                        “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-1789117920.png”,
                        “position”: 4
                    },
                    {
                        “id”: 16000,
                        “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-661879181.png”,
                        “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-661879181.png”,
                        “position”: 5
                    },
                    {
                        “id”: 16001,
                        “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-1085426307.png”,
                        “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-1085426307.png”,
                        “position”: 6
                    },
                    {
                        “id”: 16002,
                        “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-251822296.png”,
                        “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-251822296.png”,
                        “position”: 7
                    }
                ],
                “panoramic_images”: [],
                “spherical_images”: [
                    {
                        “id”: 15995,
                        “url”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/large/casa-en-venta-el-retiro-antioquia-959022352.png”,
                        “url_small”: “https://impulso-dev.s3-us-west-2.amazonaws.com/24/images/properties/1188/small/casa-en-venta-el-retiro-antioquia-959022352.png”,
                        “position”: 1
                    }
                ],
                “publish”: 0,
                “sharing”: 0,
                “has_been_shared”: 0,
                “status”: {
                    “id”: 1,
                    “description”: 1
                },
                “owner”: {
                    “id”: 1,
                    “name”: “Alejandra Pelaez”,
                    “email”: “alejadra.p@insumitec.com”,
                    “document”: null,
                    “phone1”: “3146806225”,
                    “phone2”: “3122883976”
               
                “comission”: 3,
                “created_at”: “2018-12-04”,
                “updated_at”: “2018-12-04 21:31:55”,
                “filed_at”: null,
                “shared_property”: null
            },
            “messages”: [
                “La propiedad se creó.”
            ]
        }

File property

Method URL
PATCH https://impulsoraiz.com/api/properties/{id}/file

Content-Type: application/json
Authorization: Bearer {authentication_token}

Restore property

Method URL
PATCH https://impulsoraiz.com/api/properties/{id}/restore

Content-Type: application/json
Authorization: Bearer {authentication_token}

Delete property

Method URL
DELETE https://impulsoraiz.com/api/properties/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}

Publicar propiedad / Quitar publicación de una propiedad

Method URL
PATCH https://impulsoraiz.com/api/properties/{id}/switch-publish-status

Content-Type: application/json
Authorization: Bearer {authentication_token}

Compartir propiedad / Dejar de compartir una propiedad

Method URL
PATCH https://impulsoraiz.com/api/properties/{id}/switch-sharing-status

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ubicaciones

Get locations

Method URL
GET https://impulsoraiz.com/api/locations

Content-Type: application/json

Authorization: Bearer {authentication_token}

Parámetros

page Integer
take Integer, x ∈ [1, 100]

Filtros

name String
state_id Integer
state_name String
country_id Integer
country_name String

Ejemplo de entrada:

 https://impulsoraiz.com/api/locations?page=1&take=5

Ejemplo de salida:

        {
            “data”: [
                {
                    “id”: 1,
                    “name”: “Abejorral (Antioquia)”,
                    “state_id”: 1,
                    “state_name”: “Antioquia”,
                    “country_id”: 1,
                    “country_name”: “Colombia”
                },
                {
                    “id”: 2,
                    “name”: “Abriaquí (Antioquia)”,
                    “state_id”: 1,
                    “state_name”: “Antioquia”,
                    “country_id”: 1,
                    “country_name”: “Colombia”
                },
                {
                    “id”: 3,
                    “name”: “Alejandría (Antioquia)”,
                    “state_id”: 1,
                    “state_name”: “Antioquia”,
                    “country_id”: 1,
                    “country_name”: “Colombia”
                },
                {
                    “id”: 4,
                    “name”: “Amagá (Antioquia)”,
                    “state_id”: 1,
                    “state_name”: “Antioquia”,
                    “country_id”: 1,
                    “country_name”: “Colombia”
                },
                {
                    “id”: 5,
                    “name”: “Amalfi (Antioquia)”,
                    “state_id”: 1,
                    “state_name”: “Antioquia”,
                    “country_id”: 1,
                    “country_name”: “Colombia”
                }
            ],
            “from”: 1,
            “to”: 5,
            “per_page”: 5,
            “current_page”: 1,
            “last_page”: 25,
            “total”: 125
        }

Sectores

Get sectors

Method URL
GET https://impulsoraiz.com/api/sectors

Content-Type: application/json
Authorization: Bearer {authentication_token}

Parámetros

page Integer
take Integer, x ∈ [1, 100]

Filtros

name String
location_id Integer
location_name String
state_id Integer
state_name String
country_id Integer
country_name String

Ejemplo de entrada:

https://impulsoraiz.com/api/properties?page=1&take=5&location_name=Envigado

Ejemplo de salida:

{
            “data”: [
                {
                    “id”: 134,
                    “name”: “Alto de Palmas”,
                    “location_id”: 48,
                    “location_name”: “Envigado”,
                    “state_id”: 1,
                    “state_name”: “Antioquia”,
                    “country_id”: 1,
                    “country_name”: “Colombia”
                },
                {
                    “id”: 287,
                    “name”: “Arrayanes”,
                    “location_id”: 48,
                    “location_name”: “Envigado”,
                    “state_id”: 1,
                    “state_name”: “Antioquia”,
                    “country_id”: 1,
                    “country_name”: “Colombia”
                },
                {
                    “id”: 195,
                    “name”: “El Cebadero”,
                    “location_id”: 48,
                    “location_name”: “Envigado”,
                    “state_id”: 1,
                    “state_name”: “Antioquia”,
                    “country_id”: 1,
                    “country_name”: “Colombia”
                },
                {
                    “id”: 299,
                    “name”: “El Trianon”,
                    “location_id”: 48,
                    “location_name”: “Envigado”,
                    “state_id”: 1,
                    “state_name”: “Antioquia”,
                    “country_id”: 1,
                    “country_name”: “Colombia”
                },
                {
                    “id”: 277,
                    “name”: “Ensenillos”,
                    “location_id”: 48,
                    “location_name”: “Envigado”,
                    “state_id”: 1,
                    “state_name”: “Antioquia”,
                    “country_id”: 1,
                    “country_name”: “Colombia”
                }
            ],
            “from”: 1,
            “to”: 5,
            “per_page”: 5,
            “current_page”: 1,
            “last_page”: 4,
            “total”: 17
        }

Get one sector

Method URL
GET https://impulsoraiz.com/api/sectors/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de salida:

 {
            “id”: 1,
            “name”: “La Fé”,
            “location”: {
                “id”: 45,
                “name”: “El Retiro (Antioquia)”,
                “state”: {
                    “id”: 1,
                    “name”: “Antioquia”,
                    “country”: {
                        “id”: 1,
                        “name”: “Colombia”
                    }
                }
            }
        }            

Save sector

Method URL
POST https://impulsoraiz.com/api/sectors

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de entrada:

        {
            “name”: “Tierra firma – Los colores”,
            “location_id”: 71
        }

Ejemplo de salida:

        {
            “id”: 304,
            “name”: “Tierra firma – Los colores”,
            “location”: {
                “id”: 71,
                “name”: “Medellín (Antioquia)”,
                “state”: {
                    “id”: 1,
                    “name”: “Antioquia”,
                    “country”: {
                        “id”: 1,
                        “name”: “Colombia”
                    }
                }
            }
        }

Update sector

Method URL
GET https://impulsoraiz.com/api/sectors/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de entrada:

        {
            “name”: “Tierra firma – San German / Los colores”,
            “location_id”: 71
        }

Ejemplo de salida:

        {
            “id”: 304,
            “name”: “Tierra firma – San German / Los colores”,
            “location”: {
                “id”: 71,
                “name”: “Medellín (Antioquia)”,
                “state”: {
                    “id”: 1,
                    “name”: “Antioquia”,
                    “country”: {
                        “id”: 1,
                        “name”: “Colombia”
                    }
                }
            }
        }

Delete sector

Method URL
DELETE https://impulsoraiz.com/api/properties/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}

Asesores

Get consultants

Method URL
GET https://impulsoraiz.com/api/consultants

Content-Type: application/json
Authorization: Bearer {authentication_token}

Parámetros

page Integer
take Integer, x ∈ [1, 100]

Filtros

name String
phone String
email String

Ejemplo de entrada:

https://impulsoraiz.com/api/properties?page=1&take=10

Ejemplo de salida:

        {
            “data”: [
                {
                    “id”: 1,
                   
                    “appropiate_consultant_id”: null
                },
                {
                    “id”: 2,
                    
                    “appropiate_consultant_id”: null
                }
            ],
            “from”: 1,
            “to”: 2,
            “per_page”: 10,
            “current_page”: 1,
            “last_page”: 1,
            “total”: 2
        }

Get one consultant

Method URL
GET https://impulsoraiz.com/api/consultants/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de salida:

       {
            "id": 1,
            "name": "Carlos Arango",
            "phone": "3214567987",
            "email": "carlos@gmail.com"
        }
            

Save consultant

Method URL
POST https://impulsoraiz.com/api/consultants

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de entrada:

       {
            "name": "Leidy Tatiana Arango",
            "phone": "3245678903",
            "email": "leidy@gmail.com"
       }

Ejemplo de salida:

        {
            "id": 3,
            "name": "Leidy Tatiana Arango",
            "phone": "3245678903",
            "email": "leidy@gmail.com"
        }

Update consultant

Method URL
PUT https://impulsoraiz.com/api/consultants/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de entrada:

       {
            "name": "Leidy Tatiana Arango",
            "phone": "3245678903",
            "email": "leidy12@gmail.com"
       }

Ejemplo de salida:

        {
            "id": 3,
            "name": "Leidy Tatiana Arango",
            "phone": "3245678903",
            "email": "leidy@gmail.com"
        }

Delete consultant

Method URL
DELETE https://impulsoraiz.com/api/consultants/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}

Propietarios

Get owners

Method URL
GET https://impulsoraiz.com/api/owners

Content-Type: application/json
Authorization: Bearer {authentication_token}

Parámetros

page Integer
take Integer, x ∈ [1, 100]

Filtros

name String
phone String
email String
document String

https://impulsoraiz.com/api/owners?page=1&take=5

Ejemplo de salida:

        {
            “data”: [
                {
                    “id”: 1,
                    “name”: “Propietario 1”,
                    “email”: “propietario1@gmail.com”,
                    “document”: null,
                    “phone1”: null,
                    “phone2”: “3214567890”
                },
                {
                    “id”: 2,
                    “name”: “Propietario 2”,
                    “email”: “propietario2@gmail.com”,
                    “document”: null,
                    “phone1”: null,
                    “phone2”: “3114356744”
                },
                {
                    “id”: 3,
                    “name”: “Propietario 3”,
                    “email”: “propietario3@gmail.com”,
                    “document”: null,
                    “phone1”: “3214567543”,
                    “phone2”: null
                },
                {
                    “id”: 4,
                    “name”: “Propietario 4”,
                    “email”: “propietario4@gmail.com”,
                    “document”: 5619026,
                    “phone1”: “3145654432”,
                    “phone2”: null
                },
                {
                    “id”: 5,
                    “name”: “Propietario 5”,
                    “email”: “propietario5@gmail.com”,
                    “document”: null,
                    “phone1”: “3129875634”,
                    “phone2”: null
                }
            ],
            “from”: 1,
            “to”: 5,
            “per_page”: 5,
            “current_page”: 1,
            “last_page”: 275,
            “total”: 1374
        }

Get one owner

Method URL
GET https://impulsoraiz.com/api/owners/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de salida:

        {
            “id”: 1,
            “name”: “Propietario 1”,
            “email”: “propietario1@gmail.com”,
            “document”: null,
            “phone1”: null,
            “phone2”: “3214567890”
        }

Save owner

Method URL
POST https://impulsoraiz.com/api/owners

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de entrada:

        {
            “name”: “Propietario N”,
            “email”: “propietarion@gmail.com”,
            “document”: null,
            “phone1”: null,
            “phone2”: “3214567890”
        }

Ejemplo de salida:

        {
            “id”: 1463,
            “name”: “Propietario N”,
            “email”: “propietarion@gmail.com”,
            “document”: null,
            “phone1”: “3214567890”,
            “phone2”: null
        }        

Update owner

Method URL
PUT https://impulsoraiz.com/api/owners/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}

Ejemplo de entrada:

        {
            “name”: “Propietario N2”,
            “email”: “propietarion@gmail.com”,
            “document”: null,
            “phone1”: “3214567890”,
            “phone2”: null
        }

Ejemplo de salida:

        {
            “id”: 1463,
            “name”: “Propietario N2”,
            “email”: “propietarion@gmail.com”,
            “document”: null,
            “phone1”: “3214567890”,
            “phone2”: null
        }     

Delete owner

Method URL
GET https://impulsoraiz.com/api/owners/{id}

Content-Type: application/json
Authorization: Bearer {authentication_token}