BodyService


Click here for a complete list of operations.

getOneBodyMeta

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/getOneBodyMeta"

<?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>
    <getOneBodyMeta xmlns="http://tempuri.org/">
      <bodymetaid>int</bodymetaid>
    </getOneBodyMeta>
  </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>
    <getOneBodyMetaResponse xmlns="http://tempuri.org/">
      <getOneBodyMetaResult>
        <BodyMetaID>int</BodyMetaID>
        <BodyID>int</BodyID>
        <BodyStatus>
          <StatusID>int</StatusID>
          <Label_En>string</Label_En>
          <Label_Fr>string</Label_Fr>
        </BodyStatus>
        <SectionID>int</SectionID>
        <SectionStatus>
          <StatusID>int</StatusID>
          <Label_En>string</Label_En>
          <Label_Fr>string</Label_Fr>
        </SectionStatus>
        <DetailID>int</DetailID>
        <DetailStatus>
          <StatusID>int</StatusID>
          <Label_En>string</Label_En>
          <Label_Fr>string</Label_Fr>
        </DetailStatus>
        <DetailTypeID>int</DetailTypeID>
        <DetailRefID>int</DetailRefID>
        <Text_En>string</Text_En>
        <Text_Fr>string</Text_Fr>
        <Cote>string</Cote>
        <File>base64Binary</File>
        <Filename>string</Filename>
        <FileExtension>string</FileExtension>
        <FileType>string</FileType>
        <FileSize>long</FileSize>
        <FileDescription_En>string</FileDescription_En>
        <FileDescription_Fr>string</FileDescription_Fr>
        <URL>string</URL>
        <URLDescription_En>string</URLDescription_En>
        <URLDescription_Fr>string</URLDescription_Fr>
        <RelatedDoc>string</RelatedDoc>
        <Language>string</Language>
        <Visibility>
          <VisibilityID>int</VisibilityID>
          <Label_En>string</Label_En>
          <Label_Fr>string</Label_Fr>
        </Visibility>
        <AddedDate>dateTime</AddedDate>
        <AddedBy>int</AddedBy>
      </getOneBodyMetaResult>
    </getOneBodyMetaResponse>
  </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>
    <getOneBodyMeta xmlns="http://tempuri.org/">
      <bodymetaid>int</bodymetaid>
    </getOneBodyMeta>
  </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>
    <getOneBodyMetaResponse xmlns="http://tempuri.org/">
      <getOneBodyMetaResult>
        <BodyMetaID>int</BodyMetaID>
        <BodyID>int</BodyID>
        <BodyStatus>
          <StatusID>int</StatusID>
          <Label_En>string</Label_En>
          <Label_Fr>string</Label_Fr>
        </BodyStatus>
        <SectionID>int</SectionID>
        <SectionStatus>
          <StatusID>int</StatusID>
          <Label_En>string</Label_En>
          <Label_Fr>string</Label_Fr>
        </SectionStatus>
        <DetailID>int</DetailID>
        <DetailStatus>
          <StatusID>int</StatusID>
          <Label_En>string</Label_En>
          <Label_Fr>string</Label_Fr>
        </DetailStatus>
        <DetailTypeID>int</DetailTypeID>
        <DetailRefID>int</DetailRefID>
        <Text_En>string</Text_En>
        <Text_Fr>string</Text_Fr>
        <Cote>string</Cote>
        <File>base64Binary</File>
        <Filename>string</Filename>
        <FileExtension>string</FileExtension>
        <FileType>string</FileType>
        <FileSize>long</FileSize>
        <FileDescription_En>string</FileDescription_En>
        <FileDescription_Fr>string</FileDescription_Fr>
        <URL>string</URL>
        <URLDescription_En>string</URLDescription_En>
        <URLDescription_Fr>string</URLDescription_Fr>
        <RelatedDoc>string</RelatedDoc>
        <Language>string</Language>
        <Visibility>
          <VisibilityID>int</VisibilityID>
          <Label_En>string</Label_En>
          <Label_Fr>string</Label_Fr>
        </Visibility>
        <AddedDate>dateTime</AddedDate>
        <AddedBy>int</AddedBy>
      </getOneBodyMetaResult>
    </getOneBodyMetaResponse>
  </soap12:Body>
</soap12:Envelope>