Memberlist API

GET
This is a webmaster only API that allows you to manage Viadesk member lists
 
GET projecten.viadesk.com/api/memberlist.json?
    memberlist= 64785-67726f7570 //id of the memberlist, optional
    &user= 30964-75736572 // id of the user, optional, retrieves the memberlists of this user

 
POST
Update an existing memberlist
POST projecten.viadesk.com/api/memberlist.json
form field “memberlist” // the id of the memberlist (required)
form field “name” // optional, allows for modification of the name of the memberlist
form field “user” // the id of the user, allows for adding one or multiple users
 form field “showUpdatedMemberlist” // return the updated memberlist, else we only return status OK, default true


PUT
Create a new memberlist
PUT projecten.viadesk.com/api/memberlist.json?
    name=Marketing // required, the name of the newly created memberlist
    form field “showUpdatedMemberlist” // return the updated memberlist, else we only return status OK, default true

 
DELETE
Remove memberlist or users from a memberlist
DELETE projecten.viadesk.com/api/memberlist.json?
    memberlist= 64785-67726f7570 //id of the memberlist, required.
    &user= 30964-75736572 // id of the user, optional. Beware, if not present, the memberlist itself will be deleted! If present, removes one or multiple users from the memberlist.