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 .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 /api/calls/update HTTP/1.1 
Host: evo.hostedsuite.com 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<UpdateCallRecordRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Evo.HostedSuite.Core.ServiceModel">
  <CustomerName>String</CustomerName>
  <Password>String</Password>
  <UserName>String</UserName>
  <Id>String</Id>
  <Notes>String</Notes>
</UpdateCallRecordRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CallRecordInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Evo.HostedSuite.Core.ServiceModel">
  <AnsweredBy>String</AnsweredBy>
  <CallerName>String</CallerName>
  <CallerNumber>String</CallerNumber>
  <CenterId>String</CenterId>
  <ClientId>String</ClientId>
  <ClientName>String</ClientName>
  <CompletedFormIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" i:nil="true" />
  <DurationInSeconds>0</DurationInSeconds>
  <FlagNotes>String</FlagNotes>
  <Flagged>false</Flagged>
  <HoldCount>0</HoldCount>
  <HoldTimeInSeconds>0</HoldTimeInSeconds>
  <Id>String</Id>
  <Interactions i:nil="true" />
  <Notes>String</Notes>
  <RingTimeInSeconds>0</RingTimeInSeconds>
  <ScreenPop>String</ScreenPop>
  <Server>String</Server>
  <StartTime>String</StartTime>
  <TalkTimeInSeconds>0</TalkTimeInSeconds>
  <TransferTimeInSeconds>0</TransferTimeInSeconds>
  <TransferToName>String</TransferToName>
  <TransferToNumber>String</TransferToNumber>
  <Type>String</Type>
  <WorkTimeInSeconds>0</WorkTimeInSeconds>
</CallRecordInfo>