v3


Click here for a complete list of operations.

PropertyInsertNewAd

Realiza la creación (inserción) de un inmueble en fotocasa

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
languageId:
sessionId:
signature:
comments:
features:
surface:
showSurface:
groundSurface:
showGroundSurface:
rooms:
bathrooms:
conservationStatusId:
antiquityId:
propertyTypeId:
propertySubtypeId:
transactionTypeIds:
price:
priceRent:
priceDaily:
priceWeekly:
priceMonthly:
rentPeriodicityIds:
hideLocation:
userId:
zipcode:
streetTypeId:
street:
number:
floorId:
portalId:
depositRequired:
less2MonthsDepositRequired:
communityFeesIncluded:
clientReferenceId:
platformId:
latitude:
longitude:
energyCertificateId:
tourismRegister:
statusId:
shouldSendToVibbo:
requiresProfessionalServices:

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/PropertyInsertNewAd"

<?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>
    <PropertyInsertNewAd xmlns="http://ws.fotocasa.es/">
      <languageId>int</languageId>
      <sessionId>string</sessionId>
      <signature>string</signature>
      <comments>string</comments>
      <features>string</features>
      <surface>int</surface>
      <showSurface>boolean</showSurface>
      <groundSurface>int</groundSurface>
      <showGroundSurface>boolean</showGroundSurface>
      <rooms>int</rooms>
      <bathrooms>int</bathrooms>
      <conservationStatusId>int</conservationStatusId>
      <antiquityId>int</antiquityId>
      <propertyTypeId>int</propertyTypeId>
      <propertySubtypeId>int</propertySubtypeId>
      <transactionTypeIds>string</transactionTypeIds>
      <price>decimal</price>
      <priceRent>decimal</priceRent>
      <priceDaily>decimal</priceDaily>
      <priceWeekly>decimal</priceWeekly>
      <priceMonthly>decimal</priceMonthly>
      <rentPeriodicityIds>string</rentPeriodicityIds>
      <hideLocation>boolean</hideLocation>
      <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>
      <latitude>string</latitude>
      <longitude>string</longitude>
      <energyCertificateId>int</energyCertificateId>
      <tourismRegister>string</tourismRegister>
      <statusId>int</statusId>
      <shouldSendToVibbo>boolean</shouldSendToVibbo>
      <requiresProfessionalServices>boolean</requiresProfessionalServices>
    </PropertyInsertNewAd>
  </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>
    <PropertyInsertNewAdResponse xmlns="http://ws.fotocasa.es/">
      <PropertyInsertNewAdResult>
        <IsPayAd>boolean</IsPayAd>
      </PropertyInsertNewAdResult>
    </PropertyInsertNewAdResponse>
  </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>
    <PropertyInsertNewAd xmlns="http://ws.fotocasa.es/">
      <languageId>int</languageId>
      <sessionId>string</sessionId>
      <signature>string</signature>
      <comments>string</comments>
      <features>string</features>
      <surface>int</surface>
      <showSurface>boolean</showSurface>
      <groundSurface>int</groundSurface>
      <showGroundSurface>boolean</showGroundSurface>
      <rooms>int</rooms>
      <bathrooms>int</bathrooms>
      <conservationStatusId>int</conservationStatusId>
      <antiquityId>int</antiquityId>
      <propertyTypeId>int</propertyTypeId>
      <propertySubtypeId>int</propertySubtypeId>
      <transactionTypeIds>string</transactionTypeIds>
      <price>decimal</price>
      <priceRent>decimal</priceRent>
      <priceDaily>decimal</priceDaily>
      <priceWeekly>decimal</priceWeekly>
      <priceMonthly>decimal</priceMonthly>
      <rentPeriodicityIds>string</rentPeriodicityIds>
      <hideLocation>boolean</hideLocation>
      <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>
      <latitude>string</latitude>
      <longitude>string</longitude>
      <energyCertificateId>int</energyCertificateId>
      <tourismRegister>string</tourismRegister>
      <statusId>int</statusId>
      <shouldSendToVibbo>boolean</shouldSendToVibbo>
      <requiresProfessionalServices>boolean</requiresProfessionalServices>
    </PropertyInsertNewAd>
  </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>
    <PropertyInsertNewAdResponse xmlns="http://ws.fotocasa.es/">
      <PropertyInsertNewAdResult>
        <IsPayAd>boolean</IsPayAd>
      </PropertyInsertNewAdResult>
    </PropertyInsertNewAdResponse>
  </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/PropertyInsertNewAd?languageId=string&sessionId=string&signature=string&comments=string&features=string&surface=string&showSurface=string&groundSurface=string&showGroundSurface=string&rooms=string&bathrooms=string&conservationStatusId=string&antiquityId=string&propertyTypeId=string&propertySubtypeId=string&transactionTypeIds=string&price=string&priceRent=string&priceDaily=string&priceWeekly=string&priceMonthly=string&rentPeriodicityIds=string&hideLocation=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&latitude=string&longitude=string&energyCertificateId=string&tourismRegister=string&statusId=string&shouldSendToVibbo=string&requiresProfessionalServices=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/PropertyInsertNewAd HTTP/1.1
Host: ws.fotocasa.es
Content-Type: application/x-www-form-urlencoded
Content-Length: length

languageId=string&sessionId=string&signature=string&comments=string&features=string&surface=string&showSurface=string&groundSurface=string&showGroundSurface=string&rooms=string&bathrooms=string&conservationStatusId=string&antiquityId=string&propertyTypeId=string&propertySubtypeId=string&transactionTypeIds=string&price=string&priceRent=string&priceDaily=string&priceWeekly=string&priceMonthly=string&rentPeriodicityIds=string&hideLocation=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&latitude=string&longitude=string&energyCertificateId=string&tourismRegister=string&statusId=string&shouldSendToVibbo=string&requiresProfessionalServices=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>