To learn how to work with the metadataProfile and metadata services, please see:
This workflow covers adding a new metadata profile and adding and updating metadata for a given entry.
If you’re asking about how to obtain the metadata for a given entry ID, that’s done with metadata->list(), here is a basic code sample using the PHP client:
$filter = new KalturaMetadataFilter();
// if you want to retrieve results associated with a specific profile ID:
//$filter->metadataProfileIdEqual = 12;
$filter->metadataObjectTypeEqual = string::ENTRY;
$filter->objectIdEqual = '0_kgk0ef3j';
$pager = null;
$metadataPlugin = KalturaMetadataClientPlugin::get($client);
$result = $metadataPlugin->metadata->listAction($filter, $pager);
Since I happen to know you’re using the C# client, see sample code from the client’s unit tests here:
Note that you can also generate code for a given service.action in the developer.kaltura.com API console, for instance:
Click on “Try it out”, then select/input the desired values and select “C#” on the right pane to generate the code.