Visão Geral do Programa

O objetivo deste ProcessServer é possibilitar matricular candidatos aprovados no processo seletivo através de WebService. A matrícula do candidato poderá ser visualizadas através da visão de Matrícula no período letivo do aluno do Totvs Educacional.

Este ProcessServer também poderá ser utilizado para matricular candidatos através de processos seletivos que utilizem a modalidade venda online de cursos. 

Através do processServer "EduMatricAprovadosPSData" é possível, por meio do método ExecuteWithXmlParams, realizar a inclusão da matrícula do candidato.

Se necessário clique aqui para obter ajuda na configuração do Host.

Método ExecuteWithXmlParams

Este método realizará a inclusão da matrícula do candidato.

O contexto para execução do processo e validações dos parâmetros do sistema junto ao perfil do usuário, são  $CODCOLIGADA, $CODFILIAL, $CODTIPOCURSO, $CODSISTEMA e $CODUSUARIO.

A seguir temos dois exemplos de XML um completo, com todas as tags, e outro reduzido, apenas com as tags necessárias.

Exemplo de XML COMPLETO para matricular candidato aprovado no processo seletivo
<?xml version="1.0" encoding="utf-16"?>
<EduMatricAprovadosPSParamsProc z:Id="i1" xmlns="http://www.totvs.com.br/RM/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
  <ActionModule xmlns="http://www.totvs.com/">S</ActionModule>
  <ActionName xmlns="http://www.totvs.com/">EduMatricAprovadosPSAction</ActionName>
  <CanParallelize xmlns="http://www.totvs.com/">true</CanParallelize>
  <CanSendMail xmlns="http://www.totvs.com/">false</CanSendMail>
  <CanWaitSchedule xmlns="http://www.totvs.com/">false</CanWaitSchedule>
  <CodUsuario xmlns="http://www.totvs.com/">mestre</CodUsuario>
  <ConnectionId i:nil="true" xmlns="http://www.totvs.com/" />
  <ConnectionString i:nil="true" xmlns="http://www.totvs.com/" />
  <Context z:Id="i2" xmlns="http://www.totvs.com/" xmlns:a="http://www.totvs.com.br/RM/">
    <a:_params xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODUNIDADEBIB</b:Key>
        <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CHAPAFUNCIONARIO</b:Key>
        <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">-1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$EXERCICIOFISCAL</b:Key>
        <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODFILIAL</b:Key>
        <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$RHTIPOUSR</b:Key>
        <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">-1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODUSUARIOSERVICO</b:Key>
        <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema" />
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$EDUTIPOUSR</b:Key>
        <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">-1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODLOCPRT</b:Key>
        <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODUSUARIO</b:Key>
        <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">mestre</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODSISTEMA</b:Key>
        <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">S</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODCOLIGADA</b:Key>
        <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODTIPOCURSO</b:Key>
        <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">3</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODIGOEXTERNO</b:Key>
        <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">-1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$IDPRJ</b:Key>
        <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">-1</b:Value>
      </b:KeyValueOfanyTypeanyType>
    </a:_params>
    <a:Environment>DotNet</a:Environment>
  </Context>
  <CustomData i:nil="true" xmlns="http://www.totvs.com/" />
  <DisableIsolateProcess xmlns="http://www.totvs.com/">false</DisableIsolateProcess>
  <DriverType i:nil="true" xmlns="http://www.totvs.com/" />
  <ExecutionId xmlns="http://www.totvs.com/">978c1f00-fa98-4147-bd5e-16bdc4e889c4</ExecutionId>
  <FailureMessage xmlns="http://www.totvs.com/">Falha na execução do processo</FailureMessage>
  <FriendlyLogs i:nil="true" xmlns="http://www.totvs.com/" />
  <HideProgressDialog xmlns="http://www.totvs.com/">false</HideProgressDialog>
  <HostName xmlns="http://www.totvs.com/">BHN050103194</HostName>
  <Initialized xmlns="http://www.totvs.com/">true</Initialized>
  <Ip xmlns="http://www.totvs.com/">10.31.8.189</Ip>
  <IsolateProcess xmlns="http://www.totvs.com/">false</IsolateProcess>
  <JobID xmlns="http://www.totvs.com/">
    <Children />
    <ExecID>1</ExecID>
    <ID>212852</ID>
    <IsPriorityJob>false</IsPriorityJob>
  </JobID>
  <JobServerHostName xmlns="http://www.totvs.com/">BHN050103194</JobServerHostName>
  <MasterActionName i:nil="true" xmlns="http://www.totvs.com/" />
  <MaximumQuantityOfPrimaryKeysPerProcess xmlns="http://www.totvs.com/">1000</MaximumQuantityOfPrimaryKeysPerProcess>
  <MinimumQuantityOfPrimaryKeysPerProcess xmlns="http://www.totvs.com/">1</MinimumQuantityOfPrimaryKeysPerProcess>
  <NetworkUser xmlns="http://www.totvs.com/">guilherme.campolina</NetworkUser>
  <NotifyEmail xmlns="http://www.totvs.com/">false</NotifyEmail>
  <NotifyEmailList i:nil="true" xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <NotifyFluig xmlns="http://www.totvs.com/">false</NotifyFluig>
  <OnlineMode xmlns="http://www.totvs.com/">false</OnlineMode>
  <PrimaryKeyList xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <PrimaryKeyNames i:nil="true" xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <PrimaryKeyTableName i:nil="true" xmlns="http://www.totvs.com/" />
  <ProcessName xmlns="http://www.totvs.com/">Assistente de matrícula de candidatos aprovados em processo seletivo</ProcessName>
  <QuantityOfSplits xmlns="http://www.totvs.com/">0</QuantityOfSplits>
  <SaveLogInDatabase xmlns="http://www.totvs.com/">true</SaveLogInDatabase>
  <SaveParamsExecution xmlns="http://www.totvs.com/">false</SaveParamsExecution>
  <ScheduleDateTime xmlns="http://www.totvs.com/">2019-02-07T16:50:51.6937442-02:00</ScheduleDateTime>
  <Scheduler xmlns="http://www.totvs.com/">JobMonitor</Scheduler>
  <SendMail xmlns="http://www.totvs.com/">false</SendMail>
  <ServerName xmlns="http://www.totvs.com/">EduMatricAprovadosPSData</ServerName>
  <ServiceInterface i:type="b:RuntimeType" z:FactoryType="c:UnitySerializationHolder" xmlns="http://www.totvs.com/" xmlns:a="http://schemas.datacontract.org/2004/07/System" xmlns:b="-mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089-System-System.RuntimeType" xmlns:c="-mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089-System-System.UnitySerializationHolder">
    <Data i:type="d:string" xmlns="" xmlns:d="http://www.w3.org/2001/XMLSchema">RM.Edu.Interfaces.IEduMatricAprovadosPS</Data>
    <UnityType i:type="d:int" xmlns="" xmlns:d="http://www.w3.org/2001/XMLSchema">4</UnityType>
    <AssemblyName i:type="d:string" xmlns="" xmlns:d="http://www.w3.org/2001/XMLSchema">RM.Edu.Interfaces.Intf, Version=12.1.24.1, Culture=neutral, PublicKeyToken=null</AssemblyName>
  </ServiceInterface>
  <ShouldParallelize xmlns="http://www.totvs.com/">false</ShouldParallelize>
  <ShowReExecuteButton xmlns="http://www.totvs.com/">true</ShowReExecuteButton>
  <StatusMessage i:nil="true" xmlns="http://www.totvs.com/" />
  <SuccessMessage xmlns="http://www.totvs.com/">Processo executado com sucesso</SuccessMessage>
  <SyncExecution xmlns="http://www.totvs.com/">false</SyncExecution>
  <UseJobMonitor xmlns="http://www.totvs.com/">true</UseJobMonitor>
  <UserName xmlns="http://www.totvs.com/">mestre</UserName>
  <WaitSchedule xmlns="http://www.totvs.com/">false</WaitSchedule>
  <AlunosAprovados>
    <EduAprovadosPSItem z:Id="i3">
      <InternalId i:nil="true" xmlns="http://www.totvs.com/" />
      <Cartidentidade>1287302</Cartidentidade>
      <Classificacao>1</Classificacao>
      <CodColigada>1</CodColigada>
      <CodMae i:nil="true" />
      <CodPai i:nil="true" />
      <CodRespAcademico i:nil="true" />
      <CodUsuarioPS>0</CodUsuarioPS>
      <Codcoligadaresponsavel i:nil="true" />
      <Codpessoa>118</Codpessoa>
      <Codpessoaresponsavel i:nil="true" />
      <Cpf>04706139988</Cpf>
      <Dtnascimento>1985-12-15T00:00:00</Dtnascimento>
      <Idps>27</Idps>
      <Nome>JULIANA FRIEDRICH FARAJ</Nome>
      <Numeroinscricao>2</Numeroinscricao>
      <Pontuacao>0</Pontuacao>
      <RA i:nil="true" />
      <ResponsavelFinanceiro i:nil="true" />
      <Telefone1>30264311/882861</Telefone1>
    </EduAprovadosPSItem>
  </AlunosAprovados>
  <Apresentacao>EnsinoSuperior</Apresentacao>
  <CadastraAlunoComoRespFinanc>false</CadastraAlunoComoRespFinanc>
  <CadastraContrato>false</CadastraContrato>
  <CadastraResponsavelPSComoRespFinanc>false</CadastraResponsavelPSComoRespFinanc>
  <CodCampus />
  <CodColigada>1</CodColigada>
  <CodFilial>1</CodFilial>
  <CodTipoCurso>3</CodTipoCurso>
  <CodigoTurma>T4BIO</CodigoTurma>
  <Contexto z:Ref="i2" />
  <CotaFinal>0</CotaFinal>
  <CotaInicial>0</CotaInicial>
  <DataIngresso i:nil="true" />
  <DtCompetenciaFinal>  /</DtCompetenciaFinal>
  <DtCompetenciaInicial>  /</DtCompetenciaInicial>
  <GerarLancamento>false</GerarLancamento>
  <HabilitacaoFilial>413</HabilitacaoFilial>
  <IdAreaInteresse>10</IdAreaInteresse>
  <IdProcessoSeletivo>27</IdProcessoSeletivo>
  <IncluirListaEspera>false</IncluirListaEspera>
  <MatriculaOfertaOnline>false</MatriculaOfertaOnline>
  <ParametrosPerfilUsuario z:Id="i4">
    <InternalId i:nil="true" xmlns="http://www.totvs.com/" />
    <CodColigada>1</CodColigada>
    <CodUsuario>mestre</CodUsuario>
    <MatriculaAlunoComAtrasoBiblioteca>false</MatriculaAlunoComAtrasoBiblioteca>
    <MatriculaAlunoComDebitoBiblioteca>false</MatriculaAlunoComDebitoBiblioteca>
    <MatriculaAlunoInadimplente>true</MatriculaAlunoInadimplente>
    <MatriculaAlunoSemDocObrigatorios>false</MatriculaAlunoSemDocObrigatorios>
    <MatriculaAlunosComOcorrencia>false</MatriculaAlunosComOcorrencia>
    <MatriculaComConflitoHorarios>true</MatriculaComConflitoHorarios>
    <MatriculaComConflitoPreReq>false</MatriculaComConflitoPreReq>
    <MatriculaEmTurmaCheia>false</MatriculaEmTurmaCheia>
    <MatriculaForaDoPeriodo>false</MatriculaForaDoPeriodo>
    <MatriculaSemMinCredPLetivo>true</MatriculaSemMinCredPLetivo>
  </ParametrosPerfilUsuario>
  <ParcelaFinal>0</ParcelaFinal>
  <ParcelaInicial>0</ParcelaInicial>
  <PeriodoLetivo>104</PeriodoLetivo>
  <PlanoPagamento i:nil="true" />
  <SobrescreverDeficienciasAlunos>false</SobrescreverDeficienciasAlunos>
  <SobrescreverEnderecoAlunos>false</SobrescreverEnderecoAlunos>
  <StatusMatricCurso>123</StatusMatricCurso>
  <StatusMatricDisciplinas>123</StatusMatricDisciplinas>
  <StatusMatricPeriodoLetivo>123</StatusMatricPeriodoLetivo>
  <SubstituiRespFinanc>false</SubstituiRespFinanc>
  <TipoEscolhaGerarRA>NaoMatricularGerarLog</TipoEscolhaGerarRA>
  <TipoMatricula>7</TipoMatricula>
  <VincProvas />
