cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

UCCX Soap Request

dsemmler
Level 4
Level 4

Hi,

I am trying to get UCCX to contact a SOAP web service so that I can make routing decisions based on the SOAP response.  But as I have virtually no experience with SOAP/XML I am struggling a bit.

below is the SOAP command that I am trying to send to the web service to query if an ANI has called recently

<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>
    <FindInteraction xmlns="http://www.something.com/v4">
      <data>
        <Tenant>Test</Tenant>
        <Options>
          <Contact>000000000</Contact>
          <DataValues />
        </Options>
      </data>
    </FindInteraction>
  </soap12:Body>
</soap12:Envelope>

the response should be something like the below, the "Code" value is what I will base my routing on.

 

<Response>
  <Header>
    <ClientID></ClientID>
    <Id>038793f2-5b11-4ead-a05b-aa77ff76430f</Id>
    <Status>
      <Code>109021</Code>
      <Description>The contact that you submitted does not exist.</Description>
      <ErrorMessage></ErrorMessage>
      <Result>ContactNotFound</Result>
    </Status>
  </Header>
  <Data>
  </Data>
</Response>

I have had a look at  https://supportforums.cisco.com/docs/DOC-23899 but I am still struggling to understand SOAP.

is the above simple to do, or do I need to find a "programming friend"

any help appreciated.

Darren

 

 

 

Who Me Too'd this topic