Salaries

Create the default salary of a person

Changed on
post/api/v2/salaries/set_default

Request

  • Base URL
    https://developer.productive.io (the document declares no server; this is the origin it was published from)
  • URL
    https://developer.productive.io/api/v2/salaries/set_default
  • Auth
    none 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_format enum value to the // response property for the response status

    • warning

      added the new non_finite_number enum value to the // response property for the response status

    • warning

      added the new null_bytes_in_params enum 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