PUT /property/{propertyID}

Update details of an existing property.

Path parameters

  • propertyID integer Required
application/json

Body Required

  • propertyID integer
  • nickname string
  • streetNumber string
  • routes string
  • city string
  • country string
  • postalCode string
  • formattedAddress string
  • types string
  • squareFootage integer
  • yearBuild integer
  • stateID integer
  • countryID integer
  • clientID integer
  • companyID integer
  • IsBilling boolean
  • notes string
  • createdBy integer
  • updatedBy integer

Responses

  • 200

    Property updated successfully

  • 404

    Property not found

  • 500

    Internal server error

PUT /property/{propertyID}
curl \
 -X PUT http://api.example.com/property/{propertyID} \
 -H "Content-Type: application/json" \
 -d '{"propertyID":42,"nickname":"string","streetNumber":"string","routes":"string","city":"string","country":"string","postalCode":"string","formattedAddress":"string","types":"string","squareFootage":42,"yearBuild":42,"stateID":42,"countryID":42,"clientID":42,"companyID":42,"IsBilling":true,"notes":"string","createdBy":42,"updatedBy":42}'
Request example
{
  "propertyID": 42,
  "nickname": "string",
  "streetNumber": "string",
  "routes": "string",
  "city": "string",
  "country": "string",
  "postalCode": "string",
  "formattedAddress": "string",
  "types": "string",
  "squareFootage": 42,
  "yearBuild": 42,
  "stateID": 42,
  "countryID": 42,
  "clientID": 42,
  "companyID": 42,
  "IsBilling": true,
  "notes": "string",
  "createdBy": 42,
  "updatedBy": 42
}