</EduMatricAprovadosPSParamsProc>
Exemplo de XML REDUZIDO para matricular candidato aprovado no processo seletivo
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tot="http://www.totvs.com/">
   <soapenv:Header/>
   <soapenv:Body>
      <tot:ExecuteWithXmlParams>
         <!--Optional:-->
         <tot:ProcessServerName>EduMatricAprovadosPSData</tot:ProcessServerName>
         <!--Optional:-->
         <tot:strXmlParams><![CDATA[<?xml version="1.0" encoding="utf-16"?>
<EduMatricAprovadosPSParamsProc z:Id="i1" xmlns="http://www.totvs.com.br/RM/" xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/">
  <Context z:Id="i2" xmlns="http://www.totvs.com/" xmlns:a="http://www.totvs.com.br/RM/">
    <a:_params xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODFILIAL</b:Key>
        <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODUSUARIO</b:Key>
        <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">mestre</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODSISTEMA</b:Key>
        <b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">S</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODCOLIGADA</b:Key>
        <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value>
      </b:KeyValueOfanyTypeanyType>
      <b:KeyValueOfanyTypeanyType>
        <b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODTIPOCURSO</b:Key>
        <b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">3</b:Value>
      </b:KeyValueOfanyTypeanyType>
    </a:_params>
    <a:Environment>DotNet</a:Environment>
  </Context>
  <PrimaryKeyList xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <PrimaryKeyNames i:nil="true" xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
  <PrimaryKeyTableName i:nil="true" xmlns="http://www.totvs.com/" />
  <AlunosAprovados>
    <EduAprovadosPSItem z:Id="i3">
      <InternalId i:nil="true" xmlns="http://www.totvs.com/" />
      <Cartidentidade>1287302</Cartidentidade>
      <Classificacao>1</Classificacao>
      <CodColigada>1</CodColigada>
      <CodMae i:nil="true" />
      <CodPai i:nil="true" />
      <CodRespAcademico i:nil="true" />
      <CodUsuarioPS>0</CodUsuarioPS>
      <Codcoligadaresponsavel i:nil="true" />
      <Codpessoa>118</Codpessoa>
      <Codpessoaresponsavel i:nil="true" />
      <Cpf>04706139988</Cpf>
      <Dtnascimento>1985-12-15T00:00:00</Dtnascimento>
      <Idps>27</Idps>
      <Nome>JULIANA FRIEDRICH FARAJ</Nome>
      <Numeroinscricao>2</Numeroinscricao>
      <Pontuacao>0</Pontuacao>
      <RA i:nil="true" />
      <ResponsavelFinanceiro i:nil="true" />
      <Telefone1>30264311/882861</Telefone1>
	  </EduAprovadosPSItem>
  </AlunosAprovados>
  <Apresentacao>EnsinoSuperior</Apresentacao>
  <CadastraAlunoComoRespFinanc>false</CadastraAlunoComoRespFinanc>
  <CadastraContrato>false</CadastraContrato>
  <CadastraResponsavelPSComoRespFinanc>false</CadastraResponsavelPSComoRespFinanc>
  <CodCampus />
  <CodColigada>1</CodColigada>
  <CodFilial>1</CodFilial>
  <CodTipoCurso>3</CodTipoCurso>
  <CodigoTurma>T4BIO</CodigoTurma>
  <Contexto z:Ref="i2" />
  <CotaFinal>0</CotaFinal>
  <CotaInicial>0</CotaInicial>
  <DataIngresso i:nil="true" />
  <DtCompetenciaFinal>  /</DtCompetenciaFinal>
  <DtCompetenciaInicial>  /</DtCompetenciaInicial>
  <GerarLancamento>false</GerarLancamento>
  <HabilitacaoFilial>413</HabilitacaoFilial>
  <IdAreaInteresse>10</IdAreaInteresse>
  <IdProcessoSeletivo>27</IdProcessoSeletivo>
  <IncluirListaEspera>false</IncluirListaEspera>
  <MatriculaOfertaOnline>false</MatriculaOfertaOnline>
  <ParametrosPerfilUsuario z:Id="i4">
    <InternalId i:nil="true" xmlns="http://www.totvs.com/" />
    <CodColigada>1</CodColigada>
    <CodUsuario>mestre</CodUsuario>
    <MatriculaAlunoComAtrasoBiblioteca>false</MatriculaAlunoComAtrasoBiblioteca>
    <MatriculaAlunoComDebitoBiblioteca>false</MatriculaAlunoComDebitoBiblioteca>
    <MatriculaAlunoInadimplente>true</MatriculaAlunoInadimplente>
    <MatriculaAlunoSemDocObrigatorios>false</MatriculaAlunoSemDocObrigatorios>
    <MatriculaAlunosComOcorrencia>false</MatriculaAlunosComOcorrencia>
    <MatriculaComConflitoHorarios>true</MatriculaComConflitoHorarios>
    <MatriculaComConflitoPreReq>false</MatriculaComConflitoPreReq>
    <MatriculaEmTurmaCheia>false</MatriculaEmTurmaCheia>
    <MatriculaForaDoPeriodo>false</MatriculaForaDoPeriodo>
    <MatriculaSemMinCredPLetivo>true</MatriculaSemMinCredPLetivo>
  </ParametrosPerfilUsuario>
  <ParcelaFinal>0</ParcelaFinal>
  <ParcelaInicial>0</ParcelaInicial>
  <PeriodoLetivo>104</PeriodoLetivo>
  <PlanoPagamento i:nil="true" />
  <SobrescreverDeficienciasAlunos>false</SobrescreverDeficienciasAlunos>
  <SobrescreverEnderecoAlunos>false</SobrescreverEnderecoAlunos>
  <StatusMatricCurso>123</StatusMatricCurso>
  <StatusMatricDisciplinas>123</StatusMatricDisciplinas>
  <StatusMatricPeriodoLetivo>123</StatusMatricPeriodoLetivo>
  <SubstituiRespFinanc>false</SubstituiRespFinanc>
  <TipoEscolhaGerarRA>NaoMatricularGerarLog</TipoEscolhaGerarRA>
  <TipoMatricula>7</TipoMatricula>
  <VincProvas />
</EduMatricAprovadosPSParamsProc>]]></tot:strXmlParams>
      </tot:ExecuteWithXmlParams>
   </soapenv:Body>
