Document Platform

Add existing building to portfolio

Atomically add a single existing building to a portfolio to avoid race conditions

put/customers/{customerId}/portfolios/{id}/buildings

Request

  • Base URL: http://localhost:9000
  • URL: http://localhost:9000/customers/{customerId}/portfolios/{id}/buildings
  • Auth: API key in header x-api-key

Path parameters

idstring uuid required
customerIdstring uuid required

Request body

buildingIdstring uuid required

Response

Updated portfolio with buildings

idstring uuid
aliasstring
addressstring
customerIdstring uuid
isFavoriteboolean
createdAtstring
updatedAtstring

Changes

No recorded changes to this operation across all 1 revision of this API.