The following example shows a request using both the <extDataKey> and <extDataValue> parameters to identify which call to show the status of. Note that if <extDataKey> is used then the <extDataValue> must also be used. Instead using both <extDataKey> and <extDataValue> it is possible to use <agentId> or <phone> or <ipAddress>.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.api.core.callrec.zoom.cz/"> <soapenv:Header/> <soapenv:Body> <ws:checkRecordingStatus> <arg0> <extDataKey>JTAPI_CALLING_TERMINAL_SEP</extDataKey> <extDataValue>HRABAL</extDataValue> </arg0> </ws:checkRecordingStatus> </soapenv:Body> </soapenv:Envelope>
Example of Request – Check Status Response
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <ns2:checkRecordingStatusResponse xmlns:ns2="http://ws.api.core.callrec.zoom.cz/"> <return> <result>SuccessResponse</result> <successfullyProcessed xsi:type="ns2:recordingStatusServerResponse" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <coupleIdentification>1</coupleIdentification> <serverName>core</serverName> <recordingStatus>recording-audio</recordingStatus> </successfullyProcessed> </return> </ns2:checkRecordingStatusResponse> </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>.