ConfigService


Click here for a complete list of operations.

ReadRole

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

<?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>
    <ReadRoleRequest xmlns="http://api.messagelabs.com/2005/01/Customer">
      <AuthorizedUserId>int</AuthorizedUserId>
      <RoleType>Unknown or EditConfiguration or EditCustomers or ManageUsers or PrimaryLogin or ViewConfiguration or ViewStatistics or Provisioning or TrackAndTrace or ProvisionCustomers or PlaceOrders or CustomiseUI or RequestChanges or ViewIntelligence or ViewSupportContent or ViewNewsAlerts or ViewServiceAlerts or RaiseTickets</RoleType>
      <ServiceTypes>None or Unknown or Branding or Content or Image or Mail or Sms or Spam or Virus or ManagedEncryption or WebScanning or RegisteredUser or Archiving or WebVirus or WebSpyware or WebUrlFiltering or LDAPUserGroups or NamedRoutes or Quarantine or ConfigurationNotification or IMSecurityService or All</ServiceTypes>
      <CustomerId>int</CustomerId>
    </ReadRoleRequest>
  </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>
    <ReadRoleResponse xmlns="http://api.messagelabs.com/2005/01/Customer">
      <Role>
        <OptimisticLock>base64Binary</OptimisticLock>
        <AuthorizedUserId>int</AuthorizedUserId>
        <Domains>
          <Domain>string</Domain>
          <Domain>string</Domain>
        </Domains>
      </Role>
    </ReadRoleResponse>
  </soap:Body>
</soap:Envelope>