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

HTTP + CSV

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

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

iHuntgroup,direction,getWrapUpCallBack,wrapUpCode,wrapUpCallbackTime,wrap_up_codes_id,wrap_up_callbacktime_id,wrapUpCallHistory,number,iAccount,iCustomer,updateActualCallbackTime,updateScheduledCallbackTime,saveWrapUpTime,License,ContentId,FeatureName
0,String,False,"{Id:0,i_huntgroup:0,direction:String,callback:False,outcome_text:String,outcome_rating:0,i_customer:0}","{Id:0,i_huntgroup:0,time:0001-01-01,time_text:String,i_customer:0}",0,0,"{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}",String,0,0,"{Id:0,iAccount:0,Name:String,Company:String,scheduled_callback_time:String,number:String}","{Id:0,iAccount:0,Name:String,Company:String,scheduled_callback_time:String,number:String}","{Id:0,iAccount:0,iCustomer:0,wrapuptime:String}",String,0,String