</soapenv:Envelope>
Exemplo do retorno da matrícula do candidato aprovado no processo seletivo
<s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/">
   <s:Body>
      <ExecuteWithXmlParamsResponse xmlns="http://www.totvs.com/">
         <ExecuteWithXmlParamsResult>1</ExecuteWithXmlParamsResult>
      </ExecuteWithXmlParamsResponse>
   </s:Body>
</s:Envelope>
Tags do item EduMatriculaParamsProc
TagObrigatório

Parâmetro

Interno

Aceita

Nulo

Tipo de

Dados

ExemploDescrição
ActionModuleNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno
ActionNameNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno
CanParallelizeNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno
CanSendMailNãoSimSimN/A
Não é necessário informar no XML.Parâmetro interno
CanWaitScheduleNãoSimSimN/A
Não é necessário informar no XML.Parâmetro interno
CodUsuarioNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno
ConnectionIdNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno
ConnectionStringNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno

É obrigatório informar esta tag, porém com as seguintes keys: CODTIPOCURSO, CODCOLIGADA, CODSISTEMA, CODUSUARIO e CODFILIAL. Segue exemplo:

  <Context z:Id="i2" xmlns="http://www.totvs.com/" xmlns:a="http://www.totvs.com.br/RM/">
	<a:_params xmlns:b="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
	  <b:KeyValueOfanyTypeanyType>
		<b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODTIPOCURSO</b:Key>
		<b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value>
	  </b:KeyValueOfanyTypeanyType>
	  <b:KeyValueOfanyTypeanyType>
		<b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODCOLIGADA</b:Key>
		<b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value>
	  </b:KeyValueOfanyTypeanyType>
	  <b:KeyValueOfanyTypeanyType>
		<b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODSISTEMA</b:Key>
		<b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">S</b:Value>
	  </b:KeyValueOfanyTypeanyType>
	  <b:KeyValueOfanyTypeanyType>
		<b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODUSUARIO</b:Key>
		<b:Value i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">mestre</b:Value>
	  </b:KeyValueOfanyTypeanyType>
	  <b:KeyValueOfanyTypeanyType>
		<b:Key i:type="c:string" xmlns:c="http://www.w3.org/2001/XMLSchema">$CODFILIAL</b:Key>
		<b:Value i:type="c:int" xmlns:c="http://www.w3.org/2001/XMLSchema">1</b:Value>
	  </b:KeyValueOfanyTypeanyType>
	</a:_params>
	<a:Environment>DotNet</a:Environment>
  </Context>
CustomDataNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
DisableIsolateProcessNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
DriverTypeNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
ExecutionIdNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
FailureMessageNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
FriendlyLogsNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
HideProgressDialogNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
HostNameNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
InitializedNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
IpNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
IsolateProcessNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
JobIDNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
JobServerHostNameNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
MasterActionNameNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
MaximumQuantityOfPrimaryKeysPerProcessNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
MinimumQuantityOfPrimaryKeysPerProcessNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
NetworkUserNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
NotifyEmailNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
NotifyEmailListNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
NotifyFluigNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
OnlineModeNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.

É obrigatório informar esta tag. Segue exemplo:

  <PrimaryKeyList xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />  

É obrigatório informar esta tag. Segue exemplo:

 <PrimaryKeyNames i:nil="true" xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
PrimaryKeyTableNameNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
ProcessNameNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
QuantityOfSplitsNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
SaveLogInDatabaseNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
SaveParamsExecutionNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
ScheduleDateTimeNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
SchedulerNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
SendMailNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
ServerNameNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
ServiceInterfaceNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
ShouldParallelizeNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
ShowReExecuteButtonNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
StatusMessageNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
SuccessMessageNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
SyncExecutionNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
UseJobMonitorNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
UserNameNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.
WaitScheduleNãoSimSimN/ANão é necessário informar no XML.Parâmetro interno.

