Creates an entitlement
Changed onCreate a new entitlement.
Request
- Base URLhttps://developer.productive.io (the document declares no server; this is the origin it was published from)
- URLhttps://developer.productive.io/api/v2/entitlements
- Authnone declared
Request body
Example request
{
"data": {
"type": "entitlements",
"attributes": {
"start_date": "2026-01-01",
"end_date": "2026-12-31",
"allocated": 1200,
"note": "Annual vacation entitlement 2026"
},
"relationships": {
"event": {
"data": {
"type": "events",
"id": "10"
}
},
"person": {
"data": {
"type": "people",
"id": "12"
}
}
}
}
}Response
Single entitlement
Example response
{
"data": {
"id": "23",
"type": "entitlements",
"attributes": {
"start_date": "2026-01-01",
"end_date": "2026-12-31",
"allocated": 1200,
"used": 480,
"pending": 960,
"note": "Annual vacation entitlement 2026"
},
"relationships": {
"event": {
"data": {
"type": "events",
"id": "10"
}
},
"person": {
"data": {
"type": "people",
"id": "12"
}
}
}
},
"included": []
}Changes
- warning
added the new
bad_decimal_formatenum value to the//response property for the response status - warning
added the new
non_finite_numberenum value to the//response property for the response status - warning
added the new
null_bytes_in_paramsenum value to the//response property for the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- warning
- breaking
the
//response's property type changed fromnumbertostringfor status - breaking
the
//response's property type changed fromstringto no type for status - breaking
the
//response's property type changed fromnumbertostringfor status - breaking
the
//response's property type changed fromnumbertostringfor status - warning
deleted the
headerrequest parameterX-Organization-Id - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added to the
//response propertyanyOflist for the response status - info
added
subschema #2to the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
removed
subschema #1: Single datafrom the//response propertyanyOflist for the response status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status - info
the response property
////became required for the status - info
the response property
/////became required for the status
This list may be incomplete.
- breaking