WSDL Page:  http://<your_domain_here>/affiliates/api/2/account.asmx?op=ChangeMediaTypes



 

Parameter Summary:

api_key / STRING = Affiliate API Key 

affiliate_id / INT = Affiliate ID 

contact_id / INT = Contact ID 

new_media_type_ids / INT (unsignedByte) = New Media Type IDs [can be comma-separated] {See get.asmx > GetMediaTypes}

 

Parameter Types:

api_key - ID

affiliate_id - ID

contact_id - ID

new_media_type_ids - ASSIGNABLE

 

Sample GET Call:

https://demo.cakemarketing.com/affiliates/api/2/account.asmx/ChangeMediaTypes?api_key=WGdlFhziHLA&affiliate_id=5969&contact_id=3446&new_media_type_ids=11%2C12%2C44

 

Sample XML Response:

<change_media_type_response>
  <success>true</success>
  <message>Update Request Submitted</message>
</change_media_type_response>