Salaries
Create the default salary of a person
Changed onpost/api/v2/salaries/set_default
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/salaries/set_default
- Authnone declared
Request body
Response
Single salary
Example response
{
"data": {
"id": "34",
"type": "salaries",
"attributes": {
"default_salary": true,
"started_on": "2026-01-01",
"ended_on": null,
"salary_type_id": 1,
"working_hours": 40,
"overhead": false,
"note": null,
"exchange_rate": null,
"exchange_date": null,
"currency": "USD",
"cost": "85000.00",
"hourly_rate": "51.44"
},
"relationships": {
"person": {
"data": {
"type": "people",
"id": "12"
}
},
"holiday_calendar": {
"data": {
"type": "holiday_calendars",
"id": "3"
}
}
}
},
"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