Porta Plus 2 Web Services

<back to all web services

WrapUpCodesRequest

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

HTTP + SOAP12

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

POST /soap12 HTTP/1.1 
Host: 7el.co 
Content-Type: text/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>

<WrapUpCodesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Web.Dto">
  <ContentId>0</ContentId>
  <FeatureName>String</FeatureName>
  <License>String</License>
  <direction>String</direction>
  <getWrapUpCallBack>false</getWrapUpCallBack>
  <iAccount>0</iAccount>
  <iCustomer>0</iCustomer>
  <iHuntgroup>0</iHuntgroup>
  <number>String</number>
  <saveWrapUpTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
    <d2p1:Id>0</d2p1:Id>
    <d2p1:iAccount>0</d2p1:iAccount>
    <d2p1:iCustomer>0</d2p1:iCustomer>
    <d2p1:wrapuptime>String</d2p1:wrapuptime>
  </saveWrapUpTime>
  <updateActualCallbackTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
    <d2p1:Company>String</d2p1:Company>
    <d2p1:Id>0</d2p1:Id>
    <d2p1:Name>String</d2p1:Name>
    <d2p1:iAccount>0</d2p1:iAccount>
    <d2p1:number>String</d2p1:number>
    <d2p1:scheduled_callback_time>String</d2p1:scheduled_callback_time>
  </updateActualCallbackTime>
  <updateScheduledCallbackTime xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
    <d2p1:Company>String</d2p1:Company>
    <d2p1:Id>0</d2p1:Id>
    <d2p1:Name>String</d2p1:Name>
    <d2p1:iAccount>0</d2p1:iAccount>
    <d2p1:number>String</d2p1:number>
    <d2p1:scheduled_callback_time>String</d2p1:scheduled_callback_time>
  </updateScheduledCallbackTime>
  <wrapUpCallHistory xmlns:d2p1="http://schemas.datacontract.org/2004/07/PortaPlus2.API.Data.Models.API">
    <d2p1:Id>0</d2p1:Id>
    <d2p1:action>String</d2p1:action>
    <d2p1:actual_callback_time>String</d2p1:actual_callback_time>
    <d2p1:call_feedback>String</d2p1:call_feedback>
    <d2p1:call_id>String</d2p1:call_id>
    <d2p1:company>String</d2p1:company>
    <d2p1:duration>String</d2p1:duration>
    <d2p1:i_account>0</d2p1:i_account>
    <d2p1:i_customer>0</d2p1:i_customer>
    <d2p1:i_xdr>0</d2p1:i_xdr>
    <d2p1:name>String</d2p1:name>
    <d2p1:notes>String</d2p1:notes>
    <d2p1:number>String</d2p1:number>
    <d2p1:scheduled_callback_time>String</d2p1:scheduled_callback_time>
    <d2p1:start_time>String</d2p1:start_time>
    <d2p1:success>false</d2p1:success>
    <d2p1:wrap_up_callbacktime_id>0</d2p1:wrap_up_callbacktime_id>
    <d2p1:wrap_up_code_id>0</d2p1:wrap_up_code_id>
    <d2p1:wrap_up_code_text>String</d2p1:wrap_up_code_text>
  </wrapUpCallHistory>
  <wrapUpCallbackTime>
    <Id>0</Id>
    <i_customer>0</i_customer>
    <i_huntgroup>0</i_huntgroup>
    <time>0001-01-01T00:00:00</time>
    <time_text>String</time_text>
  </wrapUpCallbackTime>
  <wrapUpCode>
    <Id>0</Id>
    <callback>false</callback>
    <direction>String</direction>
    <i_customer>0</i_customer>
    <i_huntgroup>0</i_huntgroup>
    <outcome_rating>0</outcome_rating>
    <outcome_text>String</outcome_text>
  </wrapUpCode>
  <wrap_up_callbacktime_id>0</wrap_up_callbacktime_id>
  <wrap_up_codes_id>0</wrap_up_codes_id>
</WrapUpCodesRequest>

    </soap12:Body>
</soap12:Envelope>