Skip to main content
POST
Create apartment

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Body

application/json
name
string
required
Example:

"Seaside Villa"

registryId
string
required
Example:

"00002087410"

ownerId
integer
required
Example:

42

address
string
Example:

"123 Beach Road"

Response

Apartment created successfully

apartment
object
requestId
string
Example:

"a1b2c3d4-e5f6-7890-a1b2-c3d4e5f67890"