HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/RequestDeptsAllV2 HTTP/1.1
Host: rest.qacomplete.smartbear.com
Content-Type: application/xml
Content-Length: length
<RequestDeptsAllV2 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.V2.Dept" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<ResponseDeptsCollection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.AutomationService.DTO.Common.Dept">
<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.AutomationService.DTO.Common.Dept" xmlns="http://schemas.datacontract.org/2004/07/SwpStack.Service.Entity.Common">
<d2p1:ResponseSingleDept>
<d2p1:Company>String</d2p1:Company>
<d2p1:DateCreated>0001-01-01T00:00:00</d2p1:DateCreated>
<d2p1:Id>0</d2p1:Id>
<d2p1:Name>String</d2p1:Name>
</d2p1:ResponseSingleDept>
</Results>
</ResponseDeptsCollection>