SIGE3WebService


Click here for a complete list of operations.

SalvarHorario

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /UnicardSIGE_Webservice/SIGE3WebService.asmx HTTP/1.1
Host: 185256.4wlbb.group
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/SalvarHorario"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SalvarHorario xmlns="http://tempuri.org/">
      <horario>
        <Disciplina>
          <Nome>string</Nome>
          <Sigla>string</Sigla>
          <ColorBack />
          <ColorText />
        </Disciplina>
        <DiaDaSemanda>Domingo or Segunda or Terca or Quarta or Quinta or Sexta or Sabado</DiaDaSemanda>
        <HoraInicio>dateTime</HoraInicio>
        <HoraFim>dateTime</HoraFim>
        <Utilizador>
          <AnolectivoID>long</AnolectivoID>
          <AutorizaSaidaAlmoco>boolean</AutorizaSaidaAlmoco>
          <NIB>string</NIB>
          <AutorizaSaidaAlmocoSeg>boolean</AutorizaSaidaAlmocoSeg>
          <AutorizaSaidaAlmocoTer>boolean</AutorizaSaidaAlmocoTer>
          <AutorizaSaidaAlmocoQua>boolean</AutorizaSaidaAlmocoQua>
          <AutorizaSaidaAlmocoQui>boolean</AutorizaSaidaAlmocoQui>
          <AutorizaSaidaAlmocoSex>boolean</AutorizaSaidaAlmocoSex>
          <AutorizaSaidaAlmocoSab>boolean</AutorizaSaidaAlmocoSab>
          <AutorizaSaidaAlmocoDom>boolean</AutorizaSaidaAlmocoDom>
          <WindowsUserName>string</WindowsUserName>
          <Morada>string</Morada>
          <CodigoPostal>string</CodigoPostal>
          <CodigoPostalDesignacao>string</CodigoPostalDesignacao>
          <CodigoPostalExtencao>string</CodigoPostalExtencao>
          <Codigo>string</Codigo>
          <Tipo>visitante or professor or funcionario or aluno or Motorista or fornecedor or Outro or ExAluno or Seleccionar</Tipo>
          <CardNumber>long</CardNumber>
          <SerialAsLong>long</SerialAsLong>
          <DataIncricao>dateTime</DataIncricao>
          <DataNascimento>dateTime</DataNascimento>
          <Email>string</Email>
          <EncEducacao>string</EncEducacao>
          <HorarioTurma>boolean</HorarioTurma>
          <Localidade>string</Localidade>
          <Nacionalidade>string</Nacionalidade>
          <Naturalidade>string</Naturalidade>
          <NContribuinte>string</NContribuinte>
          <Sexo>boolean</Sexo>
          <TelCasa>string</TelCasa>
          <Telemovel>string</Telemovel>
          <TelEmprego>string</TelEmprego>
          <Turma>
            <AnoLectivoID>long</AnoLectivoID>
            <EstablecimentoID>long</EstablecimentoID>
            <Nome>string</Nome>
            <Ano xsi:nil="true" />
            <Ciclo xsi:nil="true" />
            <Regime xsi:nil="true" />
          </Turma>
          <Escalao>
            <Nome>string</Nome>
          </Escalao>
          <EstablecimentoID>long</EstablecimentoID>
          <BI>string</BI>
          <BIDataEmissao>dateTime</BIDataEmissao>
          <AcessoEscolar>boolean</AcessoEscolar>
          <SaidaLivre>boolean</SaidaLivre>
          <SaidaFuros>boolean</SaidaFuros>
          <SaidaUltimoTempo>boolean</SaidaUltimoTempo>
          <SaidaIntervalos>boolean</SaidaIntervalos>
          <SaidaAcompanhado>boolean</SaidaAcompanhado>
          <Pin>string</Pin>
          <CardSerial>string</CardSerial>
          <PassworEncarregado>string</PassworEncarregado>
          <EstaNaEscola>boolean</EstaNaEscola>
          <Saldo>decimal</Saldo>
          <SaldoManuais>decimal</SaldoManuais>
          <SaldoSubsidiado>decimal</SaldoSubsidiado>
        </Utilizador>
        <Turma>
          <AnoLectivoID>long</AnoLectivoID>
          <EstablecimentoID>long</EstablecimentoID>
          <Nome>string</Nome>
          <Ano>
            <Nome>string</Nome>
          </Ano>
          <Ciclo>
            <Nome>string</Nome>
          </Ciclo>
          <Regime>
            <ID>long</ID>
            <Nome>string</Nome>
          </Regime>
        </Turma>
        <Apagado>boolean</Apagado>
      </horario>
      <Novo>boolean</Novo>
    </SalvarHorario>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <SalvarHorarioResponse xmlns="http://tempuri.org/">
      <SalvarHorarioResult>
        <Value>long</Value>
        <Ok>boolean</Ok>
        <Message>string</Message>
      </SalvarHorarioResult>
    </SalvarHorarioResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /UnicardSIGE_Webservice/SIGE3WebService.asmx HTTP/1.1
