State of companies and workers
WSDL
The WSDL of the production service is available at
Production:
Preproduction:
Operations
CalcularSemaforosConfigurables
Supported Platforms: NATIONAL
Description: This operation returns a complete list of the prevention, procurement and financing states of the requested financial states of the contracts of the requested dossiers.
Request:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="http://www.obralia.com/integration/schemas">
<soapenv:Header/>
<soapenv:Body>
<sch:CalcularSemaforosConfigurablesRequest>
<sch:authObralia>
<sch:username>token</sch:username>
<sch:password>token</sch:password>
</sch:authObralia>
<sch:expedientes>
<!--1 o mas elementos -->
<sch:expediente>CODIGO_EXPEDIENTE_1</sch:expediente>
<sch:expediente>CODIGO_EXPEDIENTE_2</sch:>
<sch:expediente>CODIGO_EXPEDIENTE_3</sch:>
</sch:expedientes>
</sch:CalcularSemaforosConfigurablesRequest>
</soapenv:Body>
</soapenv:Envelope>
Request fields:
- username : User making the request
- password: User password
Response:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:sch="http://www.obralia.com/integration/schemas">
<soapenv:Header/>
<soapenv:Body>
<sch:CalcularSemaforosConfigurablesResponse>
<!—0 o mas elementos:-->
<sch:estadoExpediente codigo=”CODIGO_EXPEDIENTE”>
<!—0 o mas elementos:-->
<sch:estadoContrata nif="12345678Z" id=”2183432”>
<!—0 o mas elementos:-->
<sch:semaforo nombre=”prevencion”>R</sch: semaforo>
<sch:semaforo nombre=”compras”>G</sch: semaforo>
<sch:semaforo nombre=”financiero”>G</sch: semaforo>
<sch:urlConsulta>http://localhost:8080/generacionCertificadoTotalFechas!input.action?idContrata=218
3432</sch:urlConsulta>
</sch:estadoContrata>
</sch:estadoExpediente>
<sch:estadoExpediente codigo=”CODIGO_EXPEDIENTE2”>
<sch:estadoContrata nif=" PT87654321" id=”6805360”>
<sch:semaforo nombre=”prevencion”>G</sch: semaforo>
<sch:semaforo nombre=”compras”>R</sch: semaforo>
<sch:semaforo nombre=”financiero”>G</sch: semaforo>
<sch:urlConsulta>http://localhost:8080/generacionCertificadoTotalFechas!input.action?idContrata=680
5360</sch:urlConsulta>
</sch:estadoContrata>
</sch:estadoExpediente>
</sch:CalcularSemaforosConfigurablesResponse>
</soapenv:Body>
</soapenv:Envelope>
Response fields: For each contract of each requested dossier, information is provided on the states that have been defined. originally defined, which will be:
- "prevencion": prevention state
- "compras": purchases state
- "financiero": financial state
- "urlConsulta": URL of the portal where you can consult the details of the information received from each company.