The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /jsv/oneway/WrapUpCodesRequest HTTP/1.1
Host: api-uk.activesoftswitch.com
Content-Type: text/jsv
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: 0001-01-01,
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
}