Pera ServiceStack

<back to all web services

AgentVoiceConnectStateRequest

The following routes are available for this service:
POST,DELETE,OPTIONS/v1/AgentVoiceConnectState
GET/v1/AgentVoiceConnectState/{AgentId}

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/AgentVoiceConnectStateRequest HTTP/1.1 
Host: api2.publicemployeeretirementassistance.com 
Content-Type: application/xml
Content-Length: length

<AgentVoiceConnectStateRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PeraServiceStackLibrary">
  <AVCS>
    <AgentId>0</AgentId>
    <Id>0</Id>
    <LastCallDate>0001-01-01T00:00:00</LastCallDate>
    <ProductTypeId>0</ProductTypeId>
    <State>String</State>
  </AVCS>
  <AgentId>0</AgentId>
</AgentVoiceConnectStateRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<AgentVoiceConnectState xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PeraServiceStackLibrary">
  <AgentId>0</AgentId>
  <Id>0</Id>
  <LastCallDate>0001-01-01T00:00:00</LastCallDate>
  <ProductTypeId>0</ProductTypeId>
  <State>String</State>
</AgentVoiceConnectState>