My Cities API
  1. Buildings
My Cities API
  • Cities
    • create
      POST
    • getAll
      GET
    • getById
      GET
    • getCityBuildings
      GET
    • update
      PUT
    • delete
      DELETE
  • Buildings
    • findAll
      GET
    • create
      POST
    • findById
      GET
    • update
      PUT
    • delete
      DELETE
  • BuildingController
    • addPhotos
      POST
    • deletePhoto
      DELETE
  • CityController
    • getById
      GET
    • update
      PUT
  • Schemas
    • CityDto
    • MapString
    • Address
    • BuildingDto
    • GpsCoordinates
    • BuildingUpdateDto
    • CityUpdateDto
  1. Buildings

update

PUT
/api/buildings/{id}

Request

Path Params

Body Params multipart/form-data

Responses

🟢200
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://my-cities.domozone.com/api/buildings/'
Response Response Example
{
  "id": 0,
  "name": "",
  "architectureType": "",
  "architecturalElements": {
    "": ""
  },
  "address": {
    "street": "",
    "postalCode": ""
  },
  "gpsCoordinates": {
    "lat": 0.0,
    "lon": 0.0
  },
  "photos": [
    ""
  ],
  "cityId": 0
}
Modified at 2026-02-03 15:16:09
Previous
findById
Next
delete
Built with