CTIActivityWrapUp SOAP Request
The following is a sample SOAP request to wrap up four activities; one each for call, chat, email and voicemail:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:cti="urn:crmondemand/ws/odctibs/ctiactivity/" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:data="urn:/crmondemand/xml/ctiactivity/data">
<soapenv:Header>
<wsse:Security soapenv:mustUnderstand="1">
<wsse:UsernameToken>
<wsse:Username>OKP/mos.def</wsse:Username>
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password</wsse:Password>
</wsse:UsernameToken>
</wsse:Security>
</soapenv:Header>
<soapenv:Body>
<cti:CTIActivityWrapUp_Input>
<data:ListOfInteraction>
<data:Interaction>
<data:InteractionId>100000000000</data:InteractionId>
<data:AgentOfferTime>1287786900</data:AgentOfferTime>
<data:ChannelType>Inbound Call</data:ChannelType>
</data:Interaction>
<data:Interaction>
<data:InteractionId>100000000001</data:InteractionId>
<data:AgentOfferTime>1287786900</data:AgentOfferTime>
<data:ChannelType>Inbound Chat</data:ChannelType>
</data:Interaction>
<data:Interaction>
<data:InteractionId>100000000002</data:InteractionId>
<data:AgentOfferTime>1287786900</data:AgentOfferTime>
<data:ChannelType>Inbound Email</data:ChannelType>
</data:Interaction>
<data:Interaction>
<data:InteractionId>100000000003</data:InteractionId>
<data:AgentOfferTime>1287786900</data:AgentOfferTime>
<data:ChannelType>Inbound Voicemail</data:ChannelType>
</data:Interaction>
</data:ListOfInteraction>
</cti:CTIActivityWrapUp_Input>
</soapenv:Body>
</soapenv:Envelope>