HostedSuite

<back to all web services

UpdateCallRecordRequest

Modify a call record

The following routes are available for this service:
POST/api/calls/update
UpdateCallRecordRequest Parameters:
NameParameterData TypeRequiredDescription
IdbodystringNoThe Id of the call to update
NotesbodystringNoThe notes to save for the call. Send an empty string '' not null to clear them out
RequestBase<TResponse> Parameters:
NameParameterData TypeRequiredDescription
CustomerNameformstringYesThe HostedSuite Customer Name
UserNameformstringYesThe HostedSuite User Name. Data visibility and security is based on this user's permissions.
PasswordformstringYesThe HostedSuite User's Password
CallRecordInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ClientIdformstringNo
ClientNameformstringNo
CenterIdformstringNo
StartTimeformstringNo
CallerNameformstringNo
CallerNumberformstringNo
TransferToNameformstringNo
TransferToNumberformstringNo
NotesformstringNo
DurationInSecondsformdoubleNo
RingTimeInSecondsformdoubleNo
HoldTimeInSecondsformdoubleNo
HoldCountformintNo
InteractionsformIList<CallRecordInteractionInfo>No
AnsweredByformstringNo
ServerformstringNo
TalkTimeInSecondsformdoubleNo
TransferTimeInSecondsformdoubleNo
ScreenPopformstringNo
CompletedFormIdsformIList<string>No
FlaggedformboolNo
FlagNotesformstringNo
TypeformstringNo
WorkTimeInSecondsformdoubleNo
CallRecordInteractionInfo Parameters:
NameParameterData TypeRequiredDescription
StartTimeformstringNo
TypeformstringNo
DescriptionformstringNo
CallRecordInfo Parameters:
NameParameterData TypeRequiredDescription
IdformstringNo
ClientIdformstringNo
ClientNameformstringNo
CenterIdformstringNo
StartTimeformstringNo
CallerNameformstringNo
CallerNumberformstringNo
TransferToNameformstringNo
TransferToNumberformstringNo
NotesformstringNo
DurationInSecondsformdoubleNo
RingTimeInSecondsformdoubleNo
HoldTimeInSecondsformdoubleNo
HoldCountformintNo
InteractionsformIList<CallRecordInteractionInfo>No
AnsweredByformstringNo
ServerformstringNo
TalkTimeInSecondsformdoubleNo
TransferTimeInSecondsformdoubleNo
ScreenPopformstringNo
CompletedFormIdsformIList<string>No
FlaggedformboolNo
FlagNotesformstringNo
TypeformstringNo
WorkTimeInSecondsformdoubleNo

To override the Content-type in your clients, use the 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 /api/calls/update HTTP/1.1 
Host: evo.hostedsuite.com 
Accept: application/json
Content-Type: application/json
Content-Length: length

{"Id":"String","Notes":"String","CustomerName":"String","UserName":"String","Password":"String"}
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length

{"Id":"String","ClientId":"String","ClientName":"String","CenterId":"String","StartTime":"String","CallerName":"String","CallerNumber":"String","TransferToName":"String","TransferToNumber":"String","Notes":"String","DurationInSeconds":0,"RingTimeInSeconds":0,"HoldTimeInSeconds":0,"HoldCount":0,"AnsweredBy":"String","Server":"String","TalkTimeInSeconds":0,"TransferTimeInSeconds":0,"ScreenPop":"String","Flagged":false,"FlagNotes":"String","Type":"String","WorkTimeInSeconds":0}