JobWS


Click here for a complete list of operations.

UpdateJob

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 /JobWS.asmx HTTP/1.1
Host: en.employers.jobs.lu
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://www.jobs.lu/webservices/UpdateJob"

<?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>
    <UpdateJob xmlns="http://www.jobs.lu/webservices/">
      <login>string</login>
      <password>string</password>
      <job>
        <Id>int</Id>
        <Title>string</Title>
        <Payment>string</Payment>
        <Location>string</Location>
        <Description>string</Description>
        <HtmlDescription>string</HtmlDescription>
        <IsFullTime>boolean</IsFullTime>
        <IsPartTime>boolean</IsPartTime>
        <Question1>string</Question1>
        <Question2>string</Question2>
        <Question3>string</Question3>
        <ApplicationURL>string</ApplicationURL>
        <ContactEmails>
          <string>string</string>
          <string>string</string>
        </ContactEmails>
        <ExpiryDT>dateTime</ExpiryDT>
        <CreatedDT>dateTime</CreatedDT>
        <ModifiedDT>dateTime</ModifiedDT>
        <Reference>string</Reference>
        <CategoryIds>
          <int>int</int>
          <int>int</int>
        </CategoryIds>
        <RegionIds>
          <int>int</int>
          <int>int</int>
        </RegionIds>
        <ContractIds>
          <int>int</int>
          <int>int</int>
        </ContractIds>
        <SlotType>int</SlotType>
      </job>
    </UpdateJob>
  </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>
    <UpdateJobResponse xmlns="http://www.jobs.lu/webservices/">
      <UpdateJobResult>
        <UpdateCount>int</UpdateCount>
      </UpdateJobResult>
    </UpdateJobResponse>
  </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 /JobWS.asmx HTTP/1.1
Host: en.employers.jobs.lu
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>
    <UpdateJob xmlns="http://www.jobs.lu/webservices/">
      <login>string</login>
      <password>string</password>
      <job>
        <Id>int</Id>
        <Title>string</Title>
        <Payment>string</Payment>
        <Location>string</Location>
        <Description>string</Description>
        <HtmlDescription>string</HtmlDescription>
        <IsFullTime>boolean</IsFullTime>
        <IsPartTime>boolean</IsPartTime>
        <Question1>string</Question1>
        <Question2>string</Question2>
        <Question3>string</Question3>
        <ApplicationURL>string</ApplicationURL>
        <ContactEmails>
          <string>string</string>
          <string>string</string>
        </ContactEmails>
        <ExpiryDT>dateTime</ExpiryDT>
        <CreatedDT>dateTime</CreatedDT>
        <ModifiedDT>dateTime</ModifiedDT>
        <Reference>string</Reference>
        <CategoryIds>
          <int>int</int>
          <int>int</int>
        </CategoryIds>
        <RegionIds>
          <int>int</int>
          <int>int</int>
        </RegionIds>
        <ContractIds>
          <int>int</int>
          <int>int</int>
        </ContractIds>
        <SlotType>int</SlotType>
      </job>
    </UpdateJob>
  </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>
    <UpdateJobResponse xmlns="http://www.jobs.lu/webservices/">
      <UpdateJobResult>
        <UpdateCount>int</UpdateCount>
      </UpdateJobResult>
    </UpdateJobResponse>
  </soap12:Body>
</soap12:Envelope>