ConfigService
Click here for a complete list of operations.
ReadContentGroups
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/ReadContentGroups"
<?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>
<ReadContentGroupsRequest xmlns="http://api.messagelabs.com/2005/01/Customer">
<CustomerId>int</CustomerId>
<RuleId>int</RuleId>
<DomainId>int</DomainId>
<RuleListType>string</RuleListType>
<ListType>string</ListType>
<GroupType>string</GroupType>
<NameFilter>string</NameFilter>
<SortBy>string</SortBy>
<StartFromRecord>int</StartFromRecord>
<RecordCount>int</RecordCount>
</ReadContentGroupsRequest>
</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>
<From.ReadContentGroupsResponse xmlns="http://api.messagelabs.com/2005/01/Customer">
<Groups>
<ContentUserGroup>
<OptimisticLockValue>base64Binary</OptimisticLockValue>
<UserGroupId>int</UserGroupId>
<CustomerId>int</CustomerId>
<DomainId>int</DomainId>
<Name>string</Name>
<MemberCount>int</MemberCount>
<UsedInRuleCount>int</UsedInRuleCount>
<GroupType>string</GroupType>
<LastModifiedDate>dateTime</LastModifiedDate>
</ContentUserGroup>
<ContentUserGroup>
<OptimisticLockValue>base64Binary</OptimisticLockValue>
<UserGroupId>int</UserGroupId>
<CustomerId>int</CustomerId>
<DomainId>int</DomainId>
<Name>string</Name>
<MemberCount>int</MemberCount>
<UsedInRuleCount>int</UsedInRuleCount>
<GroupType>string</GroupType>
<LastModifiedDate>dateTime</LastModifiedDate>
</ContentUserGroup>
</Groups>
<TotalCount>int</TotalCount>
</From.ReadContentGroupsResponse>
</soap:Body>
</soap:Envelope>