POST 17.0/app/properties/{id}/copy

Description

Copies a property

URI Parameters

Name Description Type Additional information
id

Id of the property to copy

integer

Required

Details to apply to the copied properties

Name Description Type Additional information
NumberOfCopies

integer

None.

IncludePictures

boolean

None.

IncludeCurrentCertificates

boolean

None.

NewCategory

PropertyCategory

None.

NewPrice

decimal number

None.

SetAsHmo

boolean

None.

application/json, text/json

Sample:
{
  "numberOfCopies": 1,
  "includePictures": true,
  "includeCurrentCertificates": true,
  "newCategory": 0,
  "newPrice": 4.0,
  "setAsHmo": true
}

application/xml, text/xml

Sample:
<CopyPropertyRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <NumberOfCopies>1</NumberOfCopies>
  <IncludePictures>true</IncludePictures>
  <IncludeCurrentCertificates>true</IncludeCurrentCertificates>
  <NewCategory>Sales</NewCategory>
  <NewPrice>4</NewPrice>
  <SetAsHmo>true</SetAsHmo>
</CopyPropertyRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Array of ids for the copied properties

Collection of NewRecord
Name Description Type Additional information
Id

integer

None.

application/json, text/json

Sample:
[
  {
    "id": 1
  },
  {
    "id": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfNewRecord xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <NewRecord>
    <Id>1</Id>
  </NewRecord>
  <NewRecord>
    <Id>1</Id>
  </NewRecord>
</ArrayOfNewRecord>