HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/RequestSecurityGroupByName HTTP/1.1
Host: rest.qacomplete.smartbear.com
Content-Type: application/xml
Content-Length: length
<RequestSecurityGroupByName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.SecurityGroup">
<DeptId>0</DeptId>
<Name>String</Name>
</RequestSecurityGroupByName>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ResponseSecurityGroupsPrivsCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.SecurityGroup">
<Metadata i:nil="true" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common" />
<Results xmlns:d2p1="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.SecurityGroup" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
<d2p1:ResponseSingleSecurityGroupPrivs>
<d2p1:CanAdd>false</d2p1:CanAdd>
<d2p1:CanDelete>false</d2p1:CanDelete>
<d2p1:CanRead>false</d2p1:CanRead>
<d2p1:CanUpdate>false</d2p1:CanUpdate>
<d2p1:EntityCode>String</d2p1:EntityCode>
</d2p1:ResponseSingleSecurityGroupPrivs>
</Results>
</ResponseSecurityGroupsPrivsCollection>