v2


Click here for a complete list of operations.

AccountPropertyUpdate

Actualiza datos del anuncio

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
propertyId:
languageId:
sessionId:
comments:
features:
countryId:
surface:
showSurface:
groundSurface:
showGroundSurface:
rooms:
toilettes:
bathrooms:
conservationStatusId:
antiquityId:
propertyTypeId:
propertySubtypeId:
transactionTypeId:
price:
rentPrice:
rentPeriodicityId:
holidayRentPrice:
holidayPeriodicityId:
addressVisibilityModeId:
ubication:
userId:
zipcode:
streetTypeId:
street:
number:
floorId:
portalId:
depositRequired:
less2MonthsDepositRequired:
communityFeesIncluded:
clientReferenceId:
platformId:
location:
lat:
lng:
signature:
EnergyCertificateId:
mediaIdsDelete:

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/v2.asmx HTTP/1.1
Host: ws.fotocasa.es
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://ws.fotocasa.es/AccountPropertyUpdate"

<?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>
    <AccountPropertyUpdate xmlns="http://ws.fotocasa.es/">
      <propertyId>long</propertyId>
      <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>
      <lat>string</lat>
      <lng>string</lng>
      <signature>string</signature>
      <EnergyCertificateId>int</EnergyCertificateId>
      <mediaIdsDelete>string</mediaIdsDelete>
    </AccountPropertyUpdate>
  </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>
    <AccountPropertyUpdateResponse xmlns="http://ws.fotocasa.es/">
      <AccountPropertyUpdateResult>
        <Value>boolean</Value>
      </AccountPropertyUpdateResult>
    </AccountPropertyUpdateResponse>
  </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/v2.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>
    <AccountPropertyUpdate xmlns="http://ws.fotocasa.es/">
      <propertyId>long</propertyId>
      <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>
      <lat>string</lat>
      <lng>string</lng>
      <signature>string</signature>
      <EnergyCertificateId>int</EnergyCertificateId>
      <mediaIdsDelete>string</mediaIdsDelete>
    </AccountPropertyUpdate>
  </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>
    <AccountPropertyUpdateResponse xmlns="http://ws.fotocasa.es/">
      <AccountPropertyUpdateResult>
        <Value>boolean</Value>
      </AccountPropertyUpdateResult>
    </AccountPropertyUpdateResponse>
  </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/v2.asmx/AccountPropertyUpdate?propertyId=string&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&lat=string&lng=string&signature=string&EnergyCertificateId=string&mediaIdsDelete=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"?>
<ObjBool xmlns="http://ws.fotocasa.es/">
  <Value>boolean</Value>
</ObjBool>

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/v2.asmx/AccountPropertyUpdate HTTP/1.1
Host: ws.fotocasa.es
Content-Type: application/x-www-form-urlencoded
Content-Length: length

propertyId=string&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&lat=string&lng=string&signature=string&EnergyCertificateId=string&mediaIdsDelete=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ObjBool xmlns="http://ws.fotocasa.es/">
  <Value>boolean</Value>
</ObjBool>