ConfigService


Click here for a complete list of operations.

WritePornService

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

<?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>
    <WritePornServiceRequest xmlns="http://api.messagelabs.com/2005/01/Customer">
      <OptimisticLockValue>base64Binary</OptimisticLockValue>
      <CustomerId>int</CustomerId>
      <PornService>
        <OptimisticLockValue>base64Binary</OptimisticLockValue>
        <CustomerId>int</CustomerId>
        <DomainId>int</DomainId>
        <UseDomainDefaultSettings>boolean</UseDomainDefaultSettings>
        <UseInboundGlobalApprovedImages>boolean</UseInboundGlobalApprovedImages>
        <UseInboundClientApprovedImages>boolean</UseInboundClientApprovedImages>
        <UseOutboundGlobalApprovedImages>boolean</UseOutboundGlobalApprovedImages>
        <UseOutboundClientApprovedImages>boolean</UseOutboundClientApprovedImages>
        <ScanInboundOfficeDocs>boolean</ScanInboundOfficeDocs>
        <ScanOutboundOfficeDocs>boolean</ScanOutboundOfficeDocs>
        <SubjectTag>string</SubjectTag>
        <SubjectTagPosition>Uknown or Prepend or Append</SubjectTagPosition>
        <UserNotification>Unknown or NotifyNobody or NotifySender or NotifyReceiver or NotifySenderAndReceiver</UserNotification>
        <NotifyAdmin>boolean</NotifyAdmin>
        <AdministratorEmailAddress>string</AdministratorEmailAddress>
        <InboundImageControl>
          <IsActive>boolean</IsActive>
          <Sensitivity>Unknown or Low or Medium or High</Sensitivity>
          <Action>Unknown or BlockDelete or TagInHeader or Redirect or Copy or Log or TagSubject or Quarantine</Action>
        </InboundImageControl>
        <InboundClientBlockedImages>
          <IsActive>boolean</IsActive>
          <Sensitivity>Unknown or Low or Medium or High</Sensitivity>
          <Action>Unknown or BlockDelete or TagInHeader or Redirect or Copy or Log or TagSubject or Quarantine</Action>
        </InboundClientBlockedImages>
        <InboundGlobalBlockedImages>
          <IsActive>boolean</IsActive>
          <Sensitivity>Unknown or Low or Medium or High</Sensitivity>
          <Action>Unknown or BlockDelete or TagInHeader or Redirect or Copy or Log or TagSubject or Quarantine</Action>
        </InboundGlobalBlockedImages>
        <OutboundImageControl>
          <IsActive>boolean</IsActive>
          <Sensitivity>Unknown or Low or Medium or High</Sensitivity>
          <Action>Unknown or BlockDelete or TagInHeader or Redirect or Copy or Log or TagSubject or Quarantine</Action>
        </OutboundImageControl>
        <OutboundClientBlockedImages>
          <IsActive>boolean</IsActive>
          <Sensitivity>Unknown or Low or Medium or High</Sensitivity>
          <Action>Unknown or BlockDelete or TagInHeader or Redirect or Copy or Log or TagSubject or Quarantine</Action>
        </OutboundClientBlockedImages>
        <OutboundGlobalBlockedImages>
          <IsActive>boolean</IsActive>
          <Sensitivity>Unknown or Low or Medium or High</Sensitivity>
          <Action>Unknown or BlockDelete or TagInHeader or Redirect or Copy or Log or TagSubject or Quarantine</Action>
        </OutboundGlobalBlockedImages>
      </PornService>
      <ApprovedImages>
        <Image>
          <Id>int</Id>
          <Signature>string</Signature>
          <IsDeleted>boolean</IsDeleted>
          <Description>string</Description>
          <CreatedBy>string</CreatedBy>
          <CreatedTime>dateTime</CreatedTime>
        </Image>
        <Image>
          <Id>int</Id>
          <Signature>string</Signature>
          <IsDeleted>boolean</IsDeleted>
          <Description>string</Description>
          <CreatedBy>string</CreatedBy>
          <CreatedTime>dateTime</CreatedTime>
        </Image>
      </ApprovedImages>
      <BlockedImages>
        <Image>
          <Id>int</Id>
          <Signature>string</Signature>
          <IsDeleted>boolean</IsDeleted>
          <Description>string</Description>
          <CreatedBy>string</CreatedBy>
          <CreatedTime>dateTime</CreatedTime>
        </Image>
        <Image>
          <Id>int</Id>
          <Signature>string</Signature>
          <IsDeleted>boolean</IsDeleted>
          <Description>string</Description>
          <CreatedBy>string</CreatedBy>
          <CreatedTime>dateTime</CreatedTime>
        </Image>
      </BlockedImages>
      <TrustedSenders>
        <TrustedUser>
          <Id>guid</Id>
          <IsDeleted>boolean</IsDeleted>
          <Value>string</Value>
          <Description>string</Description>
          <CreatedBy>string</CreatedBy>
          <CreatedTime>dateTime</CreatedTime>
        </TrustedUser>
        <TrustedUser>
          <Id>guid</Id>
          <IsDeleted>boolean</IsDeleted>
          <Value>string</Value>
          <Description>string</Description>
          <CreatedBy>string</CreatedBy>
          <CreatedTime>dateTime</CreatedTime>
        </TrustedUser>
      </TrustedSenders>
      <TrustedRecipients>
        <TrustedUser>
          <Id>guid</Id>
          <IsDeleted>boolean</IsDeleted>
          <Value>string</Value>
          <Description>string</Description>
          <CreatedBy>string</CreatedBy>
          <CreatedTime>dateTime</CreatedTime>
        </TrustedUser>
        <TrustedUser>
          <Id>guid</Id>
          <IsDeleted>boolean</IsDeleted>
          <Value>string</Value>
          <Description>string</Description>
          <CreatedBy>string</CreatedBy>
          <CreatedTime>dateTime</CreatedTime>
        </TrustedUser>
      </TrustedRecipients>
    </WritePornServiceRequest>
  </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>
    <WritePornServiceResult xmlns="http://api.messagelabs.com/2005/01/Customer">
      <OptimisticLockValue>base64Binary</OptimisticLockValue>
      <TrustedSendersSkippedForBeingPrivacyUsers>
        <string>string</string>
        <string>string</string>
      </TrustedSendersSkippedForBeingPrivacyUsers>
      <TrustedRecipientsSkippedForBeingPrivacyUsers>
        <string>string</string>
        <string>string</string>
      </TrustedRecipientsSkippedForBeingPrivacyUsers>
    </WritePornServiceResult>
  </soap:Body>
</soap:Envelope>