v3
Click here for a complete list of operations.
UpdateDemand
Modifica una demanda y retorna si se ha actualizado
Test
The test form is only available for requests from the local machine.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/UpdateDemand"
<?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>
<UpdateDemand xmlns="http://ws.fotocasa.es/">
<userSearchDTO>
<UserToken>string</UserToken>
<search>
<transactionTypeId>int</transactionTypeId>
<propertyTypeId>int</propertyTypeId>
<location>string</location>
<conservationStates>string</conservationStates>
<subcategoriesType>string</subcategoriesType>
<extras>string</extras>
<purchaseTypeId>int</purchaseTypeId>
<minPrice>long</minPrice>
<maxPrice>long</maxPrice>
<minSurface>int</minSurface>
<maxSurface>int</maxSurface>
<minRooms>int</minRooms>
<maxRooms>int</maxRooms>
<minBathrooms>int</minBathrooms>
<maxBathrooms>int</maxBathrooms>
<languageId>int</languageId>
<UserAgent>string</UserAgent>
<IsMobileNavigation>boolean</IsMobileNavigation>
<SessionId>string</SessionId>
<rawData />
<name>string</name>
<EntityType>Undefined or User or UserEmail or Android or Iphone or Chrome or Firefox</EntityType>
<EntityId>string</EntityId>
<olapOriginId>int</olapOriginId>
</search>
<PlatformId>int</PlatformId>
</userSearchDTO>
<savedSearchId>long</savedSearchId>
</UpdateDemand>
</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>
<UpdateDemandResponse xmlns="http://ws.fotocasa.es/">
<UpdateDemandResult>
<Id>string</Id>
<Error>string</Error>
<DataLayer>string</DataLayer>
</UpdateDemandResult>
</UpdateDemandResponse>
</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>
<UpdateDemand xmlns="http://ws.fotocasa.es/">
<userSearchDTO>
<UserToken>string</UserToken>
<search>
<transactionTypeId>int</transactionTypeId>
<propertyTypeId>int</propertyTypeId>
<location>string</location>
<conservationStates>string</conservationStates>
<subcategoriesType>string</subcategoriesType>
<extras>string</extras>
<purchaseTypeId>int</purchaseTypeId>
<minPrice>long</minPrice>
<maxPrice>long</maxPrice>
<minSurface>int</minSurface>
<maxSurface>int</maxSurface>
<minRooms>int</minRooms>
<maxRooms>int</maxRooms>
<minBathrooms>int</minBathrooms>
<maxBathrooms>int</maxBathrooms>
<languageId>int</languageId>
<UserAgent>string</UserAgent>
<IsMobileNavigation>boolean</IsMobileNavigation>
<SessionId>string</SessionId>
<rawData />
<name>string</name>
<EntityType>Undefined or User or UserEmail or Android or Iphone or Chrome or Firefox</EntityType>
<EntityId>string</EntityId>
<olapOriginId>int</olapOriginId>
</search>
<PlatformId>int</PlatformId>
</userSearchDTO>
<savedSearchId>long</savedSearchId>
</UpdateDemand>
</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>
<UpdateDemandResponse xmlns="http://ws.fotocasa.es/">
<UpdateDemandResult>
<Id>string</Id>
<Error>string</Error>
<DataLayer>string</DataLayer>
</UpdateDemandResult>
</UpdateDemandResponse>
</soap12:Body>
</soap12:Envelope>