Versões comparadas

Chave

  • Esta linha foi adicionada.
  • Esta linha foi removida.
  • A formatação mudou.

...

Bloco de código
languagexml
titleExemplo de XML COMPLETO para matricular aluno no período letivo junto com as disciplinascandidato aprovado no processo seletivo
collapsetrue
<?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 xmlns:a="http://www.totvs.com/">
    <a:EduAprovadosPSItem z:Id="i3">
      <a:InternalId i:nil="true" />
      <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>
    </a: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>
Bloco de código
languagexml
titleExemplo de XML REDUZIDO para matricular aluno no período letivo junto com as disciplinascandidato aprovado no processo seletivo
collapsetrue
<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>EduMatriculaProcData</tot:ProcessServerName>
         <!--Optional:-->
         <tot:strXmlParams><![CDATA[<?xml version="1.0" encoding="utf-16"?>
<EduMatriculaParamsProc 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">$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>
  <PrimaryKeyList xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <a:ArrayOfanyType>
      <a:anyType i:type="b:short" xmlns:b="http://www.w3.org/2001/XMLSchema">1</a:anyType>
      <a:anyType i:type="b:int" xmlns:b="http://www.w3.org/2001/XMLSchema">4</a:anyType>
      <a:anyType i:type="b:string" xmlns:b="http://www.w3.org/2001/XMLSchema">ES-00222</a:anyType>
    </a:ArrayOfanyType>
  </PrimaryKeyList>
  <PrimaryKeyNames xmlns="http://www.totvs.com/" xmlns:a="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <a:string>CODCOLIGADA</a:string>
    <a:string>IDHABILITACAOFILIAL</a:string>
    <a:string>RA</a:string>
  </PrimaryKeyNames>
  <MatricPLParams z:Id="i3">
    <CodColigada>1</CodColigada>
    <CodFilial>1</CodFilial>
    <CodStatus>1</CodStatus>
    <CodTipoCurso>1</CodTipoCurso>
    <CodTurma>TSI-2-032</CodTurma>
    <CodUsuario>mestre</CodUsuario>
    <DataMatricula>2018-09-19T07:44:41.625612-03:00</DataMatricula>
    <Disciplinas>
      <EduMatriculaDiscParams>
        <CodColigada>1</CodColigada>
        <CodFilial>1</CodFilial>
        <CodStatus>13</CodStatus>
        <CodTipoCurso>1</CodTipoCurso>
        <CodUsuario>mestre</CodUsuario>
        <DataMatricula>2018-09-24T12:58:13.7370737-03:00</DataMatricula>		
		<GerarLogMatricPL>false</GerarLogMatricPL>
        <IdHabilitacaoFilial>4</IdHabilitacaoFilial>
        <IdPerLet>27</IdPerLet>
        <IdTurmaDisc>1128</IdTurmaDisc>
		<NumDiario>1</NumDiario>
        <RA>ES-00226</RA>
        <TipoDisciplina>Normal</TipoDisciplina>
        <TipoMat>1</TipoMat>
      </EduMatriculaDiscParams>
    </Disciplinas>    		
    <GerarLog>true</GerarLog>
    <IdHabilitacaoFilial>4</IdHabilitacaoFilial>
    <IdPerLet>27</IdPerLet>
    <Periodo>1</Periodo>
    <RA>ES-00222</RA>
  </MatricPLParams>
  <MatricularDisc>Nao</MatricularDisc>
</EduMatriculaParamsProc>]]></tot:strXmlParams>
      </tot:ExecuteWithXmlParams>
   </soapenv:Body>
</soapenv:Envelope>
Bloco de código
languagexml
titleExemplo do retorno da matrícula do aluno no período letivo junto com as disciplinascandidato aprovado no processo seletivo
collapsetrue
<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>

...