ConfigService


Click here for a complete list of operations.

ReadContentList

Please see latest endpoint documentation for more details

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 /customerapi-1-22/configservice/service.asmx HTTP/1.1
Host: api.messagelabs.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://api.messagelabs.com/2005/01/Customer/ReadContentList"

<?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>
    <ReadContentListRequest xmlns="http://api.messagelabs.com/2005/01/Customer">
      <CustomerId>int</CustomerId>
      <Id>int</Id>
      <GetNamesOfUsingRules>boolean</GetNamesOfUsingRules>
      <GetNamesOfUsingSuperLists>boolean</GetNamesOfUsingSuperLists>
      <GetSubLists>boolean</GetSubLists>
      <GetEntries>boolean</GetEntries>
      <ServiceType>string</ServiceType>
    </ReadContentListRequest>
  </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>
    <ReadContentListResponse xmlns="http://api.messagelabs.com/2005/01/Customer">
      <List>
        <CustomerId>int</CustomerId>
        <DomainId>int</DomainId>
        <OptimisticLockValue>base64Binary</OptimisticLockValue>
        <ListId>int</ListId>
        <Scope>Unknown or Condition or Domain or Customer or Global</Scope>
        <Type>Unknown or MimeType or FileName or Domain or Content or Template or SelectedTemplate or Url</Type>
        <Name>string</Name>
        <Entries>
          <string>string</string>
          <string>string</string>
        </Entries>
        <UsedInRulesCount>int</UsedInRulesCount>
        <UsedInSuperListsCount>int</UsedInSuperListsCount>
        <IsSuperList>boolean</IsSuperList>
        <SubListIds>
          <int>int</int>
          <int>int</int>
        </SubListIds>
        <ServiceType>string</ServiceType>
      </List>
      <NamesOfUsingRules>
        <UsedByContentRule>
          <RuleName>string</RuleName>
          <DomainName>string</DomainName>
        </UsedByContentRule>
        <UsedByContentRule>
          <RuleName>string</RuleName>
          <DomainName>string</DomainName>
        </UsedByContentRule>
      </NamesOfUsingRules>
      <NamesOfUsingSuperLists>
        <string>string</string>
        <string>string</string>
      </NamesOfUsingSuperLists>
    </ReadContentListResponse>
  </soap:Body>
</soap:Envelope>