JobPostingOptionsService


Click here for a complete list of operations.

GetCountriesList

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 /jpw/Services/JPW/JobPostingOptionsService.asmx HTTP/1.1
Host: employer.monster.lu
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://hiring.monster.com/services/jpw/200810/GetCountriesList"

<?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>
    <GetCountriesList xmlns="http://hiring.monster.com/services/jpw/200810" />
  </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>
    <GetCountriesListResponse xmlns="http://hiring.monster.com/services/jpw/200810">
      <GetCountriesListResult>
        <CountryData>
          <CountryId>int</CountryId>
          <CountryName>string</CountryName>
          <Abbr>string</Abbr>
          <IsCoreCountry>boolean</IsCoreCountry>
          <LocationNodes>
            <LocationItemData xsi:nil="true" />
            <LocationItemData xsi:nil="true" />
          </LocationNodes>
        </CountryData>
        <CountryData>
          <CountryId>int</CountryId>
          <CountryName>string</CountryName>
          <Abbr>string</Abbr>
          <IsCoreCountry>boolean</IsCoreCountry>
          <LocationNodes>
            <LocationItemData xsi:nil="true" />
            <LocationItemData xsi:nil="true" />
          </LocationNodes>
        </CountryData>
      </GetCountriesListResult>
    </GetCountriesListResponse>
  </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 /jpw/Services/JPW/JobPostingOptionsService.asmx HTTP/1.1
Host: employer.monster.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>
    <GetCountriesList xmlns="http://hiring.monster.com/services/jpw/200810" />
  </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>
    <GetCountriesListResponse xmlns="http://hiring.monster.com/services/jpw/200810">
      <GetCountriesListResult>
        <CountryData>
          <CountryId>int</CountryId>
          <CountryName>string</CountryName>
          <Abbr>string</Abbr>
          <IsCoreCountry>boolean</IsCoreCountry>
          <LocationNodes>
            <LocationItemData xsi:nil="true" />
            <LocationItemData xsi:nil="true" />
          </LocationNodes>
        </CountryData>
        <CountryData>
          <CountryId>int</CountryId>
          <CountryName>string</CountryName>
          <Abbr>string</Abbr>
          <IsCoreCountry>boolean</IsCoreCountry>
          <LocationNodes>
            <LocationItemData xsi:nil="true" />
            <LocationItemData xsi:nil="true" />
          </LocationNodes>
        </CountryData>
      </GetCountriesListResult>
    </GetCountriesListResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP GET

The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.

GET /jpw/Services/JPW/JobPostingOptionsService.asmx/GetCountriesList? HTTP/1.1
Host: employer.monster.lu
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<ArrayOfCountryData xmlns="http://hiring.monster.com/services/jpw/200810">
  <CountryData>
    <CountryId>int</CountryId>
    <CountryName>string</CountryName>
    <Abbr>string</Abbr>
    <IsCoreCountry>boolean</IsCoreCountry>
    <LocationNodes>
      <LocationItemData>
        <Description>string</Description>
        <IsDirty>boolean</IsDirty>
        <IsSelected>boolean</IsSelected>
        <LocationId>int</LocationId>
      </LocationItemData>
      <LocationItemData>
        <Description>string</Description>
        <IsDirty>boolean</IsDirty>
        <IsSelected>boolean</IsSelected>
        <LocationId>int</LocationId>
      </LocationItemData>
    </LocationNodes>
  </CountryData>
  <CountryData>
    <CountryId>int</CountryId>
    <CountryName>string</CountryName>
    <Abbr>string</Abbr>
    <IsCoreCountry>boolean</IsCoreCountry>
    <LocationNodes>
      <LocationItemData>
        <Description>string</Description>
        <IsDirty>boolean</IsDirty>
        <IsSelected>boolean</IsSelected>
        <LocationId>int</LocationId>
      </LocationItemData>
      <LocationItemData>
        <Description>string</Description>
        <IsDirty>boolean</IsDirty>
        <IsSelected>boolean</IsSelected>
        <LocationId>int</LocationId>
      </LocationItemData>
    </LocationNodes>
  </CountryData>
</ArrayOfCountryData>