2.0info: 5.3.1 HCM – Careers Resume description: HCM – Careers Resume x-senior-domain: HCM x-senior-domain-path: hcm x-senior-service-path: careersresume contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: platform.senior.com.br /t/senior.com.br/bridge/1.0/rest/hcmsecurityDefinitions: APIKeyHeader: type: apiKey in: header name: Authorizationsecurity: – APIKeyHeader: [] – application/json – application/jsonpaths: /careersresume/queries/healthcheck: post: description: HealthCheck Plataforma tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/healthcheckDTO description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: HealthCheck Plataforma tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – status – checks properties: status: type: string allOf: – #/definitions/healthcheckDTO description: Status de retorno checks: type: object allOf: – #/definitions/checkDTO description: Checks executados 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/queries/getMyProfile: post: description: Obter informações do perfil do candidato tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/candidateDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obter informações do perfil do candidato tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/candidateDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/queries/getMyPicture: post: description: Obter o profile picture id tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – profilePictureHash properties: profilePictureHash: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obter o profile picture id tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – profilePictureHash properties: profilePictureHash: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/queries/getMyResume: post: description: Obter curriculo do candidato tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – resume properties: resume: type: object allOf: – #/definitions/getMyProfileResumeDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Obter curriculo do candidato tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – resume properties: resume: type: object allOf: – #/definitions/getMyProfileResumeDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/queries/checkDocument: post: description: Verificar se o documento já existe cadastrado para outro usuário tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – documentType – documentNumber properties: documentType: type: string description: Nome do documento único documentNumber: type: string description: Número do documento único responses: 200: description: Ok schema: type: object required: – documentAlreadyInUse properties: documentAlreadyInUse: type: boolean description: Booleano que indica se o documento já existe para outro usuário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Verificar se o documento já existe cadastrado para outro usuário tags: – Queries x-senior-visibility: PRIVATE parameters: – name: documentType description: Nome do documento único in: query required: true type: string – name: documentNumber description: Número do documento único in: query required: true type: string responses: 200: description: Ok schema: type: object required: – documentAlreadyInUse properties: documentAlreadyInUse: type: boolean description: Booleano que indica se o documento já existe para outro usuário 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/queries/findCandidateByUserId: post: description: Retorna o cadastro de um candidato pelo identificador do usuário gerado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – identifier properties: identifier: type: string description: responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/candidateDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Retorna o cadastro de um candidato pelo identificador do usuário gerado tags: – Queries x-senior-visibility: PRIVATE parameters: – name: identifier description: in: query required: true type: string responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/candidateDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/queries/getProfileAndResumeByCandidateId: post: description: Primitiva que busca os dados do candidato e seu currículo a partir do CandidateId tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – candidateId properties: candidateId: type: string description: identificador do candidato responses: 200: description: Ok schema: type: object required: – profile – resume properties: profile: type: object allOf: – #/definitions/candidateDTO description: dados do candidato resume: type: object allOf: – #/definitions/profileResumeDTO description: informações profissionais do candidato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Primitiva que busca os dados do candidato e seu currículo a partir do CandidateId tags: – Queries x-senior-visibility: PRIVATE parameters: – name: candidateId description: identificador do candidato in: query required: true type: string responses: 200: description: Ok schema: type: object required: – profile – resume properties: profile: type: object allOf: – #/definitions/candidateDTO description: dados do candidato resume: type: object allOf: – #/definitions/profileResumeDTO description: informações profissionais do candidato 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/queries/getMetadata: post: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object properties: metadataFormat: type: string description: responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Default getMetadata query. Every service must handle this command and return metadata in the format requested. tags: – Queries x-senior-visibility: PRIVATE parameters: – name: metadataFormat description: in: query type: string responses: 200: description: Ok schema: type: object required: – metadata properties: metadata: type: string description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/queries/getDependencies: post: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError get: description: Returns a list with all dependencies from this service, along with their respective versions tags: – Queries x-senior-visibility: PRIVATE responses: 200: description: Ok schema: type: object required: – dependencies properties: dependencies: type: array items: type: object allOf: – #/definitions/dependency minimum: 1 description: List with this service dependencies 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/actions/migrateSchema: post: description: Realiza a migração do schema do banco de dados tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/actions/saveCandidate: post: description: Salva as informações do perfil do candidato tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/candidateDTO description: responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/candidateDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/actions/updateBasicDataCandidate: post: description: Atualiza informações básicas do perfil do candidato tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/basicDataCandidateDTO description: responses: 200: description: Ok schema: type: object required: – profile properties: profile: type: object allOf: – #/definitions/basicDataCandidateDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/actions/updateMyPicture: post: description: Atualizar profile picture tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – profilePictureHash properties: profilePictureHash: type: string description: responses: 200: description: Ok schema: type: object 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/actions/saveResume: post: description: Salvar/Atualizar o currículo do candidato tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – name – information properties: id: type: string description: Identificador do registro de currículo de perfil name: type: string description: Nome do currículo information: type: string format: byte description: Informações do curriculo responses: 200: description: Ok schema: type: object required: – resume properties: resume: type: object allOf: – #/definitions/profileResumeDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericError /careersresume/actions/sanitizeResume: post: description: Atualizar informações irregulares do currículo tags: – Actions x-senior-visibility: PRIVATE parameters: – name: input in: body required: true schema: type: object required: – id – sanitizeKey properties: id: type: string description: Identificador do registro do candidato sanitizeKey: type: string description: Identificador String para sanitização responses: 200: description: Ok schema: type: object required: – resume properties: resume: type: object allOf: – #/definitions/profileResumeDTO description: 401: description: Invalid Credentials default: description: Error response schema: #/definitions/genericErrordefinitions: healthcheckDTO: description: Status do healthcheck type: string enum: – UP – DOWN typeNameDTO: description: Tipo de nome utilizado pelo candidato type: string enum: – SOCIAL_NAME – CIVIL_NAME userNotificationKind: description: User notification kind. type: string enum: – Operational – Management – News userNotificationPriority: description: User notification priority. type: string enum: – Error – Alert – None eventEmailFormat: description: Format of the email type: string enum: – HTML – PLAIN_TEXT checkDTO: description: Retorno status usados de retorno type: object required: – name – status properties: name: type: string description: Nome do status status: type: string allOf: – #/definitions/healthcheckDTO description: Status basicDataCandidateDTO: description: Informações básicas do cadastro do candidato discriminator: _discriminator type: object required: – firstName – lastName – documentType – documentNumber – birthDate – _discriminator properties: typeName: type: string allOf: – #/definitions/typeNameDTO description: Tipo de nome utilizado firstName: type: string description: Nome do candidato lastName: type: string description: Sobrenome do candidato documentType: type: string description: Nome do documento único documentNumber: type: string description: Número do documento único birthDate: type: string format: date description: Data de nascimento _discriminator: type: string description: candidateDTO: description: Armazena as informações de identificação do candidato allOf: – #/definitions/basicDataCandidateDTO – type: object required: – isConfirmedEmail – isConfirmedPhoneNumber – userId – username properties: id: type: string description: Identificador do registro profilePictureHash: type: string description: Hash gerado para a foto do candidato email: type: string description: E-mail isConfirmedEmail: type: boolean description: E-mail confirmado phoneNumber: type: string description: Telefone Celular isConfirmedPhoneNumber: type: boolean description: Telefone confirmado language: type: string description: Idioma preferencial default: pt-BR countryAbbreviation: type: string description: País de origem no padrão: ISO 3166-1 alpha-2 default: BR userId: type: string description: Identificador do usuário username: type: string description: Usuário gerado no serviço de autenticação profileResumeDTO: description: Armazena as informações do curriculo do candidato discriminator: _discriminator type: object required: – _discriminator properties: id: type: string description: Identificador do registro de currículo de perfil name: type: string description: Nome do currículo information: type: string format: byte description: Informações do curriculo candidateId: type: string description: Id do candidato _discriminator: type: string description: getMyProfileResumeDTO: description: Estrutura de dados com as informações de currículo do candidato junto com atributos customizados allOf: – #/definitions/profileResumeDTO – type: object properties: hasData: type: boolean description: Flag para indicar se o perfil tem ou não ao menos um dado preenchido default: false notifyUserEventPayload: description: Represents a regular user event notification payload discriminator: _discriminator type: object required: – notificationKind – notificationPriority – notificationSubject – notificationContent – sourceDomain – sourceService – destinationUser – _discriminator properties: notificationClass: type: string description: Class of notification notificationOrigin: type: string description: Origin of notification. Free text. Optional. notificationKind: type: string allOf: – #/definitions/userNotificationKind description: Notification kind. notificationPriority: type: string allOf: – #/definitions/userNotificationPriority description: Notification priority. notificationSubject: type: string description: Notification subject. notificationContent: type: string description: Notification content. sourceDomain: type: string description: Domain that generates the notification. sourceService: type: string description: Service that generates the notification. destinationUser: type: string description: Username of the destination user. link: type: string description: Notification link _discriminator: type: string description: emailNotifyUserEventPayload: description: Represents an email notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – from properties: from: type: string description: Email sender address sendTo: type: array items: type: string description: Additional recipients to send the email to format: type: string allOf: – #/definitions/eventEmailFormat description: Email format pushNotifyUserEventPayload: description: Represents a push notification payload allOf: – #/definitions/notifyUserEventPayload – type: object required: – applicationId properties: applicationId: type: string description: Apple/Google application id blobReference: description: Default blob reference type. Every service defines its own. type: object required: – targetObjectId properties: domainName: type: string description: The domain the blob belongs to. serviceName: type: string description: The service the blob belongs to. targetObjectId: type: string description: The basic id of the blob. targetCopyId: type: string description: The id of the blob copy. basicErrorPayload: description: Default error payload type. Every service defines its own. type: object properties: message: type: string description: The user-facing error message, if any. errorCode: type: string description: The program-accessible (and service-specific) error code. dependency: description: Represents a service dependency type: object required: – domain – service – version properties: domain: type: string description: Domain of the dependency service service: type: string description: Name of the dependency service type: string description: Version of the dependency service 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