Web Service Documentation / Categories / Property Services / Edit Property

Edit Property

Updated on July 17, 2013

Description

This web service updates a property based on the information provided in the XML request. The property must already be shared with you. The service returns the unique identifier to the updated property and a link to the corresponding web service to retrieve it.

Version

10.0

HTTP Method

PUT

Resource URL

/property/(propertyId)

Header

Field Name Value Comments
Authorization Basic credentials
Content-Type application/xml

Authorization Required

Yes

Parameters

Parameter Name Description
propertyId Id to the property

XML Schemas

Request/Response Schema Name
Request property.xsd
Response response.xsd

Example Request

The following example updates a property that has an id of 5000036.

PUT  /property/5000036

<property> <name>8041- Richmond Road - Score 58</name> <primaryFunction>Refrigerated Warehouse</primaryFunction> <address address1="5300 Richmond Road" city="Bedford Heights" postalCode="44146" state="OH" country="US"/> <yearBuilt>1992</yearBuilt> <constructionStatus>Existing</constructionStatus> <grossFloorArea units="Square Feet" temporary="false"> <value>856655</value> </grossFloorArea> <occupancyPercentage>70</occupancyPercentage> <isFederalProperty>true</isFederalProperty> <agency id="1"/> <federalOwner>US</federalOwner> <agencyDepartmentRegion>Region Test</agencyDepartmentRegion> <federalCampus>Campus Test</federalCampus> <notes>Notes</notes> </property>

Example Response

The following example indicates that the property was successfully updated.

<response status="Ok">
    <id>5000036</id>
    <links>
        <link httpMethod="GET" link="/property/5000036"
              linkDescription="This is the GET url for this Property."/>
    </links>
</response>
TEST