User.deletePlaylist

From MeeMixWiki

Jump to: navigation, search

Contents

Overview

Deletes a user playlist (previously created using one of the user.createPlaylistBy* operations).


Request

Parameters:

Required Name Type Description
required partnerId string your assigned partner ID.
required partnerKey string your assigned 32-character partner key.
required userId string unique user ID.
required playlistId string the ID of the playlist to be deleted.


REST request example:

http://ws.shadow.meemix.com:8080/mxws/services/mxws/user.deletePlaylist?partnerId=1001&partnerKey=...&userId=jim&playlistId=18

SOAP request example:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
   xmlns:q0="http://ws.meemix.com:8080/mxws/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
   xmlns:xsi="http://www.w3.org/2001/XMLSchemainstance">
   <soapenv:Body>
       <q0:userDeletePlaylistRequest>
           <partnerId>1001</partnerId>
           <partnerKey>...</partnerKey>
           <userId>jim</userId>
           <playlistId>18</playlistId>
       </q0:userDeletePlaylistRequest>
   </soapenv:Body>
</soapenv:Envelope>

Response

If no fault was thrown, the playlist was deleted successfully.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
        <userDeletePlaylistResponse xmlns:ns1="http://ws.meemix.com:8080/mxws/">
            <success>true</success>
        </userDeletePlaylistResponse>
    </soapenv:Body>
</soapenv:Envelope>

Faults

Code Description
4 Invalid user ID
6 Invalid playlist ID


For a full faults list and example of soapFault please visit the Faults page.

Personal tools
        © 2009 MeeMix ltd