v3
Click here for a complete list of operations.
GetDemands
Devuelve las búsquedas 24x7 de un usuario
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/GetDemands"
<?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>
<GetDemands xmlns="http://ws.fotocasa.es/">
<encryptedUserId>string</encryptedUserId>
<deviceToken>string</deviceToken>
<languageId>int</languageId>
<signature>string</signature>
</GetDemands>
</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>
<GetDemandsResponse xmlns="http://ws.fotocasa.es/">
<GetDemandsResult>
<Demands>
<DemandItem>
<Id>string</Id>
<Name>string</Name>
<Category>string</Category>
<CategoryId>string</CategoryId>
<OfferType>string</OfferType>
<OfferTypeId>string</OfferTypeId>
<PurchaseType>string</PurchaseType>
<LocationLevel1>string</LocationLevel1>
<LocationLevel2>string</LocationLevel2>
<LocationLevel3>string</LocationLevel3>
<LocationLevel4>string</LocationLevel4>
<X>string</X>
<Y>string</Y>
<MinPrice>string</MinPrice>
<MaxPrice>string</MaxPrice>
<MinSurface>string</MinSurface>
<MaxSurface>string</MaxSurface>
<MinRooms>string</MinRooms>
<MaxRooms>string</MaxRooms>
<MinBaths>string</MinBaths>
<MaxBaths>string</MaxBaths>
<NotificationId>string</NotificationId>
<NumMatches>string</NumMatches>
<Title>string</Title>
<Description>string</Description>
<LocationLevel5>string</LocationLevel5>
<PurchaseTypeId>string</PurchaseTypeId>
<SubcategoryTypesId>string</SubcategoryTypesId>
<Locations>string</Locations>
<NBathrooms>string</NBathrooms>
<ConservationStates>string</ConservationStates>
<Extras>string</Extras>
<Radius>string</Radius>
<Notifications xsi:nil="true" />
<LocationsMultiple>string</LocationsMultiple>
<LocationsMultipleDescription>string</LocationsMultipleDescription>
</DemandItem>
<DemandItem>
<Id>string</Id>
<Name>string</Name>
<Category>string</Category>
<CategoryId>string</CategoryId>
<OfferType>string</OfferType>
<OfferTypeId>string</OfferTypeId>
<PurchaseType>string</PurchaseType>
<LocationLevel1>string</LocationLevel1>
<LocationLevel2>string</LocationLevel2>
<LocationLevel3>string</LocationLevel3>
<LocationLevel4>string</LocationLevel4>
<X>string</X>
<Y>string</Y>
<MinPrice>string</MinPrice>
<MaxPrice>string</MaxPrice>
<MinSurface>string</MinSurface>
<MaxSurface>string</MaxSurface>
<MinRooms>string</MinRooms>
<MaxRooms>string</MaxRooms>
<MinBaths>string</MinBaths>
<MaxBaths>string</MaxBaths>
<NotificationId>string</NotificationId>
<NumMatches>string</NumMatches>
<Title>string</Title>
<Description>string</Description>
<LocationLevel5>string</LocationLevel5>
<PurchaseTypeId>string</PurchaseTypeId>
<SubcategoryTypesId>string</SubcategoryTypesId>
<Locations>string</Locations>
<NBathrooms>string</NBathrooms>
<ConservationStates>string</ConservationStates>
<Extras>string</Extras>
<Radius>string</Radius>
<Notifications xsi:nil="true" />
<LocationsMultiple>string</LocationsMultiple>
<LocationsMultipleDescription>string</LocationsMultipleDescription>
</DemandItem>
</Demands>
</GetDemandsResult>
</GetDemandsResponse>
</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>
<GetDemands xmlns="http://ws.fotocasa.es/">
<encryptedUserId>string</encryptedUserId>
<deviceToken>string</deviceToken>
<languageId>int</languageId>
<signature>string</signature>
</GetDemands>
</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>
<GetDemandsResponse xmlns="http://ws.fotocasa.es/">
<GetDemandsResult>
<Demands>
<DemandItem>
<Id>string</Id>
<Name>string</Name>
<Category>string</Category>
<CategoryId>string</CategoryId>
<OfferType>string</OfferType>
<OfferTypeId>string</OfferTypeId>
<PurchaseType>string</PurchaseType>
<LocationLevel1>string</LocationLevel1>
<LocationLevel2>string</LocationLevel2>
<LocationLevel3>string</LocationLevel3>
<LocationLevel4>string</LocationLevel4>
<X>string</X>
<Y>string</Y>
<MinPrice>string</MinPrice>
<MaxPrice>string</MaxPrice>
<MinSurface>string</MinSurface>
<MaxSurface>string</MaxSurface>
<MinRooms>string</MinRooms>
<MaxRooms>string</MaxRooms>
<MinBaths>string</MinBaths>
<MaxBaths>string</MaxBaths>
<NotificationId>string</NotificationId>
<NumMatches>string</NumMatches>
<Title>string</Title>
<Description>string</Description>
<LocationLevel5>string</LocationLevel5>
<PurchaseTypeId>string</PurchaseTypeId>
<SubcategoryTypesId>string</SubcategoryTypesId>
<Locations>string</Locations>
<NBathrooms>string</NBathrooms>
<ConservationStates>string</ConservationStates>
<Extras>string</Extras>
<Radius>string</Radius>
<Notifications xsi:nil="true" />
<LocationsMultiple>string</LocationsMultiple>
<LocationsMultipleDescription>string</LocationsMultipleDescription>
</DemandItem>
<DemandItem>
<Id>string</Id>
<Name>string</Name>
<Category>string</Category>
<CategoryId>string</CategoryId>
<OfferType>string</OfferType>
<OfferTypeId>string</OfferTypeId>
<PurchaseType>string</PurchaseType>
<LocationLevel1>string</LocationLevel1>
<LocationLevel2>string</LocationLevel2>
<LocationLevel3>string</LocationLevel3>
<LocationLevel4>string</LocationLevel4>
<X>string</X>
<Y>string</Y>
<MinPrice>string</MinPrice>
<MaxPrice>string</MaxPrice>
<MinSurface>string</MinSurface>
<MaxSurface>string</MaxSurface>
<MinRooms>string</MinRooms>
<MaxRooms>string</MaxRooms>
<MinBaths>string</MinBaths>
<MaxBaths>string</MaxBaths>
<NotificationId>string</NotificationId>
<NumMatches>string</NumMatches>
<Title>string</Title>
<Description>string</Description>
<LocationLevel5>string</LocationLevel5>
<PurchaseTypeId>string</PurchaseTypeId>
<SubcategoryTypesId>string</SubcategoryTypesId>
<Locations>string</Locations>
<NBathrooms>string</NBathrooms>
<ConservationStates>string</ConservationStates>
<Extras>string</Extras>
<Radius>string</Radius>
<Notifications xsi:nil="true" />
<LocationsMultiple>string</LocationsMultiple>
<LocationsMultipleDescription>string</LocationsMultipleDescription>
</DemandItem>
</Demands>
</GetDemandsResult>
</GetDemandsResponse>
</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/GetDemands?encryptedUserId=string&deviceToken=string&languageId=string&signature=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"?>
<DemandsCollection xmlns="http://ws.fotocasa.es/">
<Demands>
<DemandItem>
<Id>string</Id>
<Name>string</Name>
<Category>string</Category>
<CategoryId>string</CategoryId>
<OfferType>string</OfferType>
<OfferTypeId>string</OfferTypeId>
<PurchaseType>string</PurchaseType>
<LocationLevel1>string</LocationLevel1>
<LocationLevel2>string</LocationLevel2>
<LocationLevel3>string</LocationLevel3>
<LocationLevel4>string</LocationLevel4>
<X>string</X>
<Y>string</Y>
<MinPrice>string</MinPrice>
<MaxPrice>string</MaxPrice>
<MinSurface>string</MinSurface>
<MaxSurface>string</MaxSurface>
<MinRooms>string</MinRooms>
<MaxRooms>string</MaxRooms>
<MinBaths>string</MinBaths>
<MaxBaths>string</MaxBaths>
<NotificationId>string</NotificationId>
<NumMatches>string</NumMatches>
<Title>string</Title>
<Description>string</Description>
<LocationLevel5>string</LocationLevel5>
<PurchaseTypeId>string</PurchaseTypeId>
<SubcategoryTypesId>string</SubcategoryTypesId>
<Locations>string</Locations>
<NBathrooms>string</NBathrooms>
<ConservationStates>string</ConservationStates>
<Extras>string</Extras>
<Radius>string</Radius>
<Notifications>
<DemandItemNotification d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<DemandItemNotification d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Notifications>
<LocationsMultiple>string</LocationsMultiple>
<LocationsMultipleDescription>string</LocationsMultipleDescription>
</DemandItem>
<DemandItem>
<Id>string</Id>
<Name>string</Name>
<Category>string</Category>
<CategoryId>string</CategoryId>
<OfferType>string</OfferType>
<OfferTypeId>string</OfferTypeId>
<PurchaseType>string</PurchaseType>
<LocationLevel1>string</LocationLevel1>
<LocationLevel2>string</LocationLevel2>
<LocationLevel3>string</LocationLevel3>
<LocationLevel4>string</LocationLevel4>
<X>string</X>
<Y>string</Y>
<MinPrice>string</MinPrice>
<MaxPrice>string</MaxPrice>
<MinSurface>string</MinSurface>
<MaxSurface>string</MaxSurface>
<MinRooms>string</MinRooms>
<MaxRooms>string</MaxRooms>
<MinBaths>string</MinBaths>
<MaxBaths>string</MaxBaths>
<NotificationId>string</NotificationId>
<NumMatches>string</NumMatches>
<Title>string</Title>
<Description>string</Description>
<LocationLevel5>string</LocationLevel5>
<PurchaseTypeId>string</PurchaseTypeId>
<SubcategoryTypesId>string</SubcategoryTypesId>
<Locations>string</Locations>
<NBathrooms>string</NBathrooms>
<ConservationStates>string</ConservationStates>
<Extras>string</Extras>
<Radius>string</Radius>
<Notifications>
<DemandItemNotification d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<DemandItemNotification d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Notifications>
<LocationsMultiple>string</LocationsMultiple>
<LocationsMultipleDescription>string</LocationsMultipleDescription>
</DemandItem>
</Demands>
</DemandsCollection>
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/GetDemands HTTP/1.1 Host: ws.fotocasa.es Content-Type: application/x-www-form-urlencoded Content-Length: length encryptedUserId=string&deviceToken=string&languageId=string&signature=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<DemandsCollection xmlns="http://ws.fotocasa.es/">
<Demands>
<DemandItem>
<Id>string</Id>
<Name>string</Name>
<Category>string</Category>
<CategoryId>string</CategoryId>
<OfferType>string</OfferType>
<OfferTypeId>string</OfferTypeId>
<PurchaseType>string</PurchaseType>
<LocationLevel1>string</LocationLevel1>
<LocationLevel2>string</LocationLevel2>
<LocationLevel3>string</LocationLevel3>
<LocationLevel4>string</LocationLevel4>
<X>string</X>
<Y>string</Y>
<MinPrice>string</MinPrice>
<MaxPrice>string</MaxPrice>
<MinSurface>string</MinSurface>
<MaxSurface>string</MaxSurface>
<MinRooms>string</MinRooms>
<MaxRooms>string</MaxRooms>
<MinBaths>string</MinBaths>
<MaxBaths>string</MaxBaths>
<NotificationId>string</NotificationId>
<NumMatches>string</NumMatches>
<Title>string</Title>
<Description>string</Description>
<LocationLevel5>string</LocationLevel5>
<PurchaseTypeId>string</PurchaseTypeId>
<SubcategoryTypesId>string</SubcategoryTypesId>
<Locations>string</Locations>
<NBathrooms>string</NBathrooms>
<ConservationStates>string</ConservationStates>
<Extras>string</Extras>
<Radius>string</Radius>
<Notifications>
<DemandItemNotification d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<DemandItemNotification d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Notifications>
<LocationsMultiple>string</LocationsMultiple>
<LocationsMultipleDescription>string</LocationsMultipleDescription>
</DemandItem>
<DemandItem>
<Id>string</Id>
<Name>string</Name>
<Category>string</Category>
<CategoryId>string</CategoryId>
<OfferType>string</OfferType>
<OfferTypeId>string</OfferTypeId>
<PurchaseType>string</PurchaseType>
<LocationLevel1>string</LocationLevel1>
<LocationLevel2>string</LocationLevel2>
<LocationLevel3>string</LocationLevel3>
<LocationLevel4>string</LocationLevel4>
<X>string</X>
<Y>string</Y>
<MinPrice>string</MinPrice>
<MaxPrice>string</MaxPrice>
<MinSurface>string</MinSurface>
<MaxSurface>string</MaxSurface>
<MinRooms>string</MinRooms>
<MaxRooms>string</MaxRooms>
<MinBaths>string</MinBaths>
<MaxBaths>string</MaxBaths>
<NotificationId>string</NotificationId>
<NumMatches>string</NumMatches>
<Title>string</Title>
<Description>string</Description>
<LocationLevel5>string</LocationLevel5>
<PurchaseTypeId>string</PurchaseTypeId>
<SubcategoryTypesId>string</SubcategoryTypesId>
<Locations>string</Locations>
<NBathrooms>string</NBathrooms>
<ConservationStates>string</ConservationStates>
<Extras>string</Extras>
<Radius>string</Radius>
<Notifications>
<DemandItemNotification d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
<DemandItemNotification d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
</Notifications>
<LocationsMultiple>string</LocationsMultiple>
<LocationsMultipleDescription>string</LocationsMultipleDescription>
</DemandItem>
</Demands>
</DemandsCollection>