3.3.3. Method getVoiceRecord

The method getVoiceRecord returns meta information required to access a voice call data object. The meta information comprises a media object URL linking to a voice call data object, a media object player URL to a corresponding built-in player provided by the service and a string containing HTML code fragment which can be used to embed the voice call data object into a Web page.

Table 3.7. Parameter list of method getVoiceRecord

NameDescription

mediaObjRef

Unique reference to a voice call data object.


Table 3.8. Response of method getVoiceRecord

NameDescription
mediaObjectInfo

Media object information holder that contains the following information:

  • mediaObjectURL

    A URL reference that links to the voice call data object directly.

  • mediaObjectPlayerURL

    A URL reference that links to the built-in audio player for that voice call data object.

  • mediaObjectPlayerHtmlCode

    An HTML code fragment which can be used to embed the voice call data object into a Web page.


Table 3.9. Exceptions of method getVoiceRecord

NameDescription
invalidMediaObjRefThe mediaObjRef is invalid and does not point to a valid voice call data object.
internalErrorInternal system error.


Download API Documentation