CUC8.5 add member to system distribution list

Version 1
    This document was generated from CDN thread

    Created by: Sascha Monteiro on 15-02-2011 11:32:02 PM
    Hi,
    I can't find the documentation for this, does someone has an example for;
    - add a member
    - remove a member
     

    Subject: RE: CUC8.5 add member to system distribution list
    Replied by: David Wanagel on 16-02-2011 06:29:23 AM
    An excerpt from WADL  on the distribution list member resources is below.  In short:
     
    add new - POST DistributionListMember to /vmrest/distributionlist/<object id>/distributionlistmembers</pre>
    delete - /vmrest/distributionlist/<object id>/distributionlistmembers/<object id>
     
    -Dave
     

    NOTE - excerpt removed due to formatting issues on the forum when included, please refer to the WADL URI:  http://<server>/vmrest/application.wadl

    Subject: RE: CUC8.5 add member to system distribution list
    Replied by: Sascha Monteiro on 16-02-2011 03:45:02 PM
    thanks, now I know where that wadl is, but I am still looking for the xml content of the body that I need to POST to add a member

    Subject: RE: CUC8.5 add member to system distribution list
    Replied by: David Wanagel on 16-02-2011 05:07:51 PM
    That would be in the schema: http://<server>/vmrest/schema/DistributionListMember

    Subject: Re: New Message from David Wanagel in Cisco Unity Connection Provisioning I
    Replied by: Sascha Monteiro on 16-02-2011 06:32:24 PM
    Right, I was looking for the schema locations, maybe I haven't looked well,
    But to be honest, I feel that the CUPI docs are a bit all over the place

    Sent from my iPhone4

    On 17/02/2011, at 9:07 AM, Cisco Developer Community Forums <cdicuser@developer.cisco.com> wrote:

    > David Wanagel has created a new message in the forum "CUPI Questions":
    >
    > --------------------------------------------------------------
    > That would be in the schema: http://<server>/vmrest/schema/DistributionListMember
    > --
    > To respond to this post, please click the following link:
    >
    > <http://developer.cisco.com/web/cupi/forums/-/message_boards/view_message/3065881>
    >
    > or simply reply to this email.

    Subject: RE: CUC8.5 add member to system distribution list
    Replied by: Sascha Monteiro on 17-02-2011 10:34:21 PM
    I can add and delete members now, but there is some strange behavior that might be a bug?
    when I delete a user from a system DL, I need to add the application/xml content-type header,
    if I don't, the rest interface responds with incorrect media type!
    but with delete there is no body, hence the media type should not be set, or  just ignored

    Subject: RE: New Message from Sascha Monteiro in Cisco Unity Connection Provisioning
    Replied by: Matthew Penning on 21-02-2011 12:42:23 PM
    Hi Sascha ¿ all the XML schemas are available at:  https://<ucxn-server>/vmrest/schema <https://%3cucxn-server%3e/vmrest/schema>



    That will give you a list of links to all of the schemas.  For DLs, look for DistributionListMember.



    ~ Matt



    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Wednesday, February 16, 2011 12:45 PM
    To: cdicuser@developer.cisco.com
    Subject: New Message from Sascha Monteiro in Cisco Unity Connection Provisioning Interface (CUPI) - CUPI Questions: RE: CUC8.5 add member to system distribution list



    Sascha Monteiro has created a new message in the forum "CUPI Questions":

    --------------------------------------------------------------
    thanks, now I know where that wadl is, but I am still looking for the xml content of the body that I need to POST to add a member
    --
    To respond to this post, please click the following link:

    <http://developer.cisco.com/web/cupi/forums/-/message_boards/view_message/3065603>

    or simply reply to this email.