Nombradas
Click here for a complete list of operations.
getResolucionNombrada
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 /Servicios/Nombradas.asmx HTTP/1.1 Host: sccnlpservices-piloto.dirtrab.cl Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "https://sccnlp.com/getResolucionNombrada" <?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> <UserCredentials xmlns="https://sccnlp.com/"> <userName>string</userName> <password>string</password> </UserCredentials> </soap:Header> <soap:Body> <getResolucionNombrada xmlns="https://sccnlp.com/"> <idNombrada>int</idNombrada> <rutEmpresa>int</rutEmpresa> </getResolucionNombrada> </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> <getResolucionNombradaResponse xmlns="https://sccnlp.com/"> <getResolucionNombradaResult> <Estado>int</Estado> <Mensaje>string</Mensaje> <nombradaResolucionDetalle> <id>int</id> <idEmpresa>int</idEmpresa> <fechaInicioNombrada>dateTime</fechaInicioNombrada> <fechaFinNombrada>dateTime</fechaFinNombrada> <idTurno>int</idTurno> <Turno>string</Turno> <idNave>int</idNave> <Nave>string</Nave> <idLocacion>int</idLocacion> <lugar>string</lugar> <posicion>string</posicion> <fechaCreacion>dateTime</fechaCreacion> <activo>boolean</activo> <idEstadoNombrada>int</idEstadoNombrada> <glosaEstadoNombrada>string</glosaEstadoNombrada> <trabajadores> <TrabajadorResolucion xsi:nil="true" /> <TrabajadorResolucion xsi:nil="true" /> </trabajadores> </nombradaResolucionDetalle> </getResolucionNombradaResult> </getResolucionNombradaResponse> </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 /Servicios/Nombradas.asmx HTTP/1.1 Host: sccnlpservices-piloto.dirtrab.cl 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> <UserCredentials xmlns="https://sccnlp.com/"> <userName>string</userName> <password>string</password> </UserCredentials> </soap12:Header> <soap12:Body> <getResolucionNombrada xmlns="https://sccnlp.com/"> <idNombrada>int</idNombrada> <rutEmpresa>int</rutEmpresa> </getResolucionNombrada> </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> <getResolucionNombradaResponse xmlns="https://sccnlp.com/"> <getResolucionNombradaResult> <Estado>int</Estado> <Mensaje>string</Mensaje> <nombradaResolucionDetalle> <id>int</id> <idEmpresa>int</idEmpresa> <fechaInicioNombrada>dateTime</fechaInicioNombrada> <fechaFinNombrada>dateTime</fechaFinNombrada> <idTurno>int</idTurno> <Turno>string</Turno> <idNave>int</idNave> <Nave>string</Nave> <idLocacion>int</idLocacion> <lugar>string</lugar> <posicion>string</posicion> <fechaCreacion>dateTime</fechaCreacion> <activo>boolean</activo> <idEstadoNombrada>int</idEstadoNombrada> <glosaEstadoNombrada>string</glosaEstadoNombrada> <trabajadores> <TrabajadorResolucion xsi:nil="true" /> <TrabajadorResolucion xsi:nil="true" /> </trabajadores> </nombradaResolucionDetalle> </getResolucionNombradaResult> </getResolucionNombradaResponse> </soap12:Body> </soap12:Envelope>