LiveMeeting API Example RRS feed

  • Question

  • I'm trying to build the XML file to send to live meeting via PHP and cURL. I'm not so concerned with the PHP and cURL stuff. That seems to work just fine. I've been able to send/retrieve really basic data. The type of stuff that fully coded in some of the exmaples I've found online.

    My problem is the XML code that I can't seem to build correctly. I've been up and down the API reference at http://msdn.microsoft.com/en-us/library/bb894159.aspx but I seem to be missing some details about the way I should format the XML elements. I fully admit to being an amateur programmer, but this is something I'd like to make work. See sample XML below which is pretty much exactly what I send, but username, password, and email address have been changed.

    Here is the XML file I send:

    <?xml version="1.0"?>
    <PlaceWareConfCenter authUser="username" authPassword="password">
     <CreateMeetingRequest maxUsers="10" name="XMLAPITest3" title="API with PHP Test">
       <TimeOption name="startTime" value="2010-02-02T16:00:00Z"/>
       <TimeOption name="endTime" value="2010-02-02T17:00:00Z"/>
       <StringOption name="timeZone" value="America/Denver"/>
       <EnumerationOption name="meetingType" value="OneTime">
       <StringListOption name="AudienceListEmail">

    here is what I get back:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <FaultString>option "AudienceListEmail" is not allowed here</FaultString>
    <StringOption value="AudienceListEmail" name="fieldName"></StringOption>
    <TimeOption value="2010-01-29T00:28:39Z" name="time"></TimeOption>
    <StringOption value="t4g8c1h2fp" name="rapid.requestId"></StringOption>
    All I really need is a more robust example than what is on the MSDN API Reference documentation. The more fields, the better. I know the mistake I'm making is probably a really simple one, but I can't seem to work it out. Anyone have some really good XML examples?
    • Moved by Daniel Trautman Tuesday, March 2, 2010 5:09 AM API Development (From:Microsoft Online: Live Meeting)
    Friday, January 29, 2010 12:34 AM

All replies

  • BatMantis,

    Your Live Meeting XML code is fine except for a typing mistake.  The Live Meeting API is case-sensitive; you have typed "AudienceListEmail" - if you change it to "audienceListEmail", your snippet will work just fine.

    Note that you'll also want to change "AudienceInvitetext" to "audienceInviteText" and "PresenterListEmail" to "presenterListEmail".


    • Proposed as answer by Gachu16 Friday, February 18, 2011 9:29 AM
    Tuesday, March 9, 2010 8:00 PM