Productive icon

Productive

Interact with the Productive API

Actions508

Salaries → Create a salary

AI-generated

Summary

Create a new salary entry in Productive by specifying the salary type ID, working hours for each day of the week, and optionally the start date and currency.

Inputs

  • Salary Type ID (required) — Numeric ID of the type of salary to create.
  • Started On — Date and time when the salary period starts.
  • Currency — Currency code for the salary amount.
  • Working Hours (required) — Seven numeric values representing daily working hours from Monday through Sunday.

Output shape

a single record representing the newly created salary resource

Output contains the API response for the created salary; fields correspond to the Productive API's salary object.

Examples

Example 1: Create a salary with salary type ID 5, 8 working hours Monday through Friday, no weekends, starting on 2024-01-01, currency USD

Set Salary Type ID to 5, Working Hours to [8,8,8,8,8,0,0], Started On to 2024-01-01, Currency to "USD"

Discussion