Esta tag é obrigatória, segue referência de todos os itens.

TagObrigatório

Parâmetro

Interno

Aceita

Nulo

Tipo de

Dados

ExemploDescrição
TagObrigatório

Parâmetro

Interno

Aceita

Nulo

Tipo de

Dados

ExemploDescrição
CartidentidadeNãoNãoSimString1287302Carteira de identidade
ClassificacaoNãoNãoSimInteiro1Classificação
CodColigadaSimNãoNãoInteiro1Código da coligada
CodMaeNãoNãoSimInteiroNão é necessário informar no XML.Código da mãe.
CodPaiNãoNãoSimInteiroNão é necessário informar no XML.Código do pai.
CodRespAcademicoNãoNãoSimInteiroNão é necessário informar no XML.Código do responsável acadêmico.
CodUsuarioPSNãoNãoSimInteiro0Código do usuário do processo seletivo
CodcoligadaresponsavelNãoNãoSimInteiroNão é necessário informar no XML.Código da coligada do responsável.

Codpessoa

NãoNãoSimInteiro118Código da pessoa
CodpessoaresponsavelNãoNãoSimInteiroNão é necessário informar no XML.Código da pessoa responsável.
CpfNãoNãoSimString04706139988CPF
DtnascimentoNãoNãoSimData1985-12-15Data de nascimento
IdpsNãoNãoSimInteiro27Id. do processo seletivo
NomeNãoNãoSimStringJULIANA FRIEDRICH FARAJNome
NumeroinscricaoNãoNãoSimInteiro2Número de inscrição.
PontuacaoNãoNãoSimDecimal0Pontuação.
RANãoNãoSimStringNão é necessário informar no XML.Registro acadêmico (RA) do aluno.
ResponsavelFinanceiroNãoNãoSimObjetoNão é necessário informar no XML.Informações do responsável financeiro
Telefone1NãoNãoSimString882861Telefone