Host: 185256.4wlbb.group
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SalvarHorario xmlns="http://tempuri.org/">
      <horario>
        <Disciplina>
          <Nome>string</Nome>
          <Sigla>string</Sigla>
          <ColorBack />
          <ColorText />
        </Disciplina>
        <DiaDaSemanda>Domingo or Segunda or Terca or Quarta or Quinta or Sexta or Sabado</DiaDaSemanda>
        <HoraInicio>dateTime</HoraInicio>
        <HoraFim>dateTime</HoraFim>
        <Utilizador>
          <AnolectivoID>long</AnolectivoID>
          <AutorizaSaidaAlmoco>boolean</AutorizaSaidaAlmoco>
          <NIB>string</NIB>
          <AutorizaSaidaAlmocoSeg>boolean</AutorizaSaidaAlmocoSeg>
          <AutorizaSaidaAlmocoTer>boolean</AutorizaSaidaAlmocoTer>
          <AutorizaSaidaAlmocoQua>boolean</AutorizaSaidaAlmocoQua>
          <AutorizaSaidaAlmocoQui>boolean</AutorizaSaidaAlmocoQui>
          <AutorizaSaidaAlmocoSex>boolean</AutorizaSaidaAlmocoSex>
          <AutorizaSaidaAlmocoSab>boolean</AutorizaSaidaAlmocoSab>
          <AutorizaSaidaAlmocoDom>boolean</AutorizaSaidaAlmocoDom>
          <WindowsUserName>string</WindowsUserName>
          <Morada>string</Morada>
          <CodigoPostal>string</CodigoPostal>
          <CodigoPostalDesignacao>string</CodigoPostalDesignacao>
          <CodigoPostalExtencao>string</CodigoPostalExtencao>
          <Codigo>string</Codigo>
          <Tipo>visitante or professor or funcionario or aluno or Motorista or fornecedor or Outro or ExAluno or Seleccionar</Tipo>
          <CardNumber>long</CardNumber>
          <SerialAsLong>long</SerialAsLong>
          <DataIncricao>dateTime</DataIncricao>
          <DataNascimento>dateTime</DataNascimento>
          <Email>string</Email>
          <EncEducacao>string</EncEducacao>
          <HorarioTurma>boolean</HorarioTurma>
          <Localidade>string</Localidade>
          <Nacionalidade>string</Nacionalidade>
          <Naturalidade>string</Naturalidade>
          <NContribuinte>string</NContribuinte>
          <Sexo>boolean</Sexo>
          <TelCasa>string</TelCasa>
          <Telemovel>string</Telemovel>
          <TelEmprego>string</TelEmprego>
          <Turma>
            <AnoLectivoID>long</AnoLectivoID>
            <EstablecimentoID>long</EstablecimentoID>
            <Nome>string</Nome>
            <Ano xsi:nil="true" />
            <Ciclo xsi:nil="true" />
            <Regime xsi:nil="true" />
          </Turma>
          <Escalao>
            <Nome>string</Nome>
          </Escalao>
          <EstablecimentoID>long</EstablecimentoID>
          <BI>string</BI>
          <BIDataEmissao>dateTime</BIDataEmissao>
          <AcessoEscolar>boolean</AcessoEscolar>
          <SaidaLivre>boolean</SaidaLivre>
          <SaidaFuros>boolean</SaidaFuros>
          <SaidaUltimoTempo>boolean</SaidaUltimoTempo>
          <SaidaIntervalos>boolean</SaidaIntervalos>
          <SaidaAcompanhado>boolean</SaidaAcompanhado>
          <Pin>string</Pin>
          <CardSerial>string</CardSerial>
          <PassworEncarregado>string</PassworEncarregado>
          <EstaNaEscola>boolean</EstaNaEscola>
          <Saldo>decimal</Saldo>
          <SaldoManuais>decimal</SaldoManuais>
          <SaldoSubsidiado>decimal</SaldoSubsidiado>
        </Utilizador>
        <Turma>
          <AnoLectivoID>long</AnoLectivoID>
          <EstablecimentoID>long</EstablecimentoID>
          <Nome>string</Nome>
          <Ano>
            <Nome>string</Nome>
          </Ano>
          <Ciclo>
            <Nome>string</Nome>
          </Ciclo>
          <Regime>
            <ID>long</ID>
            <Nome>string</Nome>
          </Regime>
        </Turma>
        <Apagado>boolean</Apagado>
      </horario>
      <Novo>boolean</Novo>
    </SalvarHorario>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <SalvarHorarioResponse xmlns="http://tempuri.org/">
      <SalvarHorarioResult>
        <Value>long</Value>
        <Ok>boolean</Ok>
        <Message>string</Message>
      </SalvarHorarioResult>
    </SalvarHorarioResponse>
  </soap12:Body>
</soap12:Envelope>