Lib.submitArtistLinks
From MeeMixWiki
Overview
Attach links to previously submitted artist using the lib.submitTrack.
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 | libArtistId | string | your local artist identifier, previously supplied using lib.submitTrack. |
| required | links | array(Link) | any additional information you want to associate with the artist (e.g., events). This information will later be useful when sent to you in any operation that returns a Artist reply. Use the lib.addLinkType function to create a new link type. |
Soap 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:libSubmitArtistLinksRequest> <partnerId>1001</partnerId> <partnerKey>...</partnerKey> <libId>2</libId> <libArtistId>27340</libArtistId> <links> <link> <linkType>event</linkType> <linksData> <linkData> <linkId>142126</linkId> <linkCookie>http://example.tickets.com/eventId=142126</linkCookie> </linkData> </linksData> </link> </links> </q0:libSubmitArtistLinksRequest> </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.
