Skip to main content
POST
Create a building work

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
authorizationNumber
string
required
Required string length: 1 - 200
status
enum<string>
required
Available options:
rejected,
pending,
approved,
partially_received,
received
unitIds
string<uuid>[]
required
Minimum array length: 1
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
description
string
Maximum string length: 2000
workNature
string
Maximum string length: 200
contractorName
string
Maximum string length: 200
supervisingTechnicianName
string
Maximum string length: 200
architectName
string
Maximum string length: 200
startAt
any
endAt
any

Response

Default Response

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
ref
string
required
Maximum string length: 40
Pattern: ^[A-Z]+-[1-9]\d*(?:-[A-Z]+-[1-9]\d*)*$