Set award from library
documentedSet an award from the pay rate library for an employee.
POST /api/v1/supervise/employee/{employeeid}/setAwardFromLibraryPayrollno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl \"https://{{$install}}.{{$geo}}.deputy.com/api/v1/supervise/employee/{{$employee_id}}/setAwardFromLibrary\" \
-X POST \
-H \"Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}\" \
-H \"Content-Type: application/json\" \
-H \"Accept: application/json\" \
-d '{\"strCountryCode\": \"{{$country_code}}\", \"strAwardCode\": \"{{$award_code}}\", \"arrOverridePayRules\": [ { \"Id\": \"{{$base_pay_rule_id}}\", \"HourlyRate\": {{$hourly_rate}} } ] }'