BodyService


Click here for a complete list of operations.

FindPersonByCriteria

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 /Bodies/BodyService.asmx HTTP/1.1
Host: oecdgroups.oecd.org
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/FindPersonByCriteria"

<?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>
    <FindPersonByCriteria xmlns="http://tempuri.org/">
      <contactkey>int</contactkey>
      <firstname>string</firstname>
      <lastname>string</lastname>
      <emailaddress>string</emailaddress>
    </FindPersonByCriteria>
  </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>
    <FindPersonByCriteriaResponse xmlns="http://tempuri.org/">
      <FindPersonByCriteriaResult>
        <PersonType>
          <personid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</personid>
          <titleid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</titleid>
          <title_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</title_en>
          <title_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</title_fr>
          <firstname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</firstname>
          <lastname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</lastname>
          <country xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">
            <countryid>int</countryid>
            <shortname>string</shortname>
            <name_en>string</name_en>
            <name_fr>string</name_fr>
            <nbchild>int</nbchild>
            <sortorderkey>int</sortorderkey>
            <bodiessortorderkey>int</bodiessortorderkey>
          </country>
          <emailaddress xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</emailaddress>
          <btitleid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</btitleid>
          <btitle_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</btitle_en>
          <btitle_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</btitle_fr>
          <bfirstname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</bfirstname>
          <blastname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</blastname>
          <bcountry xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">
            <countryid>int</countryid>
            <shortname>string</shortname>
            <name_en>string</name_en>
            <name_fr>string</name_fr>
            <nbchild>int</nbchild>
            <sortorderkey>int</sortorderkey>
            <bodiessortorderkey>int</bodiessortorderkey>
          </bcountry>
          <descr_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</descr_en>
          <descr_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</descr_fr>
          <nbchild xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</nbchild>
        </PersonType>
        <PersonType>
          <personid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</personid>
          <titleid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</titleid>
          <title_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</title_en>
          <title_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</title_fr>
          <firstname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</firstname>
          <lastname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</lastname>
          <country xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">
            <countryid>int</countryid>
            <shortname>string</shortname>
            <name_en>string</name_en>
            <name_fr>string</name_fr>
            <nbchild>int</nbchild>
            <sortorderkey>int</sortorderkey>
            <bodiessortorderkey>int</bodiessortorderkey>
          </country>
          <emailaddress xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</emailaddress>
          <btitleid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</btitleid>
          <btitle_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</btitle_en>
          <btitle_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</btitle_fr>
          <bfirstname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</bfirstname>
          <blastname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</blastname>
          <bcountry xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">
            <countryid>int</countryid>
            <shortname>string</shortname>
            <name_en>string</name_en>
            <name_fr>string</name_fr>
            <nbchild>int</nbchild>
            <sortorderkey>int</sortorderkey>
            <bodiessortorderkey>int</bodiessortorderkey>
          </bcountry>
          <descr_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</descr_en>
          <descr_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</descr_fr>
          <nbchild xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</nbchild>
        </PersonType>
      </FindPersonByCriteriaResult>
    </FindPersonByCriteriaResponse>
  </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 /Bodies/BodyService.asmx HTTP/1.1
Host: oecdgroups.oecd.org
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>
    <FindPersonByCriteria xmlns="http://tempuri.org/">
      <contactkey>int</contactkey>
      <firstname>string</firstname>
      <lastname>string</lastname>
      <emailaddress>string</emailaddress>
    </FindPersonByCriteria>
  </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>
    <FindPersonByCriteriaResponse xmlns="http://tempuri.org/">
      <FindPersonByCriteriaResult>
        <PersonType>
          <personid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</personid>
          <titleid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</titleid>
          <title_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</title_en>
          <title_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</title_fr>
          <firstname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</firstname>
          <lastname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</lastname>
          <country xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">
            <countryid>int</countryid>
            <shortname>string</shortname>
            <name_en>string</name_en>
            <name_fr>string</name_fr>
            <nbchild>int</nbchild>
            <sortorderkey>int</sortorderkey>
            <bodiessortorderkey>int</bodiessortorderkey>
          </country>
          <emailaddress xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</emailaddress>
          <btitleid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</btitleid>
          <btitle_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</btitle_en>
          <btitle_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</btitle_fr>
          <bfirstname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</bfirstname>
          <blastname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</blastname>
          <bcountry xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">
            <countryid>int</countryid>
            <shortname>string</shortname>
            <name_en>string</name_en>
            <name_fr>string</name_fr>
            <nbchild>int</nbchild>
            <sortorderkey>int</sortorderkey>
            <bodiessortorderkey>int</bodiessortorderkey>
          </bcountry>
          <descr_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</descr_en>
          <descr_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</descr_fr>
          <nbchild xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</nbchild>
        </PersonType>
        <PersonType>
          <personid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</personid>
          <titleid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</titleid>
          <title_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</title_en>
          <title_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</title_fr>
          <firstname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</firstname>
          <lastname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</lastname>
          <country xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">
            <countryid>int</countryid>
            <shortname>string</shortname>
            <name_en>string</name_en>
            <name_fr>string</name_fr>
            <nbchild>int</nbchild>
            <sortorderkey>int</sortorderkey>
            <bodiessortorderkey>int</bodiessortorderkey>
          </country>
          <emailaddress xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</emailaddress>
          <btitleid xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</btitleid>
          <btitle_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</btitle_en>
          <btitle_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</btitle_fr>
          <bfirstname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</bfirstname>
          <blastname xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</blastname>
          <bcountry xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">
            <countryid>int</countryid>
            <shortname>string</shortname>
            <name_en>string</name_en>
            <name_fr>string</name_fr>
            <nbchild>int</nbchild>
            <sortorderkey>int</sortorderkey>
            <bodiessortorderkey>int</bodiessortorderkey>
          </bcountry>
          <descr_en xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</descr_en>
          <descr_fr xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">string</descr_fr>
          <nbchild xmlns="http://BodiesServices.ServiceContracts/2007/06/IBodiesService">int</nbchild>
        </PersonType>
      </FindPersonByCriteriaResult>
    </FindPersonByCriteriaResponse>
  </soap12:Body>
</soap12:Envelope>