WSIdonicsysMobileApp
Click here for a complete list of operations.
InsertFicheiroEntidade
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 /WSIdonicsysMobileApp.asmx HTTP/1.1
Host: assiduidademobile.motorline.pt
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/InsertFicheiroEntidade"
<?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:Header>
<SecurityInfo xmlns="http://tempuri.org/">
<Username>string</Username>
<Password>string</Password>
<Token>string</Token>
<ConnName>string</ConnName>
</SecurityInfo>
</soap:Header>
<soap:Body>
<InsertFicheiroEntidade xmlns="http://tempuri.org/">
<sessao>string</sessao>
<idEntidade>int</idEntidade>
<tipoEntidade>Crianca or Utilizador or Responsavel or Funcionario or Turma or Planeamento or Avaliacao or Pessoa or Visitante or Terminal or Alerta or TerminalIO or Grupo or Departamento or Camera or Tarefa or ResultadoTarefa or EntidadeExterna or Porta or Viatura or RelatorioTecnico or Despesa or WfProjecto or WfTarefa or WfContrato or WfPagamento or Equipamento or Comum or Notificacao or Evento or Campanha or WfEmailTemplate or Zona or Ficheiro or PessoaPedido or Indeterminado</tipoEntidade>
<fileName>string</fileName>
<fileBytes>base64Binary</fileBytes>
</InsertFicheiroEntidade>
</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>
<InsertFicheiroEntidadeResponse xmlns="http://tempuri.org/">
<InsertFicheiroEntidadeResult>string</InsertFicheiroEntidadeResult>
</InsertFicheiroEntidadeResponse>
</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 /WSIdonicsysMobileApp.asmx HTTP/1.1
Host: assiduidademobile.motorline.pt
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:Header>
<SecurityInfo xmlns="http://tempuri.org/">
<Username>string</Username>
<Password>string</Password>
<Token>string</Token>
<ConnName>string</ConnName>
</SecurityInfo>
</soap12:Header>
<soap12:Body>
<InsertFicheiroEntidade xmlns="http://tempuri.org/">
<sessao>string</sessao>
<idEntidade>int</idEntidade>
<tipoEntidade>Crianca or Utilizador or Responsavel or Funcionario or Turma or Planeamento or Avaliacao or Pessoa or Visitante or Terminal or Alerta or TerminalIO or Grupo or Departamento or Camera or Tarefa or ResultadoTarefa or EntidadeExterna or Porta or Viatura or RelatorioTecnico or Despesa or WfProjecto or WfTarefa or WfContrato or WfPagamento or Equipamento or Comum or Notificacao or Evento or Campanha or WfEmailTemplate or Zona or Ficheiro or PessoaPedido or Indeterminado</tipoEntidade>
<fileName>string</fileName>
<fileBytes>base64Binary</fileBytes>
</InsertFicheiroEntidade>
</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>
<InsertFicheiroEntidadeResponse xmlns="http://tempuri.org/">
<InsertFicheiroEntidadeResult>string</InsertFicheiroEntidadeResult>
</InsertFicheiroEntidadeResponse>
</soap12:Body>
</soap12:Envelope>