2.0info: 0.3.0 Contrato description: HCM – Contract: projeto-base das APIs publicas do colaborador (fachadas, teste de contrato e stubs confiaveis) x-senior-domain: HCM x-senior-domain-path: hcm x-senior-service-path: contract contact: name: Senior X Platform url: https://dev.senior.com.br email: seniorx-dev@senior.com.brhost: api.senior.com.br /hcm/contractsecurityDefinitions: 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: /apis/leaveHistory: post: description: The create request primitive for the leaveHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/leaveHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/leaveHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The list request primitive for the leaveHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: object required: – contents properties: contents: #/definitions/leaveHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/leaveHistory/{id}: put: description: The update request primitive for the leaveHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: input in: body required: true schema: #/definitions/leaveHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/leaveHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The retrieve request primitive for the leaveHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/leaveHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError delete: description: The delete request primitive for the leaveHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /apis/jobPositionHistory: post: description: The create request primitive for the jobPositionHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/jobPositionHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/jobPositionHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The list request primitive for the jobPositionHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: object required: – contents properties: contents: #/definitions/jobPositionHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/jobPositionHistory/{id}: put: description: The update request primitive for the jobPositionHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: input in: body required: true schema: #/definitions/jobPositionHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/jobPositionHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The retrieve request primitive for the jobPositionHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/jobPositionHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError delete: description: The delete request primitive for the jobPositionHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /apis/employmentRelationshipHistory: post: description: The create request primitive for the employmentRelationshipHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/employmentRelationshipHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/employmentRelationshipHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The list request primitive for the employmentRelationshipHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: object required: – contents properties: contents: #/definitions/employmentRelationshipHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/employmentRelationshipHistory/{id}: put: description: The update request primitive for the employmentRelationshipHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: input in: body required: true schema: #/definitions/employmentRelationshipHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/employmentRelationshipHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The retrieve request primitive for the employmentRelationshipHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/employmentRelationshipHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError delete: description: The delete request primitive for the employmentRelationshipHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /apis/locationHistory: post: description: The create request primitive for the locationHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/locationHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/locationHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The list request primitive for the locationHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: object required: – contents properties: contents: #/definitions/locationHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/locationHistory/{id}: put: description: The update request primitive for the locationHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: input in: body required: true schema: #/definitions/locationHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/locationHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The retrieve request primitive for the locationHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/locationHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError delete: description: The delete request primitive for the locationHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /apis/costCenterHistory: post: description: The create request primitive for the costCenterHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/costCenterHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/costCenterHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The list request primitive for the costCenterHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: object required: – contents properties: contents: #/definitions/costCenterHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/costCenterHistory/{id}: put: description: The update request primitive for the costCenterHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: input in: body required: true schema: #/definitions/costCenterHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/costCenterHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The retrieve request primitive for the costCenterHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/costCenterHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError delete: description: The delete request primitive for the costCenterHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /apis/syndicateHistory: post: description: The create request primitive for the syndicateHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/syndicateHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/syndicateHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The list request primitive for the syndicateHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: object required: – contents properties: contents: #/definitions/syndicateHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/syndicateHistory/{id}: put: description: The update request primitive for the syndicateHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: input in: body required: true schema: #/definitions/syndicateHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/syndicateHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The retrieve request primitive for the syndicateHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/syndicateHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError delete: description: The delete request primitive for the syndicateHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericError /apis/employee: post: description: The create request primitive for the employee facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/employeeFacadeInput responses: 200: description: Ok schema: #/definitions/employeeFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The list request primitive for the employee facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: object required: – contents properties: contents: #/definitions/employeeFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/employee/{id}: get: description: The retrieve request primitive for the employee facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/employeeFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/person: post: description: The create request primitive for the person facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/personFacadeInput responses: 200: description: Ok schema: #/definitions/personFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/person/{id}: put: description: The update request primitive for the person facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: input in: body required: true schema: #/definitions/personFacadeInput responses: 200: description: Ok schema: #/definitions/personFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The retrieve request primitive for the person facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/personFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/workshiftHistory: post: description: The create request primitive for the workshiftHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: input in: body required: true schema: #/definitions/workshiftHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/workshiftHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The list request primitive for the workshiftHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: offset in: query type: number – name: size in: query type: number responses: 200: description: Ok schema: type: object required: – contents properties: contents: #/definitions/workshiftHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError /apis/workshiftHistory/{id}: put: description: The update request primitive for the workshiftHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string – name: input in: body required: true schema: #/definitions/workshiftHistoryFacadeInput responses: 200: description: Ok schema: #/definitions/workshiftHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError get: description: The retrieve request primitive for the workshiftHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok schema: #/definitions/workshiftHistoryFacadeOutput default: description: Error response schema: #/definitions/genericError delete: description: The delete request primitive for the workshiftHistory facade. deprecated: false tags: – Apis security: – bearerAuth: [] parameters: – #/parameters/clientId – name: id in: path required: true type: string responses: 200: description: Ok default: description: Error response schema: #/definitions/genericErrordefinitions: personGender: type: string enum: – FEMALE – MALE personKinship: type: string enum: – MOTHER – FATHER – SON – SPOUSE – GRANDFATHER_GRANDMOTHER – GREAT_GRANDFATHER – NEPHEW – UNCLE – GRANDSON – FATHER_IN_LAW – SON_IN_LAW_DAUGHTER_IN_LAW – STEPSON – BROTHER – ADOPTED_CHILD – PENSIONERS – COMPANION – GUARDIANSHIP – MINOR_UNDER_GUARD – STEPMOTHER – STEPFATHER – TUTOR – EX_SPOUSE – GREAT_GRANDSON – EX_PARTNER – CONCUBINE – CURATORSHIP – SOCIOAFFECTIVE – OTHERS personMaritalStatus: type: string enum: – SINGLE – MARRIED – DIVORCED – SEPARATED – WIDOWED – STABLE_UNION personEducationLevel: type: string enum: – ILLITERATE – ELEMENTARY_EARLY_YEARS_INCOMPLETE – ELEMENTARY_EARLY_YEARS_COMPLETE – ELEMENTARY_FINAL_YEARS_INCOMPLETE – ELEMENTARY_COMPLETE – HIGH_SCHOOL_INCOMPLETE – HIGH_SCHOOL_COMPLETE – HIGHER_EDUCATION_INCOMPLETE – HIGHER_EDUCATION_COMPLETE – POSTGRADUATE_COMPLETE – MASTERS_COMPLETE – DOCTORATE_COMPLETE personRaceColor: type: string enum: – WHITE – BLACK – BROWN – YELLOW – INDIGENOUS – NOT_INFORMED personProfessionalCouncilSituation: type: string enum: – DEFINITIVE – TEMPORARY_PROVISIONAL personResidencyPeriod: type: string enum: – INDEFINITE – DEFINITE personForeignerCondition: type: string enum: – REFUGEE – ASYLUM_SEEKER – FAMILY_REUNIFICATION – MERCOSUR_AGREEMENT – DIPLOMATIC_DEPENDENT – PORTUGAL_TREATY – OTHER personDriverLicenseCategory: type: string enum: – A – B – C – D – E – AB – AC – AD – AE personCivilCertificateType: type: string enum: – BIRTH_CERTIFICATE – WEDDING_CERTIFICATE – INDIGENOUS_CERTIFICATE employeeAdmissionType: type: string enum: – ADMISSION – SAME_ECONOMIC_GROUP_TRANSFER – CONSORTIUM_TRANSFER – SUCCESSION_TRANSFER – DOMESTIC_EMPLOYEE_TRANSFER – CPF_CHANGE – UNFIT_PREDECESSOR_TRANSFER employeeAdmissionOrigin: type: string enum: – REGULAR – TAX_ACTION – COURT_DECISION employeeContractTermType: type: string enum: – INDEFINITE – FIXED_IN_DAYS – FIXED_BY_EVENT employeeCompanyRegistrationType: type: string enum: – CNPJ – CEI – CPF employeeSalaryType: type: string enum: – HOURLY – DAILY – WEEKLY – BIWEEKLY – MONTHLY – PER_TASK – COMMISSION_ONLY eSocialWorkingHours: type: string enum: – SUBJECT_TO_WORKING_HOURS – EXTERNAL_ACTIVITY – MANAGEMENT_POSITION – TELEWORK employeePaymentMode: type: string enum: – CHECK – MONEY – PAY_ORDER – BANK_RELATIONSHIP employeeSalaryAdvance: type: string enum: – YES – NO – YES_AFTER_THE_END_OF_CONTRACTUAL_EXPERIENCE employeeBankAccountType: type: string enum: – CHECKING_ACCOUNT – SAVINGS_ACCOUNT – SALARY_ACCOUNT – OTHER employeeApprenticeHiringType: type: string enum: – DIRECT – INDIRECT employeeRegistrationType: type: string enum: – CNPJ – CPF employeeInternshipNature: type: string enum: – MANDATORY – NON_MANDATORY employeeInternshipLevel: type: string enum: – ELEMENTARY – HIGH_SCHOOL – VOCATIONAL – HIGHER_EDUCATION – SPECIAL – SOCIAL_MOTHER employeeTrainingType: type: string enum: – ELECTRICAL_INSTALLATIONS – MACHINE_OPERATION employeePatModality: type: string enum: – OWN_SERVICE – KITCHEN_MANAGEMENT – MEAL_AGREEMENT – TRANSPORTED_MEALS – FOOD_BASKET – FOOD_AGREEMENT employeeModuleType: type: string enum: – HCMHRI – HCMFLX – HCMCEM – HCMSF – HCMGRS – HCMAMP employeeSituation: type: string enum: – WORKING – VACATION – ILLNESS_AID – LABOR_ACCIDENT – MILITARY_SERVICE – MATERNITY_LEAVE – MATERNITY_LEAVE_NON_CRIMINAL_ABORTION – MATERNITY_LEAVE_ANTICIPATION_EXTENSION – CITIZEN_COMPANY_MATERNITY – INSS_MATERNITY_LEAVE – LEAVE_WITHOUT_COMPENSATION – PAID_LEAVE – PATERNITY_LEAVE – CITIZEN_COMPANY_PATERNITY – COLLECTIVE_VACATION – MEDICAL_LEAVE – MEDICAL_LEAVE_WITHOUT_INSS – ABSENCES – OVERTIME – TIME_EVALUATION_SITUATION – PRECAUTION_READINESS – TRADE_UNION_MANDATE – WORK_ACCIDENT_LEAVE – WORK_ACCIDENT_LEAVE_WITHOUT_INSS – RETIREMENT_DUE_TO_DISABILITY – PROFESSIONAL_QUALIFICATION – PRIOR_NOTICE_HOURS_WORKED – OTHERS – DISMISSED – REINSTATEMENT – MATERNITY_LEAVE_60_DAYS_LAW_15156 – CONTRACT_SUSPENDED_INDIRECT_RESCISSION – CONTRACT_SUSPENDED_MISCONDUCT_INQUIRY employeeContractType: type: string enum: – EMPLOYEE – DIRECTOR – TRAINEE – APPRENTICE – THIRD_PARTY leaveChangeOrigin: type: string enum: – EMPLOYER_INITIATIVE – ADMINISTRATIVE_REVIEW – COURT_ORDER leaveProcessType: type: string enum: – ADMINISTRATIVE – JUDICIAL – INSS_BENEFIT_NUMBER leaveRemunerationBurden: type: string enum: – EMPLOYER_ONLY – UNION_ONLY – EMPLOYER_AND_UNION leaveWorkAccidentType: type: string enum: – RUN_OVER – COLLISION – OTHER leaveOrigin: type: string enum: – VACATION_LOSS personFacadeInput: type: object required: – identification – documents properties: id: type: string description: format: uuid identification: #/definitions/personIdentification complement: #/definitions/personComplementInput birthPlace: #/definitions/personPlaceInput address: #/definitions/personAddressInput phones: #/definitions/personPhones email: type: string description: E-mail. Dado pessoal sujeito à LGPD. disability: #/definitions/personDisability documents: #/definitions/personDocumentsInput employmentCard: #/definitions/personEmploymentCardInput foreigner: #/definitions/personForeigner identityCard: #/definitions/personIdentityCardInput additionalDocuments: #/definitions/personAdditionalDocumentsInput personIdentification: type: object required: – fullName – birthDate properties: fullName: type: string description: Nome completo, com até 80 caracteres. Exemplo: Maria da Silva. nickname: type: string description: Apelido. gender: #/definitions/personGender birthDate: type: string description: Data de nascimento no formato AAAA-MM-DD. Exemplo: 1990-05-20. format: date parent1Name: type: string description: Nome da filiação 1. parent1Kinship: #/definitions/personKinship parent2Name: type: string description: Nome da filiação 2. parent2Kinship: #/definitions/personKinship personComplementInput: type: object properties: maritalStatus: #/definitions/personMaritalStatus educationLevel: #/definitions/personEducationLevel nationality: #/definitions/contractIdReference raceColor: #/definitions/personRaceColor socialName: type: string description: Nome social. religion: type: string description: Religião. Dado pessoal sensível sujeito à LGPD. contractIdReference: type: object required: – id properties: id: type: string description: Identificador único (UUID) do registro personPlaceInput: type: object properties: country: #/definitions/contractIdReference state: #/definitions/contractIdReference city: #/definitions/contractIdReference personAddressInput: type: object properties: postalCode: type: string description: Código postal. zipCode: type: string description: ZIP code. country: #/definitions/contractIdReference state: #/definitions/contractIdReference city: #/definitions/contractIdReference neighborhood: type: string description: Bairro. district: type: string description: Distrito. street: type: string description: Logradouro. number: type: string description: Número. complement: type: string description: Complemento do endereço. personPhones: type: object properties: number: type: string description: Telefone principal. extension: type: string description: Ramal do telefone principal. secondNumber: type: string description: Telefone secundário. secondExtension: type: string description: Ramal do telefone secundário. personDisability: type: object properties: hasDisability: type: boolean description: Indica se a pessoa possui deficiência. occupiesQuota: type: boolean description: Indica se preenche cota de pessoa com deficiência. rehabilitated: type: boolean description: Indica se a pessoa é reabilitada. physical: type: boolean description: Deficiência física. visual: type: boolean description: Deficiência visual. hearing: type: boolean description: Deficiência auditiva. mental: type: boolean description: Deficiência mental. intellectual: type: boolean description: Deficiência intelectual. notes: type: string description: Observações sobre a deficiência. personDocumentsInput: type: object required: – cpf properties: cpf: type: string description: CPF com exatamente 11 dígitos numéricos, sem máscara. Exemplo: 12345678909. Formato diferente retorna 400. CPF já usado por outra pessoa retorna 409. pis: type: string description: Número do PIS. pisIssueDate: type: string description: Data de emissão do PIS. format: date personEmploymentCardInput: type: object properties: ctpsNumber: type: string description: Número da carteira de trabalho. ctpsSeries: type: string description: Série da carteira de trabalho. ctpsState: #/definitions/contractIdReference ctpsIssueDate: type: string description: Data de emissão da carteira de trabalho. format: date professionalCouncil: #/definitions/contractIdReference professionalCouncilRecord: type: integer description: Número do registro no conselho profissional. professionalCouncilSituation: #/definitions/personProfessionalCouncilSituation mteProfessionalRecord: type: string description: Registro profissional no MTE. professionalCouncilIssueDate: type: string description: Data de emissão do registro no conselho profissional. format: date professionalCouncilRecordDueDate: type: string description: Data de vencimento do registro no conselho profissional. format: date personForeigner: type: object properties: arrivalDate: type: string description: Data de chegada ao Brasil. format: date residencyPeriod: #/definitions/personResidencyPeriod condition: #/definitions/personForeignerCondition nationalRegister: type: string description: Registro nacional de estrangeiro. nationalRegisterIssuer: type: string description: Órgão emissor do registro nacional de estrangeiro. nationalRegisterIssueDate: type: string description: Data de expedição do registro nacional de estrangeiro. format: date visaValidityDate: type: string description: Data de validade do visto. format: date ctpsValidityDate: type: string description: Data de validade da carteira de trabalho. format: date marriedToBrazilian: type: boolean description: Indica se a pessoa é casada com brasileiro. hasBrazilianChildren: type: boolean description: Indica se a pessoa possui filhos brasileiros. naturalizationNumber: type: string description: Número da portaria de naturalização. naturalizationDate: type: string description: Data de naturalização. format: date personIdentityCardInput: type: object properties: rgNumber: type: string description: Número do RG. rgIssuer: type: string description: Órgão emissor do RG. rgIssuerState: #/definitions/contractIdReference rgIssueDate: type: string description: Data de emissão do RG. format: date personAdditionalDocumentsInput: type: object properties: voterRegistrationCard: type: string description: Título de eleitor. pollingStation: type: string description: Zona eleitoral. voterRegistrationSection: type: string description: Seção do título de eleitor. driverLicense: type: string description: Número da carteira nacional de habilitação. driverLicenseCategory: #/definitions/personDriverLicenseCategory driverLicenseState: #/definitions/contractIdReference driverLicenseIssueDate: type: string description: Data de emissão da carteira nacional de habilitação. format: date driverLicenseValidityDate: type: string description: Data de validade da carteira nacional de habilitação. format: date firstDriverLicenseDate: type: string description: Data da primeira carteira nacional de habilitação. format: date reservistCertificate: type: string description: Certificado de reservista. reservistCertificateCategory: type: string description: Categoria do certificado de reservista. civilCertificateType: #/definitions/personCivilCertificateType civilCertificateIssueDate: type: string description: Data de emissão da certidão civil. format: date civilCertificateRegisterNumber: type: string description: Matrícula da certidão civil. civilCertificateTerm: type: string description: Termo da certidão civil. civilCertificateBook: type: string description: Livro da certidão civil. civilCertificatePage: type: string description: Folha da certidão civil. civilCertificateNotaryOffice: type: string description: Cartório da certidão civil. civilCertificateState: #/definitions/contractIdReference liveBirthDeclaration: type: string description: Declaração de nascido vivo. nationalHealthCard: type: string description: Cartão nacional de saúde. Dado pessoal sujeito à LGPD. deathCertificateIssueDate: type: string description: Data de emissão da certidão de óbito. format: date deathCertificateRegisterNumber: type: string description: Matrícula da certidão de óbito. deathCertificateNumber: type: string description: Número da certidão de óbito. personFacadeOutput: type: object required: – id – identification properties: id: type: string description: Identificador UUID da pessoa. Na consulta e na edição é o mesmo informado na rota; cadastro e edição devolvem somente este campo. identification: #/definitions/personIdentification complement: #/definitions/personComplementOutput birthPlace: #/definitions/personPlaceOutput address: #/definitions/personAddressOutput phones: #/definitions/personPhones email: type: string description: E-mail. Dado pessoal sujeito à LGPD. disability: #/definitions/personDisability documents: #/definitions/personDocuments employmentCard: #/definitions/personEmploymentCardOutput foreigner: #/definitions/personForeigner identityCard: #/definitions/personIdentityCardOutput additionalDocuments: #/definitions/personAdditionalDocumentsOutput personComplementOutput: type: object properties: maritalStatus: #/definitions/personMaritalStatus educationLevel: #/definitions/personEducationLevel nationality: #/definitions/contractReference raceColor: #/definitions/personRaceColor socialName: type: string description: Nome social. religion: type: string description: Religião. Dado pessoal sensível sujeito à LGPD. contractReference: type: object properties: id: type: string description: Identificador unico do registro. Ausente quando o serviço dono devolve só código e nome. code: type: string description: Codigo do registro name: type: string description: Nome do registro personPlaceOutput: type: object properties: country: #/definitions/contractReference state: #/definitions/contractReference city: #/definitions/contractReference personAddressOutput: type: object properties: postalCode: type: string description: Código postal. zipCode: type: string description: ZIP code. country: #/definitions/contractReference state: #/definitions/contractReference city: #/definitions/contractReference neighborhood: type: string description: Bairro. district: type: string description: Distrito. street: type: string description: Logradouro. number: type: string description: Número. complement: type: string description: Complemento do endereço. personDocuments: type: object properties: cpf: type: string description: CPF com 11 dígitos, sem formatação. Exemplo: 12345678909. pis: type: string description: Número do PIS. pisIssueDate: type: string description: Data de emissão do PIS. format: date personEmploymentCardOutput: type: object properties: ctpsNumber: type: string description: Número da carteira de trabalho. ctpsSeries: type: string description: Série da carteira de trabalho. ctpsState: #/definitions/contractReference ctpsIssueDate: type: string description: Data de emissão da carteira de trabalho. format: date professionalCouncil: #/definitions/contractReference professionalCouncilRecord: type: integer description: Número do registro no conselho profissional. professionalCouncilSituation: #/definitions/personProfessionalCouncilSituation mteProfessionalRecord: type: string description: Registro profissional no MTE. professionalCouncilIssueDate: type: string description: Data de emissão do registro no conselho profissional. format: date professionalCouncilRecordDueDate: type: string description: Data de vencimento do registro no conselho profissional. format: date personIdentityCardOutput: type: object properties: rgNumber: type: string description: Número do RG. rgIssuer: type: string description: Órgão emissor do RG. rgIssuerState: #/definitions/contractReference rgIssueDate: type: string description: Data de emissão do RG. format: date personAdditionalDocumentsOutput: type: object properties: voterRegistrationCard: type: string description: Título de eleitor. pollingStation: type: string description: Zona eleitoral. voterRegistrationSection: type: string description: Seção do título de eleitor. driverLicense: type: string description: Número da carteira nacional de habilitação. driverLicenseCategory: #/definitions/personDriverLicenseCategory driverLicenseState: #/definitions/contractReference driverLicenseIssueDate: type: string description: Data de emissão da carteira nacional de habilitação. format: date driverLicenseValidityDate: type: string description: Data de validade da carteira nacional de habilitação. format: date firstDriverLicenseDate: type: string description: Data da primeira carteira nacional de habilitação. format: date reservistCertificate: type: string description: Certificado de reservista. reservistCertificateCategory: type: string description: Categoria do certificado de reservista. civilCertificateType: #/definitions/personCivilCertificateType civilCertificateIssueDate: type: string description: Data de emissão da certidão civil. format: date civilCertificateRegisterNumber: type: string description: Matrícula da certidão civil. civilCertificateTerm: type: string description: Termo da certidão civil. civilCertificateBook: type: string description: Livro da certidão civil. civilCertificatePage: type: string description: Folha da certidão civil. civilCertificateNotaryOffice: type: string description: Cartório da certidão civil. civilCertificateState: #/definitions/contractReference liveBirthDeclaration: type: string description: Declaração de nascido vivo. nationalHealthCard: type: string description: Cartão nacional de saúde. Dado pessoal sujeito à LGPD. deathCertificateIssueDate: type: string description: Data de emissão da certidão de óbito. format: date deathCertificateRegisterNumber: type: string description: Matrícula da certidão de óbito. deathCertificateNumber: type: string description: Número da certidão de óbito. employeeFacadeInput: type: object required: – person – employment – contractTerm – remuneration – workplace properties: id: type: string description: format: uuid person: #/definitions/contractIdReference employment: #/definitions/employeeEmploymentInput contractTerm: #/definitions/employeeContractTerm succession: #/definitions/employeeSuccession remuneration: #/definitions/employeeRemuneration workplace: #/definitions/employeeWorkplaceInput workSchedule: #/definitions/employeeWorkScheduleInput union: #/definitions/employeeUnionInput payment: #/definitions/employeePaymentInput apprenticeship: #/definitions/employeeApprenticeship internship: #/definitions/employeeInternshipInput selfEmployedTransporter: #/definitions/employeeSelfEmployedTransporter occupationalHealth: #/definitions/employeeOccupationalHealth timeTracking: #/definitions/employeeTimeTracking contact: #/definitions/employeeContact trainings: type: array items: #/definitions/employeeTraining description: Treinamentos determinados por norma regulamentadora. foodBenefit: #/definitions/employeeFoodBenefit modules: type: array items: #/definitions/employeeModuleType description: Módulos do HCM em que o colaborador será cadastrado. employeeEmploymentInput: type: object required: – employer – employmentRelationship – hireDate – code properties: employer: #/definitions/contractIdReference employmentRelationship: #/definitions/contractIdReference hireDate: type: string description: Data de admissão. format: date registrationNumber: type: integer description: Número da ficha de registro. code: type: integer description: Matrícula (código) do colaborador na empresa. Matrícula repetida retorna 400. eSocialRegistration: type: string description: Matrícula do eSocial. admissionType: #/definitions/employeeAdmissionType admissionOrigin: #/definitions/employeeAdmissionOrigin processNumber: type: string description: Número do processo judicial para contratação de menores. fgtsOptionDate: type: string description: Data de opção do trabalhador pelo FGTS. format: date laborProcessNumber: type: string description: Número do processo trabalhista. judicialRegistrationNumber: type: string description: Matrícula da anotação judicial. employeeContractTerm: type: object properties: termType: #/definitions/employeeContractTermType firstPeriodDays: type: integer description: Quantidade de dias do primeiro período. firstPeriodEnd: type: string description: Término do primeiro período. format: date extensionDays: type: integer description: Quantidade de dias de prorrogação. extensionEnd: type: string description: Término da prorrogação. format: date terminationFactor: type: string description: Fator determinante do término do contrato. assuranceClause: type: boolean description: Cláusula assecuratória do direito recíproco de rescisão. employeeSuccession: type: object properties: transferDate: type: string description: Data de transferência para esta empresa. format: date originCompanyRegistrationType: #/definitions/employeeCompanyRegistrationType originCompanyRegistrationNumber: type: string description: Número de inscrição da empresa de origem. originESocialRegistration: type: string description: Matrícula do eSocial na empresa de origem. employeeRemuneration: type: object properties: salaryType: #/definitions/employeeSalaryType salary: type: string description: Valor do salário. description: type: string description: Descrição do salário. employeeWorkplaceInput: type: object required: – companyBranch – position – positionActingType properties: companyBranch: #/definitions/contractIdReference position: #/definitions/contractIdReference positionActingType: #/definitions/contractIdReference jobPosition: #/definitions/contractIdReference location: #/definitions/contractIdReference costCenter: #/definitions/contractIdReference companyLinkedLocation: #/definitions/contractIdReference employeeWorkScheduleInput: type: object required: – workshift – workshiftGroup properties: workshift: #/definitions/contractIdReference workshiftGroup: #/definitions/contractIdReference eSocialWorkingHours: #/definitions/eSocialWorkingHours partTimeContract: type: boolean description: Indica contrato a tempo parcial. employeeUnionInput: type: object required: – syndicate – collectiveNegotiation properties: syndicate: #/definitions/contractIdReference collectiveNegotiation: #/definitions/contractIdReference employeePaymentInput: type: object properties: paymentMode: #/definitions/employeePaymentMode salaryAdvance: #/definitions/employeeSalaryAdvance bankAccounts: type: array items: #/definitions/employeeBankAccountInput description: Contas bancárias. employeeBankAccountInput: type: object required: – bank – bankBranch – accountType – accountNumber – accountDigit – percentage properties: bank: #/definitions/contractIdReference bankBranch: #/definitions/contractIdReference accountType: #/definitions/employeeBankAccountType accountNumber: type: integer description: Número da conta. accountDigit: type: string description: Dígito da conta. percentage: type: number description: Percentual do salário depositado na conta. format: double employeeApprenticeship: type: object properties: hiringType: #/definitions/employeeApprenticeHiringType directHiringRegistrationNumber: type: string description: CNPJ da entidade qualificadora na contratação direta. indirectHiringRegistrationType: #/definitions/employeeRegistrationType indirectHiringRegistrationNumber: type: string description: Número de inscrição do estabelecimento na contratação indireta. practicalActivitiesRegistrationNumber: type: string description: CNPJ do estabelecimento onde são realizadas as atividades práticas. employeeInternshipInput: type: object properties: nature: #/definitions/employeeInternshipNature level: #/definitions/employeeInternshipLevel actingArea: type: string description: Área de atuação. insurancePolicy: type: string description: Apólice de seguro. estimatedEndDate: type: string description: Previsão de término. format: date educationalInstitution: #/definitions/contractIdReference educationalInstitutionRegistrationNumber: type: string description: CNPJ da instituição de ensino. integrationAgent: #/definitions/contractIdReference integrationAgentRegistrationNumber: type: string description: CNPJ do agente integrador. supervisor: #/definitions/contractIdReference supervisorName: type: string description: Nome do supervisor. supervisorCpf: type: string description: CPF do supervisor. employeeSelfEmployedTransporter: type: object properties: inssBasePercentage: type: number description: Percentual da base de INSS do transportador. format: double incomeTaxBasePercentage: type: number description: Percentual da base de IR do transportador. format: double employeeOccupationalHealth: type: object properties: lastMedicalExaminationDate: type: string description: Data do último exame médico. format: date nextMedicalExaminationInDays: type: integer description: Quantidade de dias até o próximo exame médico. nextMedicalExaminationDate: type: string description: Data do próximo exame médico. format: date employeeTimeTracking: type: object properties: badgeNumber: type: integer description: Número do crachá. employeeContact: type: object properties: professionalEmail: type: string description: E-mail profissional. employeeTraining: type: object required: – type – startDate properties: type: #/definitions/employeeTrainingType startDate: type: string description: Data de início do treinamento. format: date employeeFoodBenefit: type: object properties: patModalities: type: array items: #/definitions/employeePatModality description: Modalidades do PAT. employeeFacadeOutput: type: object required: – id – person – employment – workplace properties: id: type: string description: Identificador UUID do colaborador, igual ao informado na rota. person: #/definitions/contractReference employment: #/definitions/employeeEmploymentOutput contractTerm: #/definitions/employeeContractTerm succession: #/definitions/employeeSuccession remuneration: #/definitions/employeeRemuneration workplace: #/definitions/employeeWorkplaceOutput workSchedule: #/definitions/employeeWorkScheduleOutput union: #/definitions/employeeUnionOutput payment: #/definitions/employeePaymentOutput apprenticeship: #/definitions/employeeApprenticeship internship: #/definitions/employeeInternshipOutput selfEmployedTransporter: #/definitions/employeeSelfEmployedTransporter occupationalHealth: #/definitions/employeeOccupationalHealth timeTracking: #/definitions/employeeTimeTracking contact: #/definitions/employeeContact trainings: type: array items: #/definitions/employeeTraining description: Treinamentos determinados por norma regulamentadora. foodBenefit: #/definitions/employeeFoodBenefit employeeEmploymentOutput: type: object required: – employer – employmentRelationship – hireDate – code properties: employer: #/definitions/contractReference employmentRelationship: #/definitions/contractReference hireDate: type: string description: Data de admissão. format: date registrationNumber: type: integer description: Número da ficha de registro. code: type: integer description: Matrícula (código) do colaborador na empresa. eSocialRegistration: type: string description: Matrícula do eSocial. admissionType: #/definitions/employeeAdmissionType admissionOrigin: #/definitions/employeeAdmissionOrigin processNumber: type: string description: Número do processo judicial para contratação de menores. fgtsOptionDate: type: string description: Data de opção do trabalhador pelo FGTS. format: date laborProcessNumber: type: string description: Número do processo trabalhista. judicialRegistrationNumber: type: string description: Matrícula da anotação judicial. situation: #/definitions/employeeSituation contractType: #/definitions/employeeContractType receivedByGovernment: type: boolean description: Indica se a admissão (S-2190/S-2200/S-2300) já foi recebida pelo governo (somente leitura). dismissalDate: type: string description: Data de desligamento (somente leitura). Preenchida só na listagem, para colaborador desligado. format: date employeeWorkplaceOutput: type: object required: – companyBranch – position properties: companyBranch: #/definitions/contractReference position: #/definitions/contractReference positionActingType: #/definitions/contractReference jobPosition: #/definitions/contractReference location: #/definitions/contractReference costCenter: #/definitions/contractReference companyLinkedLocation: #/definitions/contractReference employeeWorkScheduleOutput: type: object required: – workshift – workshiftGroup properties: workshift: #/definitions/contractReference workshiftGroup: #/definitions/contractReference eSocialWorkingHours: #/definitions/eSocialWorkingHours partTimeContract: type: boolean description: Indica contrato a tempo parcial. employeeUnionOutput: type: object required: – syndicate – collectiveNegotiation properties: syndicate: #/definitions/contractReference collectiveNegotiation: #/definitions/contractReference employeePaymentOutput: type: object properties: paymentMode: #/definitions/employeePaymentMode salaryAdvance: #/definitions/employeeSalaryAdvance bankAccounts: type: array items: #/definitions/employeeBankAccountOutput description: Contas bancárias. employeeBankAccountOutput: type: object required: – bank – bankBranch – accountType – accountNumber – accountDigit – percentage properties: bank: #/definitions/contractReference bankBranch: #/definitions/contractReference accountType: #/definitions/employeeBankAccountType accountNumber: type: integer description: Número da conta. accountDigit: type: string description: Dígito da conta. percentage: type: number description: Percentual do salário depositado na conta. format: double employeeInternshipOutput: type: object properties: nature: #/definitions/employeeInternshipNature level: #/definitions/employeeInternshipLevel actingArea: type: string description: Área de atuação. insurancePolicy: type: string description: Apólice de seguro. estimatedEndDate: type: string description: Previsão de término. format: date educationalInstitution: #/definitions/contractReference educationalInstitutionRegistrationNumber: type: string description: CNPJ da instituição de ensino. integrationAgent: #/definitions/contractReference integrationAgentRegistrationNumber: type: string description: CNPJ do agente integrador. supervisor: #/definitions/contractReference supervisorName: type: string description: Nome do supervisor. supervisorCpf: type: string description: CPF do supervisor. leaveHistoryFacadeInput: type: object required: – employee – startDate – situation properties: id: type: string description: format: uuid employee: #/definitions/contractIdReference startDate: type: string description: Data inicial do afastamento (AAAA-MM-DD). Obrigatória; igual ou posterior à admissão e não pode ser alterada. format: date startTime: type: integer description: Hora inicial (0 a 1439 minutos). Não pode ser alterada. endDate: type: string description: Data final do afastamento. format: date endTime: type: integer description: Hora final (0 a 1439 minutos). situation: #/definitions/contractIdReference changeOrigin: #/definitions/leaveChangeOrigin processType: #/definitions/leaveProcessType processNumber: type: string description: Número do processo. childBirthDate: type: string description: Data do parto. format: date disease: #/definitions/contractIdReference diseaseSubgroup: #/definitions/contractIdReference unionCnpj: type: string description: CNPJ do sindicato. remunerationBurden: #/definitions/leaveRemunerationBurden workAccidentType: #/definitions/leaveWorkAccidentType justifiedDays: type: integer description: Dias justificados. observation: type: string description: Observação. sameESocialReason: type: boolean description: Mesma razão do eSocial. resultedInMedicalAssistance: type: boolean description: Resultou em assistência médica. estimatedEndDate: type: string description: Data final estimada. format: date estimatedEndDays: type: integer description: Dias estimados até o final. electiveMandateCnpj: type: string description: CNPJ do órgão para mandato eletivo. optedForPermanentPositionRemuneration: type: boolean description: Optou pela remuneração do cargo efetivo. leaveHistoryFacadeOutput: type: object required: – id – employee – startDate – situation properties: id: type: string description: Identificador UUID do afastamento. employee: #/definitions/contractReference employer: #/definitions/contractReference startDate: type: string description: Data inicial do afastamento. format: date startTime: type: integer description: Hora inicial. endDate: type: string description: Data final do afastamento, preenchida pelo serviço de afastamento quando há encerramento (somente leitura). format: date endTime: type: integer description: Hora final. situation: #/definitions/contractReference changeOrigin: #/definitions/leaveChangeOrigin processType: #/definitions/leaveProcessType processNumber: type: string description: Número do processo. childBirthDate: type: string description: Data do parto. format: date disease: #/definitions/contractReference diseaseSubgroup: #/definitions/contractReference unionCnpj: type: string description: CNPJ do sindicato. remunerationBurden: #/definitions/leaveRemunerationBurden workAccidentType: #/definitions/leaveWorkAccidentType justifiedDays: type: integer description: Dias justificados. observation: type: string description: Observação. sameESocialReason: type: boolean description: Mesma razão do eSocial. resultedInMedicalAssistance: type: boolean description: Resultou em assistência médica. estimatedEndDate: type: string description: Data final estimada. format: date estimatedEndDays: type: integer description: Dias estimados até o final. electiveMandateCnpj: type: string description: CNPJ do órgão para mandato eletivo. optedForPermanentPositionRemuneration: type: boolean description: Optou pela remuneração do cargo efetivo. generatedByPayroll: type: boolean description: Afastamento gerado pela folha (somente leitura). origin: #/definitions/leaveOrigin jobPositionHistoryFacadeInput: type: object required: – employee – startDate – jobPosition properties: id: type: string description: format: uuid employee: #/definitions/contractIdReference startDate: type: string description: Data inicial da vigência (AAAA-MM-DD). Obrigatória; igual ou posterior à admissão e não pode ser alterada. format: date jobPosition: #/definitions/contractIdReference jobPositionHistoryFacadeOutput: type: object required: – id – employee – startDate – jobPosition properties: id: type: string description: Identificador UUID do histórico. employee: #/definitions/contractReference startDate: type: string description: Data inicial da vigência. format: date endDate: type: string description: Data final da vigência, preenchida pelo serviço de contrato quando há histórico posterior (somente leitura). format: date jobPosition: #/definitions/contractReference costCenterHistoryFacadeInput: type: object required: – employee – startDate – costCenter properties: id: type: string description: format: uuid employee: #/definitions/contractIdReference startDate: type: string description: Data inicial da vigência (AAAA-MM-DD). Obrigatória; igual ou posterior à admissão e não pode ser alterada. format: date costCenter: #/definitions/contractIdReference costCenterHistoryFacadeOutput: type: object required: – id – employee – startDate – costCenter properties: id: type: string description: Identificador UUID do histórico. employee: #/definitions/contractReference startDate: type: string description: Data inicial da vigência. format: date endDate: type: string description: Data final da vigência, preenchida pelo serviço de contrato quando há histórico posterior (somente leitura). format: date costCenter: #/definitions/contractReference locationHistoryFacadeInput: type: object required: – employee – startDate – location properties: id: type: string description: format: uuid employee: #/definitions/contractIdReference startDate: type: string description: Data inicial da vigência (AAAA-MM-DD). Obrigatória; igual ou posterior à admissão e não pode ser alterada. format: date location: #/definitions/contractIdReference locationHistoryFacadeOutput: type: object required: – id – employee – startDate – location properties: id: type: string description: Identificador UUID do histórico. employee: #/definitions/contractReference startDate: type: string description: Data inicial da vigência. format: date endDate: type: string description: Data final da vigência, preenchida pelo serviço de contrato quando há histórico posterior (somente leitura). format: date location: #/definitions/contractReference employmentRelationshipHistoryFacadeInput: type: object required: – employee – startDate – employmentRelationship properties: id: type: string description: format: uuid employee: #/definitions/contractIdReference startDate: type: string description: Data inicial da vigência (AAAA-MM-DD). Obrigatória; igual ou posterior à admissão e não pode ser alterada. format: date employmentRelationship: #/definitions/contractIdReference employmentRelationshipHistoryFacadeOutput: type: object required: – id – employee – startDate – employmentRelationship properties: id: type: string description: Identificador UUID do histórico. employee: #/definitions/contractReference startDate: type: string description: Data inicial da vigência. format: date endDate: type: string description: Data final da vigência, preenchida pelo serviço de contrato quando há histórico posterior (somente leitura). format: date employmentRelationship: #/definitions/contractReference syndicateHistoryFacadeInput: type: object required: – employee – startDate – syndicate – collectiveNegotiation properties: id: type: string description: format: uuid employee: #/definitions/contractIdReference startDate: type: string description: Data inicial da vigência (AAAA-MM-DD). Obrigatória; igual ou posterior à admissão e não pode ser alterada. format: date syndicate: #/definitions/contractIdReference collectiveNegotiation: #/definitions/contractIdReference syndicateHistoryFacadeOutput: type: object required: – id – employee – startDate – syndicate – collectiveNegotiation properties: id: type: string description: Identificador UUID do histórico. employee: #/definitions/contractReference startDate: type: string description: Data inicial da vigência. format: date endDate: type: string description: Data final da vigência, preenchida pelo serviço de contrato quando há histórico posterior (somente leitura). format: date syndicate: #/definitions/contractReference collectiveNegotiation: #/definitions/contractReference workshiftHistoryFacadeInput: type: object required: – employee – startDate – workshift properties: id: type: string description: format: uuid employee: #/definitions/contractIdReference startDate: type: string description: Data inicial da vigência (AAAA-MM-DD). Obrigatória; igual ou posterior à admissão e não pode ser alterada. format: date workshift: #/definitions/contractIdReference workshiftGroup: #/definitions/contractIdReference eSocialWorkingHours: #/definitions/eSocialWorkingHours workshiftHistoryFacadeOutput: type: object required: – id – employee – startDate – workshift properties: id: type: string description: Identificador UUID do histórico. employee: #/definitions/contractReference startDate: type: string description: Data inicial da vigência. format: date endDate: type: string description: Data final da vigência, preenchida pelo serviço de contrato quando há histórico posterior (somente leitura). format: date workshift: #/definitions/contractReference workshiftGroup: #/definitions/contractReference eSocialWorkingHours: #/definitions/eSocialWorkingHours 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