2.0info: 19.44.8 Remuneração description: Remuneração x-senior-domain: hcm x-senior-domain-path: hcm x-senior-service-path: remuneration contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /hcm/remunerationsecurityDefinitions: bearerAuth: type: apiKey in: header name: Authorization – application/json – application/jsonparameters: clientId: name: client_id type: string in: header required: true description: Identificação da aplicação cadastrada no portal do desenvolvedor (api.xplatform.com.br)paths: /getEmployeePreference: post: description: Solicitação para criação ou alteração de preferencia do colaborador vinculado ao usuario logado. x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – preferenceKey properties: preferenceKey: #/definitions/preferenceKey responses: 200: description: Ok schema: type: object required: – preferenceKey properties: preferenceKey: #/definitions/preferenceKey preferenceStringValue: type: string description: Valor String da preferencia preferenceBooleanValue: type: boolean description: Valor boolean da preferencia default: description: Error response schema: #/definitions/genericError get: description: Solicitação para criação ou alteração de preferencia do colaborador vinculado ao usuario logado. x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – preferenceKey properties: preferenceKey: #/definitions/preferenceKey responses: 200: description: Ok schema: type: object required: – preferenceKey properties: preferenceKey: #/definitions/preferenceKey preferenceStringValue: type: string description: Valor String da preferencia preferenceBooleanValue: type: boolean description: Valor boolean da preferencia default: description: Error response schema: #/definitions/genericError /saveWageScaleRevision: post: description: Salva uma nova revisão para uma tabela salarial existente x-senior-event: false deprecated: false tags: – Signals security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – wageScaleId – name – startDate – classes – reason properties: wageScaleId: type: string description: Id da tabela salarial name: type: string description: Nome da tabela salarial startDate: type: string description: Data de início da vigência classes: type: array items: #/definitions/wageClassDto description: Classes com os valores das faixas marketLevel: type: integer description: Indice da faixa de mercado salaryType: #/definitions/salaryType reason: type: string description: Motivo da nova revisão wageMarketValue: type: array items: #/definitions/wageMarketValueDto description: Nova faixa referência de mercado workshift: type: number description: Carga horária da tabela salarial insalubrityPercentage: type: boolean description: Validador para identificar percentual de insalubridade hazardPercentage: type: boolean description: Validador para identificar percentual de periculosidade additionalPercentageFunction: type: boolean description: Validador para identificar percentual de outros adicionais responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /saveWageScale: post: description: Salva a tabela salarial na base x-senior-event: false deprecated: false tags: – Signals security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – name – startDate – classes – salaryType – useWageMarketValue properties: name: type: string description: Nome da tabela salarial startDate: type: string description: Data de início da vigência classes: type: array items: #/definitions/wageClassDto description: Classes com os valores das faixas salaryType: #/definitions/salaryType marketLevel: type: integer description: Indice da faixa de mercado useWageMarketValue: type: boolean description: Utiliza a faixa referencia de mercado wageMarketValue: type: array items: #/definitions/wageMarketValueDto description: Nova faixa referência de mercado workshift: type: number description: Carga horária da tabela salarial insalubrityPercentage: type: boolean description: Validador para identificar percentual de insalubridade hazardPercentage: type: boolean description: Validador para identificar percentual de periculosidade additionalPercentageFunction: type: boolean description: Validador para identificar percentual de outros adicionais responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /saveEmployeePreference: post: description: Solicitação para criação ou alteração de preferencia do colaborador vinculado ao usuario logado. x-senior-event: false deprecated: false tags: – Signals security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – preferenceKey properties: preferenceKey: #/definitions/preferenceKey preferenceStringValue: type: string description: Valor String da preferencia preferenceBooleanValue: type: boolean description: Valor boolean da preferencia responses: 200: description: Ok default: description: Error response schema: #/definitions/genericErrordefinitions: preferenceKey: type: string enum: – DETAIL_FRAMEWORK_STATUS salaryType: type: string enum: – HOURLY – DAILY – WEEKLY – FORTNIGHTLY – MONTHLY – TAKERS – DYNAMIC – THIRD_PARTY wageClassDto: type: object properties: name: type: string description: Nome da classe values: type: array items: #/definitions/wageLevelDto description: Valores da faixa nesta classe wageLevelDto: type: object properties: id: type: string description: Id da entidade name: type: string description: Nome da entidade value: type: string description: Valor da faixa wageMarketValueDto: type: object properties: wageClassName: type: string description: Classe value: type: string description: Valor da faixa genericError: properties: message: type: string description: Messaging describing the error. reason: type: string description: A symbolic code identifying the category of the reason of the error. enum: – BAD_REQUEST – UNAUTHORIZED – PAYMENT_REQUIRED – FORBIDDEN – OBJECT_NOT_FOUND – REQUEST_TIMEOUT – GONE – UNPROCESSABLE – INTERNAL_ERROR – NOT_IMPLEMENTED – SERVICE_UNAVAILABLE – INSUFFICIENT_STORAGE