<back to all web services
WrapUpCodesRequest
The following routes are available for this service:GET | /GetAllWrapUpCodes/{License}/{iHuntgroup} | | |
---|
GET | /GetAllWrapUpCodesByDirection/{License}/{iHuntgroup}/{direction} | | |
---|
GET | /GetAllWrapUpCallbackTime/{License}/{iHuntgroup}/{getWrapUpCallBack} | | |
---|
POST | /AddUpdateWrapUpCode | | |
---|
POST | /AddUpdateWrapUpCallbackTime | | |
---|
POST | /DeleteWrapUpCode | | |
---|
POST | /DeleteWrapUpCallbackTime | | |
---|
POST | /GetAllWrapUpCodesForAccount | | |
---|
POST | /GetAllWrapUpCallbackTimeForAccount | | |
---|
GET | /GetCallHistoryForNumber/{License}/{number}/{iCustomer} | | |
---|
POST | /SaveCallHistoryForNumber | | |
---|
GET | /GetAgentRecentCalls/{License}/{iAccount} | | |
---|
GET | /GetAgentsCallbackTimeHistory/{License}/{iCustomer} | | |
---|
POST | /UpdateActualCallBackTime | | |
---|
GET | /GetAccountsforIcustomer/{License}/{iCustomer} | | |
---|
POST | /UpdateScheduledCallBackTime | | |
---|
POST | /SaveWrapupTime | | |
---|
GET | /GetWrapUpTime/{License}/{iCustomer} | | |
---|
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/oneway/WrapUpCodesRequest HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: application/xml
Content-Length: length
<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>