inSideWS


Click here for a complete list of operations.

AgentSession_GetStatesList

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 /insidews/insidews.asmx HTTP/1.1
Host: login.incontact.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://inlogin.com/inSideWS/AgentSession_GetStatesList"

<?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:Header>
    <inCredentials xmlns="http://inlogin.com/inSideWS">
      <busNo>int</busNo>
      <password>string</password>
      <partnerPassword>string</partnerPassword>
      <timeZoneName>string</timeZoneName>
      <DialerDSNName>string</DialerDSNName>
      <DialerDSNUserID>string</DialerDSNUserID>
      <DialerDSNPassword>string</DialerDSNPassword>
    </inCredentials>
  </soap:Header>
  <soap:Body>
    <AgentSession_GetStatesList xmlns="http://inlogin.com/inSideWS">
      <sessionID>long</sessionID>
    </AgentSession_GetStatesList>
  </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>
    <AgentSession_GetStatesListResponse xmlns="http://inlogin.com/inSideWS">
      <AgentSession_GetStatesListResult>
        <inAgentState>
          <SessionID>long</SessionID>
          <AgentNo>int</AgentNo>
          <StateIndex>int</StateIndex>
          <StartDate>dateTime</StartDate>
          <State>string</State>
          <SkillNo>int</SkillNo>
          <ContactID>long</ContactID>
          <IsWarehoused>boolean</IsWarehoused>
          <DateWarehoused>dateTime</DateWarehoused>
          <DurationSeconds>int</DurationSeconds>
          <EndDate>dateTime</EndDate>
          <IsACW>boolean</IsACW>
        </inAgentState>
        <inAgentState>
          <SessionID>long</SessionID>
          <AgentNo>int</AgentNo>
          <StateIndex>int</StateIndex>
          <StartDate>dateTime</StartDate>
          <State>string</State>
          <SkillNo>int</SkillNo>
          <ContactID>long</ContactID>
          <IsWarehoused>boolean</IsWarehoused>
          <DateWarehoused>dateTime</DateWarehoused>
          <DurationSeconds>int</DurationSeconds>
          <EndDate>dateTime</EndDate>
          <IsACW>boolean</IsACW>
        </inAgentState>
      </AgentSession_GetStatesListResult>
    </AgentSession_GetStatesListResponse>
  </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 /insidews/insidews.asmx HTTP/1.1
Host: login.incontact.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:Header>
    <inCredentials xmlns="http://inlogin.com/inSideWS">
      <busNo>int</busNo>
      <password>string</password>
      <partnerPassword>string</partnerPassword>
      <timeZoneName>string</timeZoneName>
      <DialerDSNName>string</DialerDSNName>
      <DialerDSNUserID>string</DialerDSNUserID>
      <DialerDSNPassword>string</DialerDSNPassword>
    </inCredentials>
  </soap12:Header>
  <soap12:Body>
    <AgentSession_GetStatesList xmlns="http://inlogin.com/inSideWS">
      <sessionID>long</sessionID>
    </AgentSession_GetStatesList>
  </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>
    <AgentSession_GetStatesListResponse xmlns="http://inlogin.com/inSideWS">
      <AgentSession_GetStatesListResult>
        <inAgentState>
          <SessionID>long</SessionID>
          <AgentNo>int</AgentNo>
          <StateIndex>int</StateIndex>
          <StartDate>dateTime</StartDate>
          <State>string</State>
          <SkillNo>int</SkillNo>
          <ContactID>long</ContactID>
          <IsWarehoused>boolean</IsWarehoused>
          <DateWarehoused>dateTime</DateWarehoused>
          <DurationSeconds>int</DurationSeconds>
          <EndDate>dateTime</EndDate>
          <IsACW>boolean</IsACW>
        </inAgentState>
        <inAgentState>
          <SessionID>long</SessionID>
          <AgentNo>int</AgentNo>
          <StateIndex>int</StateIndex>
          <StartDate>dateTime</StartDate>
          <State>string</State>
          <SkillNo>int</SkillNo>
          <ContactID>long</ContactID>
          <IsWarehoused>boolean</IsWarehoused>
          <DateWarehoused>dateTime</DateWarehoused>
          <DurationSeconds>int</DurationSeconds>
          <EndDate>dateTime</EndDate>
          <IsACW>boolean</IsACW>
        </inAgentState>
      </AgentSession_GetStatesListResult>
    </AgentSession_GetStatesListResponse>
  </soap12:Body>
</soap12:Envelope>