v3
Click here for a complete list of operations.
PropertyInsert
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /mobile/api/v3.asmx HTTP/1.1
Host: ws.fotocasa.es
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ws.fotocasa.es/PropertyInsert"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PropertyInsert xmlns="http://ws.fotocasa.es/">
<languageId>int</languageId>
<sessionId>string</sessionId>
<comments>string</comments>
<features>string</features>
<countryId>int</countryId>
<surface>int</surface>
<showSurface>boolean</showSurface>
<groundSurface>int</groundSurface>
<showGroundSurface>boolean</showGroundSurface>
<rooms>int</rooms>
<toilettes>int</toilettes>
<bathrooms>int</bathrooms>
<conservationStatusId>int</conservationStatusId>
<antiquityId>int</antiquityId>
<propertyTypeId>int</propertyTypeId>
<propertySubtypeId>int</propertySubtypeId>
<transactionTypeId>int</transactionTypeId>
<price>decimal</price>
<rentPrice>decimal</rentPrice>
<rentPeriodicityId>int</rentPeriodicityId>
<holidayRentPrice>decimal</holidayRentPrice>
<holidayPeriodicityId>int</holidayPeriodicityId>
<addressVisibilityModeId>int</addressVisibilityModeId>
<ubication>string</ubication>
<userId>long</userId>
<zipCode>string</zipCode>
<streetTypeId>int</streetTypeId>
<street>string</street>
<number>string</number>
<floorId>int</floorId>
<portalId>int</portalId>
<depositRequired>boolean</depositRequired>
<less2MonthsDepositRequired>boolean</less2MonthsDepositRequired>
<communityFeesIncluded>boolean</communityFeesIncluded>
<clientReferenceId>string</clientReferenceId>
<platformId>int</platformId>
<location>string</location>
<latitude>string</latitude>
<longitude>string</longitude>
<signature>string</signature>
<energyCertificateId>int</energyCertificateId>
<publishVibbo>boolean</publishVibbo>
<adFreeSendEmail>boolean</adFreeSendEmail>
</PropertyInsert>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<PropertyInsertResponse xmlns="http://ws.fotocasa.es/">
<PropertyInsertResult>
<IsPayAd>boolean</IsPayAd>
</PropertyInsertResult>
</PropertyInsertResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /mobile/api/v3.asmx HTTP/1.1
Host: ws.fotocasa.es
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<PropertyInsert xmlns="http://ws.fotocasa.es/">
<languageId>int</languageId>
<sessionId>string</sessionId>
<comments>string</comments>
<features>string</features>
<countryId>int</countryId>
<surface>int</surface>
<showSurface>boolean</showSurface>
<groundSurface>int</groundSurface>
<showGroundSurface>boolean</showGroundSurface>
<rooms>int</rooms>
<toilettes>int</toilettes>
<bathrooms>int</bathrooms>
<conservationStatusId>int</conservationStatusId>
<antiquityId>int</antiquityId>
<propertyTypeId>int</propertyTypeId>
<propertySubtypeId>int</propertySubtypeId>
<transactionTypeId>int</transactionTypeId>
<price>decimal</price>
<rentPrice>decimal</rentPrice>
<rentPeriodicityId>int</rentPeriodicityId>
<holidayRentPrice>decimal</holidayRentPrice>
<holidayPeriodicityId>int</holidayPeriodicityId>
<addressVisibilityModeId>int</addressVisibilityModeId>
<ubication>string</ubication>
<userId>long</userId>
<zipCode>string</zipCode>
<streetTypeId>int</streetTypeId>
<street>string</street>
<number>string</number>
<floorId>int</floorId>
<portalId>int</portalId>
<depositRequired>boolean</depositRequired>
<less2MonthsDepositRequired>boolean</less2MonthsDepositRequired>
<communityFeesIncluded>boolean</communityFeesIncluded>
<clientReferenceId>string</clientReferenceId>
<platformId>int</platformId>
<location>string</location>
<latitude>string</latitude>
<longitude>string</longitude>
<signature>string</signature>
<energyCertificateId>int</energyCertificateId>
<publishVibbo>boolean</publishVibbo>
<adFreeSendEmail>boolean</adFreeSendEmail>
</PropertyInsert>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<PropertyInsertResponse xmlns="http://ws.fotocasa.es/">
<PropertyInsertResult>
<IsPayAd>boolean</IsPayAd>
</PropertyInsertResult>
</PropertyInsertResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /mobile/api/v3.asmx/PropertyInsert?languageId=string&sessionId=string&comments=string&features=string&countryId=string&surface=string&showSurface=string&groundSurface=string&showGroundSurface=string&rooms=string&toilettes=string&bathrooms=string&conservationStatusId=string&antiquityId=string&propertyTypeId=string&propertySubtypeId=string&transactionTypeId=string&price=string&rentPrice=string&rentPeriodicityId=string&holidayRentPrice=string&holidayPeriodicityId=string&addressVisibilityModeId=string&ubication=string&userId=string&zipCode=string&streetTypeId=string&street=string&number=string&floorId=string&portalId=string&depositRequired=string&less2MonthsDepositRequired=string&communityFeesIncluded=string&clientReferenceId=string&platformId=string&location=string&latitude=string&longitude=string&signature=string&energyCertificateId=string&publishVibbo=string&adFreeSendEmail=string HTTP/1.1 Host: ws.fotocasa.es
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ObjPropertyInsertResponse xmlns="http://ws.fotocasa.es/"> <IsPayAd>boolean</IsPayAd> </ObjPropertyInsertResponse>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /mobile/api/v3.asmx/PropertyInsert HTTP/1.1 Host: ws.fotocasa.es Content-Type: application/x-www-form-urlencoded Content-Length: length languageId=string&sessionId=string&comments=string&features=string&countryId=string&surface=string&showSurface=string&groundSurface=string&showGroundSurface=string&rooms=string&toilettes=string&bathrooms=string&conservationStatusId=string&antiquityId=string&propertyTypeId=string&propertySubtypeId=string&transactionTypeId=string&price=string&rentPrice=string&rentPeriodicityId=string&holidayRentPrice=string&holidayPeriodicityId=string&addressVisibilityModeId=string&ubication=string&userId=string&zipCode=string&streetTypeId=string&street=string&number=string&floorId=string&portalId=string&depositRequired=string&less2MonthsDepositRequired=string&communityFeesIncluded=string&clientReferenceId=string&platformId=string&location=string&latitude=string&longitude=string&signature=string&energyCertificateId=string&publishVibbo=string&adFreeSendEmail=string
HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <ObjPropertyInsertResponse xmlns="http://ws.fotocasa.es/"> <IsPayAd>boolean</IsPayAd> </ObjPropertyInsertResponse>