Gestão de Pessoas (hcm)

2.0info: 2.1.0 Headcount Backend description: Serviço de Quadro de vagas x-senior-domain: HCM x-senior-domain-path: hcm x-senior-service-path: headcount contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /hcm/headcountsecurityDefinitions: 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: /jobVacancyAvaliableOnStaffRequisition: post: description: Retorna a quantidade de vagas disponível no processo de requisição ou criação de vaga x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – companyId – workstationGroupId – staffRequisitionTypeCode – vacancyQuantity – referenceDate properties: companyId: type: string description: Id da empresa da admissão workstationGroupId: type: string description: Id do posto actingTypeId: type: string description: Id do Tipo de atuação actingTypeCode: type: integer description: Code do Tipo de atuação staffRequisitionTypeCode: type: integer description: Código do tipo de requisição vacancyQuantity: type: integer description: Quantidade de vagas referenceDate: type: string description: Data de referência isFlowProcess: type: boolean description: Utilizado em processo de aprovação responses: 200: description: Ok schema: type: object required: – jobVacancyAvaliable properties: jobVacancyAvaliable: #/definitions/jobVacancyAvaliable default: description: Error response schema: #/definitions/genericError get: description: Retorna a quantidade de vagas disponível no processo de requisição ou criação de vaga x-senior-event: false deprecated: false tags: – Endpoints security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: type: object required: – companyId – workstationGroupId – staffRequisitionTypeCode – vacancyQuantity – referenceDate properties: companyId: type: string description: Id da empresa da admissão workstationGroupId: type: string description: Id do posto actingTypeId: type: string description: Id do Tipo de atuação actingTypeCode: type: integer description: Code do Tipo de atuação staffRequisitionTypeCode: type: integer description: Código do tipo de requisição vacancyQuantity: type: integer description: Quantidade de vagas referenceDate: type: string description: Data de referência isFlowProcess: type: boolean description: Utilizado em processo de aprovação responses: 200: description: Ok schema: type: object required: – jobVacancyAvaliable properties: jobVacancyAvaliable: #/definitions/jobVacancyAvaliable default: description: Error response schema: #/definitions/genericErrordefinitions: consistencyType: type: string enum: – notConsist – allow – allowWithWarning – allowWithPermission – notAllow jobVacancyAvaliable: type: object required: – headCountBalance – effectiveCount – providedCount – temporaryCount – leaveCount – staffRequisitionCount – vacancyCount – message – consistencyType properties: headCountBalance: type: integer description: Saldo de vagas effectiveCount: type: integer description: Quantidade de efetivo providedCount: type: integer description: Quantidade de previstos temporaryCount: type: integer description: Quantidade de temporários leaveCount: type: integer description: Quantidade de afastados staffRequisitionCount: type: integer description: Quantidade de requisições de vaga vacancyCount: type: integer description: Quantidade de vagas message: type: string description: Mensagem consistencyType: #/definitions/consistencyType 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