POST api/Propiedades/AddPropiedad
Request Information
URI Parameters
None.
Body Parameters
AdminPropiedadesModelView| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | integer |
None. |
|
| DIRECCION | string |
Required |
|
| UBICACION | string |
Required |
|
| ID_TIPO_INMUEBLE | integer |
Required Range: inclusive between 1 and 2147483647 |
|
| AREA | integer |
None. |
|
| RECAMARAS | integer |
None. |
|
| BANOS | integer |
None. |
|
| COCHERAS | integer |
None. |
|
| DESCRIPCION | string |
None. |
|
| TIPO_OPERACION | string |
Required |
|
| PRECIO | decimal number |
None. |
|
| LS_SERVADICIONAL | Collection of AdminPropiedadesSAModelView |
None. |
Request Formats
application/json, text/json
Sample:
{
"ID": 1,
"DIRECCION": "sample string 2",
"UBICACION": "sample string 3",
"ID_TIPO_INMUEBLE": 4,
"AREA": 5,
"RECAMARAS": 6,
"BANOS": 7,
"COCHERAS": 8,
"DESCRIPCION": "sample string 9",
"TIPO_OPERACION": "sample string 10",
"PRECIO": 11.1,
"LS_SERVADICIONAL": [
{
"ID_PROPIEDAD": 1,
"ID_SERVADC": 2
},
{
"ID_PROPIEDAD": 1,
"ID_SERVADC": 2
}
]
}
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json
Sample:
Sample not available.