The following example shows a request to start recording phone number 5507 using the <phone> parameter to identify which call to start recording. Instead of <agentId> it is possible to use <phone> or <extDataKey> and <extDataValue> or <ipAddress>.
When starting recording be specific to ensure that only the required call is paused. Do not use values that may refer to multiple calls.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.api.core.callrec.zoom.cz/"> <soapenv:Header/> <soapenv:Body> <ws:startRecording> <arg0> <agentId>jsmith_007</agentId> </arg0> </ws:startRecording> </soapenv:Body> </soapenv:Envelope>
Example of Start Recording Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:startRecordingResponse xmlns:ns2="http://ws.api.core.callrec.zoom.cz/"> <return> <result>SuccessResponse</result> <successfullyProcessed xsi:type="ns2:serverResponse" xmlns:xsi="http://www.w3.org/2001/ XMLSchema-instance"> <coupleIdentification>1</coupleIdentification> <serverName>core</serverName> </successfullyProcessed> </return> </ns2:startRecordingResponse> </soap:Body> </soap:Envelope>
A failure would contain the line <result>Failure</result>.
Where the call is recorded by multiple cores then if only one core replies then the result can be <result>PartialSuccess</result>.