JSON or XML

Version 1
    This document was generated from CDN thread

    Created by: kapil khanna on 07-06-2011 05:27:03 PM
    I am working with CUPI 7.1.3.0ES10. Some of the examples list the HTTP response coming back as both JSON and XML. Is there a configuration that needs to be turned on for JSON response or is that supported in later versions?

    Subject: RE: New Message from kapil khanna in Cisco Unity Connection Provisioning In
    Replied by: Matthew Penning on 07-06-2011 05:30:54 PM
    You can get JSON or XML back by specifying the ¿Accepts¿ header (e.g., ¿application/xml¿ to get xml)



    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Tuesday, June 07, 2011 2:27 PM
    To: cdicuser@developer.cisco.com
    Subject: New Message from kapil khanna in Cisco Unity Connection Provisioning Interface (CUPI) - CUPI Questions: JSON or XML



    kapil khanna has created a new message in the forum "CUPI Questions":

    --------------------------------------------------------------
    I am working with CUPI 7.1.3.0ES10. Some of the examples list the HTTP response coming back as both JSON and XML. Is there a configuration that needs to be turned on for JSON response or is that supported in later versions?
    --
    To respond to this post, please click the following link:

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

    or simply reply to this email.

    Subject: RE: JSON or XML
    Replied by: kapil khanna on 07-06-2011 05:33:19 PM
    So if I do not set any Accepts header the default is XML, correct?

    Subject: RE: New Message from kapil khanna in Cisco Unity Connection Provisioning In
    Replied by: Matthew Penning on 07-06-2011 05:35:54 PM
    Yes that¿s correct ¿ default is XML



    ~ Matt



    From: Cisco Developer Community Forums [mailto:cdicuser@developer.cisco.com]
    Sent: Tuesday, June 07, 2011 2:33 PM
    To: cdicuser@developer.cisco.com
    Subject: New Message from kapil khanna in Cisco Unity Connection Provisioning Interface (CUPI) - CUPI Questions: RE: JSON or XML



    kapil khanna has created a new message in the forum "CUPI Questions":

    --------------------------------------------------------------
    So if I do not set any Accepts header the default is XML, correct?
    --
    To respond to this post, please click the following link:

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

    or simply reply to this email.