Lib.deleteTrack
From MeeMixWiki
Contents |
Overview
Delete a track from a media library.
Request
Parameters:
| Required | Name | Type | Description |
|---|---|---|---|
| required | partnerId | string | your assigned partner ID. |
| required | partnerKey | string | your assigned 32-character partner key. |
| required | libId | string | the ID you assigned to the library. |
| required | libTrackId | string | your own local track identifier. You can use libTrackId in all related API operations. libTrackId is part of the Track data type. |
SOAP request example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:q0="http://ws.meemix.com/mxws/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance"> <soapenv:Body> <q0:libDeleteTrackRequest> <partnerId>1001</partnerId> <partnerKey>...</partnerKey> <libId>1</libId> <libTrackId>2115</libTrackId> </q0:libDeleteTrackRequest> </soapenv:Body> </soapenv:Envelope>
Response
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <libDeleteTrackResponse xmlns:ns3="http://ws.meemix.com/mxws/"> <trackStatus>Deleted</trackStatus> </libDeleteTrackResponse> </soapenv:Body> </soapenv:Envelope>
Faults
| Code | Description |
|---|---|
| 1 | Invalid partner ID |
| 2 | Invalid partner key |
| 15 | Internal server error |
| 18 | Invalid library ID |
For a full faults list and example of soapFault please visit the Faults page.