ApresentacaoNãoSimSimEnumerado EnsinoSuperiorDescrição do nível de ensino ( EnsinoSuperior ou EnsinoBasico).
CadastraAlunoComoRespFinancNãoNãoSimBooleanofalseIndica se é para cadastrar o próprio aluno como responsável financeiro. Necessário informar CPF.
CadastraContratoNãoNãoSimBooleanofalse
Indica se é para cadastrar Contrato. Necessário ser informado CodCFO.
CadastraResponsavelPSComoRespFinancNãoNãoSimBooleanofalse
Indica se é para cadastrar o responsável pelo processo seletivo como responsável financeiro do aluno.
CodCampusNãoNãoSimStringNão é necessário informar no XML.Código do Campus/Polo.
CodColigadaSimNãoNãoInteiro1Código da coligada.
CodFilialSimNãoNãoInteiro1

Código da filial.

CodTipoCursoSimNãoNãoInteiro3Código do tipo de curso (nível de ensino).
CodigoTurmaNãoNãoSimStringT4BIOCódigo da Turma.
ContextoSimNãoNãoObjeto
Contexto
CotaFinalNãoNãoSimInteiro

0

Cota final. Deverá ser preenchido obrigatoriamente caso a situação de matrícula exigir contrato financeiro, o campo GerarLancamento = true .
CotaInicialNãoNãoSimInteiro0Cota inicial. Deverá ser preenchido obrigatoriamente caso a situação de matrícula exigir contrato financeiro, o campo GerarLancamento = true .
DataIngressoNãoNãoSimDataNão é necessário informar no XML.Data de ingresso.
DtCompetenciaFinalNãoNãoSimString03/2018Data de competência final
DtCompetenciaInicialNãoNãoSimString01/2018
Data de competência inicial
GerarLancamentoSimNãoSimBooleanofalse

