RoboTalker
Click here for a complete list of operations.
GetCampaignStats
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 /robotalker.asmx HTTP/1.1
Host: service.robotalker.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://robotalker.com/GetCampaignStats"
<?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>
<GetCampaignStats xmlns="http://robotalker.com/">
<request>
<CampaignId>int</CampaignId>
<IncludeDetails>boolean</IncludeDetails>
</request>
</GetCampaignStats>
</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>
<GetCampaignStatsResponse xmlns="http://robotalker.com/">
<GetCampaignStatsResult>
<Statistics>
<Status>Active or Paused or Completed or Resumed or Pending</Status>
<TotalContacts>unsignedInt</TotalContacts>
<Completed>unsignedInt</Completed>
<Delivered>unsignedInt</Delivered>
<LineBusy>unsignedInt</LineBusy>
<VoiceMail>unsignedInt</VoiceMail>
<InvalidNumber>unsignedInt</InvalidNumber>
<NotAnswered>unsignedInt</NotAnswered>
<Details>
<CampaignCallDetails xsi:nil="true" />
<CampaignCallDetails xsi:nil="true" />
</Details>
</Statistics>
</GetCampaignStatsResult>
</GetCampaignStatsResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /robotalker.asmx HTTP/1.1
Host: service.robotalker.com
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetCampaignStats xmlns="http://robotalker.com/">
<request>
<CampaignId>int</CampaignId>
<IncludeDetails>boolean</IncludeDetails>
</request>
</GetCampaignStats>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<GetCampaignStatsResponse xmlns="http://robotalker.com/">
<GetCampaignStatsResult>
<Statistics>
<Status>Active or Paused or Completed or Resumed or Pending</Status>
<TotalContacts>unsignedInt</TotalContacts>
<Completed>unsignedInt</Completed>
<Delivered>unsignedInt</Delivered>
<LineBusy>unsignedInt</LineBusy>
<VoiceMail>unsignedInt</VoiceMail>
<InvalidNumber>unsignedInt</InvalidNumber>
<NotAnswered>unsignedInt</NotAnswered>
<Details>
<CampaignCallDetails xsi:nil="true" />
<CampaignCallDetails xsi:nil="true" />
</Details>
</Statistics>
</GetCampaignStatsResult>
</GetCampaignStatsResponse>
</soap12:Body>
</soap12:Envelope>