Skip to main content
POST
Create an agreement

Authorizations

Authorization
string
header
required

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

Body

application/json

Data to create an agreement

name
string
required

Agreement name

code
string
required

Agreement code

color
string
required

Color of agreement

annualHours
number<int>
required

Annual hours

Response

200 - application/json

Agreement created

id
string<uuid>