LogProService


Click here for a complete list of operations.

GetGeneralWorkData

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 /LogProService.asmx HTTP/1.1
Host: logpromhypirkanmaa.piimega.fi
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://LogProService.piimega.fi/GetGeneralWorkData"

<?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>
    <GetGeneralWorkData xmlns="http://LogProService.piimega.fi/">
      <sUserName>string</sUserName>
      <sPassword>string</sPassword>
      <iMachineryID>int</iMachineryID>
      <sRekNro>string</sRekNro>
      <sCPUID>string</sCPUID>
      <sClientVersion>string</sClientVersion>
      <dKarttaPaivays>dateTime</dKarttaPaivays>
      <clientCulture>string</clientCulture>
    </GetGeneralWorkData>
  </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>
    <GetGeneralWorkDataResponse xmlns="http://LogProService.piimega.fi/">
      <GetGeneralWorkDataResult>
        <Paivitys>boolean</Paivitys>
        <KannanVersio>string</KannanVersio>
        <YleinenTyoRivit>
          <GeneralWorkRow_4_2>
            <ID>int</ID>
            <SaaAloittaa>boolean</SaaAloittaa>
            <Kuvio xsi:nil="true" />
            <Sopimus xsi:nil="true" />
            <Myyja xsi:nil="true" />
            <Pomo xsi:nil="true" />
            <Aloituspvm>dateTime</Aloituspvm>
            <Lopetuspvm>dateTime</Lopetuspvm>
            <MuuUrakka>string</MuuUrakka>
            <Urakoitsijat xsi:nil="true" />
            <Reitit xsi:nil="true" />
            <YleisetOhjeet>string</YleisetOhjeet>
            <Tyyppi>string</Tyyppi>
          </GeneralWorkRow_4_2>
          <GeneralWorkRow_4_2>
            <ID>int</ID>
            <SaaAloittaa>boolean</SaaAloittaa>
            <Kuvio xsi:nil="true" />
            <Sopimus xsi:nil="true" />
            <Myyja xsi:nil="true" />
            <Pomo xsi:nil="true" />
            <Aloituspvm>dateTime</Aloituspvm>
            <Lopetuspvm>dateTime</Lopetuspvm>
            <MuuUrakka>string</MuuUrakka>
            <Urakoitsijat xsi:nil="true" />
            <Reitit xsi:nil="true" />
            <YleisetOhjeet>string</YleisetOhjeet>
            <Tyyppi>string</Tyyppi>
          </GeneralWorkRow_4_2>
        </YleinenTyoRivit>
      </GetGeneralWorkDataResult>
    </GetGeneralWorkDataResponse>
  </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 /LogProService.asmx HTTP/1.1
Host: logpromhypirkanmaa.piimega.fi
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>
    <GetGeneralWorkData xmlns="http://LogProService.piimega.fi/">
      <sUserName>string</sUserName>
      <sPassword>string</sPassword>
      <iMachineryID>int</iMachineryID>
      <sRekNro>string</sRekNro>
      <sCPUID>string</sCPUID>
      <sClientVersion>string</sClientVersion>
      <dKarttaPaivays>dateTime</dKarttaPaivays>
      <clientCulture>string</clientCulture>
    </GetGeneralWorkData>
  </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>
    <GetGeneralWorkDataResponse xmlns="http://LogProService.piimega.fi/">
      <GetGeneralWorkDataResult>
        <Paivitys>boolean</Paivitys>
        <KannanVersio>string</KannanVersio>
        <YleinenTyoRivit>
          <GeneralWorkRow_4_2>
            <ID>int</ID>
            <SaaAloittaa>boolean</SaaAloittaa>
            <Kuvio xsi:nil="true" />
            <Sopimus xsi:nil="true" />
            <Myyja xsi:nil="true" />
            <Pomo xsi:nil="true" />
            <Aloituspvm>dateTime</Aloituspvm>
            <Lopetuspvm>dateTime</Lopetuspvm>
            <MuuUrakka>string</MuuUrakka>
            <Urakoitsijat xsi:nil="true" />
            <Reitit xsi:nil="true" />
            <YleisetOhjeet>string</YleisetOhjeet>
            <Tyyppi>string</Tyyppi>
          </GeneralWorkRow_4_2>
          <GeneralWorkRow_4_2>
            <ID>int</ID>
            <SaaAloittaa>boolean</SaaAloittaa>
            <Kuvio xsi:nil="true" />
            <Sopimus xsi:nil="true" />
            <Myyja xsi:nil="true" />
            <Pomo xsi:nil="true" />
            <Aloituspvm>dateTime</Aloituspvm>
            <Lopetuspvm>dateTime</Lopetuspvm>
            <MuuUrakka>string</MuuUrakka>
            <Urakoitsijat xsi:nil="true" />
            <Reitit xsi:nil="true" />
            <YleisetOhjeet>string</YleisetOhjeet>
            <Tyyppi>string</Tyyppi>
          </GeneralWorkRow_4_2>
        </YleinenTyoRivit>
      </GetGeneralWorkDataResult>
    </GetGeneralWorkDataResponse>
  </soap12:Body>
</soap12:Envelope>