Indica se é para gerar lançamento. 

Somente irá gerar lançamento se a situação de matrícula exigir contrato financeiro e o obedecer os critérios abaixo:

  • Preencher o campo CodPlanoPgto;
  • Preencher o campo TipoSelecaoParcela, ver valores permitidos pertinentes a este campo.
HabilitacaoFilialNãoNãoSimInteiro413Id. da matriz aplicada
IdAreaInteresseNãoNãoSimInteiro10Id. da área de interesse
IdProcessoSeletivoNãoNãoSimInteiro27Id. do processo seletivo
IncluirListaEsperaNãoNãoSimBooleanofalseIndica se é para incluir na lista de espera
MatriculaOfertaOnlineNãoNãoSimBooleanofalseIndica se é matrícula em oferta online
TagObrigatório

Parâmetro

Interno

Aceita

Nulo

Tipo de

Dados

ExemploDescrição
InternalIdNãoSimSimStringNão é necessário informar no XML.
CodColigadaSimNãoNaoInteiro1Código da coligada
CodUsuarioSimNãoNãoStringmestreCódigo do Usuário
MatriculaAlunoComAtrasoBibliotecaNãoNãoSimBooleanofalseAlterar situação de matrícula ou matricular aluno com empréstimo em atraso
MatriculaAlunoComDebitoBibliotecaNãoNãoSimBooleanofalseAlterar situação de matrícula ou matricular alunos com débitos na biblioteca
MatriculaAlunoInadimplenteNãoNãoSimBooleanotrueIndica se é para matricular alunos inadimplentes
MatriculaAlunoSemDocObrigatoriosNãoNãoSimBooleanofalseIndica se é para matricular alunos sem documentos obrigatórios entregues
MatriculaAlunosComOcorrenciaNãoNãoSimBooleanofalseIndica se é para matricular alunos com ocorrências que bloqueiam a matrícula
MatriculaComConflitoHorariosNãoNãoSimBooleanotrueIndica se é para matricular alunos com choque de horários
MatriculaComConflitoPreReqNãoNãoSimBooleanofalseIndica se é para matricular alunos em disciplinas que o pré/co-requisitos não foi cumprido
MatriculaEmTurmaCheiaNãoNãoSimBooleanofalseIndica se é para matricular em turmas com excesso de alunos
MatriculaForaDoPeriodoNãoNãoSimBooleanofalseIndica se é para matricular alunos após a data limite de matrícula no período letivo
MatriculaSemMinCredPLetivoNãoNãoSimBooleanotrueIndica se é para matricular alunos com créditos abaixo/acima do nº mínimo/máximo de créditos do período leitvo
ParcelaFinalNãoNãoSimInteiro1Parcela final.
ParcelaInicialNãoNãoSimInteiro1Parcela inicial. Deverá ser preenchido obrigatoriamente caso a situação de matrícula exigir contrato financeiro, o campo GerarLancamento = true.
PeriodoLetivoSimNãoNãoInteiro104Id. do Período letivo.
PlanoPagamentoNãoNãoSimObjetoNão é necessário informar no XML.Plano de pagamento.
SobrescreverDeficienciasAlunosNãoNãoSimBooleanofalseIndica se as deficiências do candidato sobrescreverão as do aluno
SobrescreverEnderecoAlunosNãoNãoSimBooleanofalseIndica se o endereço do candidato sobrescreverão o do aluno
StatusMatricCursoNãoNãoSimInteiro1Status da matrícula do curso.
StatusMatricDisciplinasNãoNãoSimInteiro1

