Porta Plus 2 Web Services

<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 .json suffix or ?format=json

To embed the response in a jsonp callback, append ?callback=myCallback

HTTP + JSON

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

POST /json/oneway/WrapUpCodesRequest HTTP/1.1 
Host: 7el.co 
Content-Type: application/json
Content-Length: length

{"iHuntgroup":0,"direction":"String","getWrapUpCallBack":false,"wrapUpCode":{"Id":0,"i_huntgroup":0,"direction":"String","callback":false,"outcome_text":"String","outcome_rating":0,"i_customer":0},"wrapUpCallbackTime":{"Id":0,"i_huntgroup":0,"time":"\/Date(-62135596800000-0000)\/","time_text":"String","i_customer":0},"wrap_up_codes_id":0,"wrap_up_callbacktime_id":0,"wrapUpCallHistory":{"Id":0,"i_account":0,"i_xdr":0,"call_id":"String","success":false,"number":"String","name":"String","company":"String","wrap_up_code_id":0,"wrap_up_callbacktime_id":0,"scheduled_callback_time":"String","actual_callback_time":"String","notes":"String","start_time":"String","duration":"String","action":"String","wrap_up_code_text":"String","i_customer":0,"call_feedback":"String"},"number":"String","iAccount":0,"iCustomer":0,"updateActualCallbackTime":{"Id":0,"iAccount":0,"Name":"String","Company":"String","scheduled_callback_time":"String","number":"String"},"updateScheduledCallbackTime":{"Id":0,"iAccount":0,"Name":"String","Company":"String","scheduled_callback_time":"String","number":"String"},"saveWrapUpTime":{"Id":0,"iAccount":0,"iCustomer":0,"wrapuptime":"String"},"License":"String","ContentId":0,"FeatureName":"String"}