Lib.trackStatus
From MeeMixWiki
Contents |
Overview
Check the status of submitted track. Possible responses:
- Synced - the track was synced with MeeMix library. You can use the track in your lib.
- Pending - the track is still in process.
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/XMLSchema-instance"> <soapenv:Body> <q0:libTrackStatusRequest> <partnerId>...</partnerId> <partnerKey>...</partnerKey> <libId>1</libId> <libTrackId>199</libTrackId> </q0:libTrackStatusRequest> </soapenv:Body> </soapenv:Envelope>
Response
- trackStatus - either 'Pending' or 'Synced'.
- Track data type
SOAP response example:
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"> <soapenv:Body> <libTrackStatusResponse xmlns:ns2="http://ws.meemix.com/mxws/"> <trackStatus>Synced</trackStatus> <track> <trackId>199</trackId> <libTrackId>199</libTrackId> <trackName>City of Blinding Lights</trackName> <duration>349</duration> <artist> <artistId>3</artistId> <libArtistId>3</libArtistId> <artistName>U2</artistName> <links> <link> <linkType>event</linkType> <linksData> <linkId>1194442</linkId> <linkCookie>http://tickets.meemix.com/ResultsTicket.aspx?evtid=1194442</linkCookie> </linksData> <linksData> <linkId>1029365</linkId> <linkCookie>http://tickets.meemix.com/ResultsTicket.aspx?evtid=1029365</linkCookie> </linksData> <linksData> <linkId>1029366</linkId> <linkCookie>http://tickets.meemix.com/ResultsTicket.aspx?evtid=1029366</linkCookie> </linksData> <linksData> <linkId>1051895</linkId> <linkCookie>http://tickets.meemix.com/ResultsTicket.aspx?evtid=1051895</linkCookie> </linksData> <linksData> <linkId>1042588</linkId> <linkCookie>http://tickets.meemix.com/ResultsTicket.aspx?evtid=1042588</linkCookie> </linksData> <linksData> <linkId>1042589</linkId> <linkCookie>http://tickets.meemix.com/ResultsTicket.aspx?evtid=1042589</linkCookie> </linksData> <linksData> <linkId>1045950</linkId> <linkCookie>http://tickets.meemix.com/ResultsTicket.aspx?evtid=1045950</linkCookie> </linksData> <linksData> <linkId>1045894</linkId> <linkCookie>http://tickets.meemix.com/ResultsTicket.aspx?evtid=1045894</linkCookie> </linksData> <linksData> <linkId>1029363</linkId> <linkCookie>http://tickets.meemix.com/ResultsTicket.aspx?evtid=1029363</linkCookie> </linksData> <linksData> <linkId>1029364</linkId> <linkCookie>http://tickets.meemix.com/ResultsTicket.aspx?evtid=1029364</linkCookie> </linksData> </link> </links> </artist> <album> <albumId>28</albumId> <albumName>How to Dismantle an Atomic Bomb</albumName> </album> <links> <link> <linkType>ringtone</linkType> <linksData> <linkId>539203</linkId> <linkCookie>http://offers.thumbplay.com/offers/Open_Artist_6817/atb3ringtones?thptitle=City+Of+Blinding+Lights&selectedContent=539203&thpartist=U2</linkCookie> </linksData> </link> <link> <linkType>video</linkType> <linksData> <linkId>200672</linkId> <linkCookie>http://www.youtube.com/v/Dd01FObU3Q4&f=videos&app=youtube_gdata</linkCookie> </linksData> </link> </links> </track> </libTrackStatusResponse> </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.
