Update Member

Updates an existing member profile/record. Will return an error if the request data is not valid.

Upon a successful update, no email notifications will be sent to the Member or Administrator.

Request:

POST /updatemember/{serviceToken}

Parameter Type Status
Servicetoken String Mandatory
Request Body XML Mandatory

Request body:

<requestmember>

<memberaccount id=”59000000000023”>

<firstname>XX</firstname>

<lastname>XX</lastname>

<email>XX</email>

<company></company>

<address1></ address1>

<address2></ address2>

<suburb></suburb>

<state></state>

<postcode></postcode>

<country></country>

<phone></phone>

<username>XX</username>

<password>XX</password>

<termsaccept>true</termsaccept>

<subscribe>true</subscribe>

<fileformat>0cd621</fileformat>

<searchformat>Track</searchformat>

<searchsort>Fav/New/Alph</searchsort>

            <fileformats>

            <memberfileformat id="4d3d45" type="wav" default="True"/>

            <memberfileformat id="19dde" type="mp3"/>

            <memberfileformat id="47eb9" type="mp3"/>

            </fileformats>

</memberaccount>

</requestmember>

Successful Response:

<responsemember>

<memberaccount id=”59C123”>

<firstname>XX</firstname>

<lastname>XX</lastname>

<email>XX</email>

<company></company>

<address1></ address1>

<address2></ address2>

<suburb></suburb>

<state></state>

<postcode></postcode>

<country></country>

<phone></phone>

<username>XX</username>

<password>XX</password>

<termsaccept>true</termsaccept>

<subscribe>true</subscribe>

<fileformat>0cd621</fileformat>

            <fileformats>

            <memberfileformat id="4d3d45" type="wav" default="True"/>

            <memberfileformat id="19dde" type="mp3"/>

            <memberfileformat id="47eb9" type="mp3"/>

            </fileformats>

 <searchformat>Track</searchformat>

<searchsort>Fav/New/Alph</searchsort>

<sampleenabled>True/False</sampleenabled>

<downloadenabled>True/False</downloadenabled>

<downloadsremaining>10</downloadsremaining>

<status>active</status>

<asseturl albumart=”http://betadownload.harvestmedia.net/wsalbumart/c268b39e41dac388/{id}/{width}/{height}” waveform=”http://betadownload.harvestmedia.net/wswaveform/c268b39e41dac388/{id}/{width}/{height}” trackstream=”http://betadownload.harvestmedia.net/wstrackstream/c268b39e41dac388/{id}” trackdownload=”http://betadownload.harvestmedia.net/wstrackdownload/c268b39e41dac388/{id}/{trackformat}” playlistdownload=”http://betadownload.harvestmedia.net/wsplaylistdownload/c268b39e41dac388/{id}/{trackformat}” albumdownload=”http://betadownload.harvestmedia.net/wsalbumdownload/c268b39e41dac388/{id}/{trackformat}” />

</memberaccount>

</responsemember>

Error Response:

<responsemember>

<error>

<code>5</code>

<description>Invalid Token</description>

</error>

</responsemember>

 

 
Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Article is closed for comments.