Status da matrícula da disciplina

StatusMatricPeriodoLetivoNãoNãoSimInteiro1Status da matrícula no período letivo.
SubstituiRespFinancNãoNãoSimDatafalse

Substituir responsável financeiro quando utilizar RA existente.

Caso esteja marcado com True nas tags CadastraAlunoComoRespFinanc ou CadastraResponsavelPSComoRespFinanc, o sistema irá substituir o responsável financeiro do aluno existente.

TipoEscolhaGerarRANãoNãoSimEnumeradoNaoMatricularGerarLog

Definir a utilização de RA para candidatos existentes.

Opções de conteúdo permitido da tag:

NaoMatricularGerarLog = Não matricular o candidato se este contiver dois ou mais RA's e gerar Log.

UsarSomenteUmRa = Utilizar o primeiro RA que encontrar.

GerarNovoRA = Gerar novo RA.

PriorizarRAMesmoContexto = Prioriza a reutilização de um RA do mesmo contexto, caso não encontre utiliza o primeiro RA que encontrar.

ReutilizarRASomenteMesmoContexto = Utilizar RA somente se for do mesmo contexto, caso não encontre não matricular o aluno e gerar log.

TipoMatriculaNãoNãoSimInteiro7Tipo de matrícula.
VincProvasNãoNãoSimDataNão é necessário informar no XML.Grava as notas que o candidato conseguiu nas provas do Totvs Avaliação e Pesquisa. Necessário informar alunos aprovados.

Importante

  • As tags que não são obrigatórias e/ou que aceitam nulo o recomendado é não informar elas no XML.

Informações

À partir das versões 12.1.24.274, 12.1.25.223, 12.1.26.166 e 12.1.27.107 foi disponibilizado os parâmetros:

  • "DiasVencimentoPrimeiraParcela", este parâmetro permite definir quais os dias para o vencimento da primeira parcela do contrato quando definido para gerar contrato. Este parâmetro só está disponível para utilização via webservice e deve ser adicionado dentro do XML no seguinte formato:
Informações
<DiasVencimentoPrimeiraParcela>0</DiasVencimentoPrimeiraParcela>
  • "GerarContratoAssinado", este parâmetro permite se ao gerar o contrato o mesmo já vai indicar que está assinado. Este parâmetro só está disponível para utilização via webservice e deve ser adicionado dentro do XML no seguinte formato:
Informações
<GerarContratoAssinado>false</GerarContratoAssinado>

Venda online de cursos

Para utilização deste ProcessServer para matricular candidatos na modalidade de venda online de cursos, é necessário alterar a tag "MatriculaOfertaOnline" no XML do processo no seguinte formato:

Bloco de código
<MatriculaOfertaOnline>true</MatriculaOfertaOnline>