@@ -674,7 +674,7 @@ actions:
674674 " x-codeSamples " :
675675 - " lang " : " ruby"
676676 " label " : " hris_list_employee_employments"
677- " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisListEmployeeEmploymentsRequest.new(\n id: \" <id>\" ,\n fields_: \" id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,work_time,created_at,updated_at,start_date,end_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\" ,\n filter: Models::Operations::HrisListEmployeeEmploymentsQueryParamFilter.new(\n updated_after: \" 2020-01-01T00:00:00.000Z\" ,\n ),\n expand: \" groups\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.list_employee_employments(req)\n\n if ! res.employments_paginated.nil?\n # handle response\n end"
677+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisListEmployeeEmploymentsRequest.new(\n id: \" <id>\" ,\n fields_: \" id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,fte, effective_date,employment_type,employment_contract_type,work_time,created_at,updated_at,start_date,end_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\" ,\n filter: Models::Operations::HrisListEmployeeEmploymentsQueryParamFilter.new(\n updated_after: \" 2020-01-01T00:00:00.000Z\" ,\n ),\n expand: \" groups\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.list_employee_employments(req)\n\n if ! res.employments_paginated.nil?\n # handle response\n end"
678678 - target : $["paths"]["/unified/hris/employees/{id}/employments"]["post"]
679679 update :
680680 " x-codeSamples " :
@@ -686,7 +686,7 @@ actions:
686686 " x-codeSamples " :
687687 - " lang " : " ruby"
688688 " label " : " hris_get_employee_employment"
689- " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisGetEmployeeEmploymentRequest.new(\n id: \" <id>\" ,\n sub_resource_id: \" <id>\" ,\n fields_: \" id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,work_time,created_at,updated_at,start_date,end_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\" ,\n expand: \" groups\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.get_employee_employment(req)\n\n if ! res.employment_result.nil?\n # handle response\n end"
689+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisGetEmployeeEmploymentRequest.new(\n id: \" <id>\" ,\n sub_resource_id: \" <id>\" ,\n fields_: \" id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,fte, effective_date,employment_type,employment_contract_type,work_time,created_at,updated_at,start_date,end_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\" ,\n expand: \" groups\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.get_employee_employment(req)\n\n if ! res.employment_result.nil?\n # handle response\n end"
690690 - target : $["paths"]["/unified/hris/employees/{id}/employments/{subResourceId}"]["patch"]
691691 update :
692692 " x-codeSamples " :
@@ -794,13 +794,13 @@ actions:
794794 " x-codeSamples " :
795795 - " lang " : " ruby"
796796 " label " : " hris_list_employments"
797- " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisListEmploymentsRequest.new(\n fields_: \" id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,work_time,created_at,updated_at,start_date,end_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\" ,\n filter: Models::Operations::HrisListEmploymentsQueryParamFilter.new(\n updated_after: \" 2020-01-01T00:00:00.000Z\" ,\n ),\n expand: \" groups\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.list_employments(req)\n\n if ! res.employments_paginated.nil?\n # handle response\n end"
797+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisListEmploymentsRequest.new(\n fields_: \" id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,fte, effective_date,employment_type,employment_contract_type,work_time,created_at,updated_at,start_date,end_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\" ,\n filter: Models::Operations::HrisListEmploymentsQueryParamFilter.new(\n updated_after: \" 2020-01-01T00:00:00.000Z\" ,\n ),\n expand: \" groups\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.list_employments(req)\n\n if ! res.employments_paginated.nil?\n # handle response\n end"
798798 - target : $["paths"]["/unified/hris/employments/{id}"]["get"]
799799 update :
800800 " x-codeSamples " :
801801 - " lang " : " ruby"
802802 " label " : " hris_get_employment"
803- " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisGetEmploymentRequest.new(\n id: \" <id>\" ,\n fields_: \" id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,effective_date,employment_type,employment_contract_type,work_time,created_at,updated_at,start_date,end_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\" ,\n expand: \" groups\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.get_employment(req)\n\n if ! res.employment_result.nil?\n # handle response\n end"
803+ " source " : " require 'stackone_client'\n\n s = ::StackOne::StackOne.new(\n security: Models::Shared::Security.new(\n username: \"\" ,\n password: \"\" ,\n ),\n )\n\n req = Models::Operations::HrisGetEmploymentRequest.new(\n id: \" <id>\" ,\n fields_: \" id,remote_id,employee_id,remote_employee_id,job_title,pay_rate,pay_period,pay_frequency,pay_currency,fte, effective_date,employment_type,employment_contract_type,work_time,created_at,updated_at,start_date,end_date,active,department,team,cost_center,cost_centers,division,job,type,contract_type,manager\" ,\n expand: \" groups\" ,\n x_account_id: \" <id>\" ,\n )\n\n res = s.hris.get_employment(req)\n\n if ! res.employment_result.nil?\n # handle response\n end"
804804 - target : $["paths"]["/unified/hris/groups"]["get"]
805805 update :
806806 " x-codeSamples " :
0 commit comments