<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to close a test using the Training Session Service XML API in Webex for Developers</title>
    <link>https://community.cisco.com/t5/webex-for-developers/how-to-close-a-test-using-the-training-session-service-xml-api/m-p/4559934#M318</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Helo&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1313260"&gt;@LTC&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I'm not a Training Session Service expert but I can give you my opinion and hopefully that can lead you to solve this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the&amp;nbsp;&lt;A href="https://developer.cisco.com/docs/webex-xml-api-reference-guide/#!elements-in-webex-xml-schema-definitions-for-the-training-session-service/elements-in-webex-xml-schema-definitions-for-the-training-session-service" target="_blank" rel="noopener"&gt;Elements in Webex XML Schema Definitions for the Training Session Service&lt;/A&gt; document, the following element will change when a test is completed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="status element.png" style="width: 653px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/144796i95346B8DCACF55CB/image-dimensions/653x93?v=v2" width="653" height="93" role="button" title="status element.png" alt="status element.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Take notice of the first 'status' element, 2 entries above and you will notice the description states "&lt;EM&gt;Its value is generated by WebEx and cannot be changed. Default: NOT_INPROGRESS&lt;/EM&gt;." I would not be surprised if this also applies to the &lt;STRONG&gt;status (in test element)&lt;/STRONG&gt;&amp;nbsp;element as well.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Additionally, the&amp;nbsp;&lt;A href="https://pubhub.devnetcloud.com/media/webex-xml-api-reference-guide/docs/develop-test/xml-api/xml-api-reference/includes/_07-10_ElementsinWebExXMLSchemaDefinitionsfortheEventSessionService.md#elements-in-webex-xml-schema-definitions-for-the-event-session-service" target="_blank" rel="noopener"&gt;Elements in the Event Session Service&lt;/A&gt; document (download - 34 KB - which gives descriptions of the non-global elements) on line 151 mentions the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;| `status` &amp;lt;a name="event-status"&amp;gt;&amp;lt;/a&amp;gt; | Optional. String. Valid values are INPROGRESS or NOT_INPROGRESS. | Indicates whether the session is either started and active or not active. Its value is generated by WebEx and cannot be changed. Default: NOT_INPROGRESS. |&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on what I'm seeing here, I have to wonder if a script could be written, either polling or asynchronous, to alert the instructor when the status element = 'ENDED'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
    <pubDate>Fri, 25 Feb 2022 21:02:09 GMT</pubDate>
    <dc:creator>Alexander Stevenson</dc:creator>
    <dc:date>2022-02-25T21:02:09Z</dc:date>
    <item>
      <title>How to close a test using the Training Session Service XML API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/how-to-close-a-test-using-the-training-session-service-xml-api/m-p/4553282#M317</link>
      <description>&lt;P&gt;I need to be able to close/end a test delivered through the website (not in session) using the Training Session Service XML API after I determine a student has submitted answers but&amp;nbsp;I have not found a way to do that using the API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Currently our instructors have to monitor the the notification emails and close them manually.&amp;nbsp; For quick tests within a lab, the student needs the test results immediately, and waiting for an instructor that may be on the other side of the world to close it, just isn't working.&lt;/P&gt;
&lt;P&gt;Am I missing something obvious?&lt;/P&gt;</description>
      <pubDate>Thu, 24 Feb 2022 20:10:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/how-to-close-a-test-using-the-training-session-service-xml-api/m-p/4553282#M317</guid>
      <dc:creator>LTC</dc:creator>
      <dc:date>2022-02-24T20:10:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to close a test using the Training Session Service XML API</title>
      <link>https://community.cisco.com/t5/webex-for-developers/how-to-close-a-test-using-the-training-session-service-xml-api/m-p/4559934#M318</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Helo&amp;nbsp;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/1313260"&gt;@LTC&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;I'm not a Training Session Service expert but I can give you my opinion and hopefully that can lead you to solve this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;According to the&amp;nbsp;&lt;A href="https://developer.cisco.com/docs/webex-xml-api-reference-guide/#!elements-in-webex-xml-schema-definitions-for-the-training-session-service/elements-in-webex-xml-schema-definitions-for-the-training-session-service" target="_blank" rel="noopener"&gt;Elements in Webex XML Schema Definitions for the Training Session Service&lt;/A&gt; document, the following element will change when a test is completed:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="status element.png" style="width: 653px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/144796i95346B8DCACF55CB/image-dimensions/653x93?v=v2" width="653" height="93" role="button" title="status element.png" alt="status element.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Take notice of the first 'status' element, 2 entries above and you will notice the description states "&lt;EM&gt;Its value is generated by WebEx and cannot be changed. Default: NOT_INPROGRESS&lt;/EM&gt;." I would not be surprised if this also applies to the &lt;STRONG&gt;status (in test element)&lt;/STRONG&gt;&amp;nbsp;element as well.&lt;/P&gt;
&lt;P&gt; &lt;/P&gt;
&lt;P&gt;Additionally, the&amp;nbsp;&lt;A href="https://pubhub.devnetcloud.com/media/webex-xml-api-reference-guide/docs/develop-test/xml-api/xml-api-reference/includes/_07-10_ElementsinWebExXMLSchemaDefinitionsfortheEventSessionService.md#elements-in-webex-xml-schema-definitions-for-the-event-session-service" target="_blank" rel="noopener"&gt;Elements in the Event Session Service&lt;/A&gt; document (download - 34 KB - which gives descriptions of the non-global elements) on line 151 mentions the following:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;| `status` &amp;lt;a name="event-status"&amp;gt;&amp;lt;/a&amp;gt; | Optional. String. Valid values are INPROGRESS or NOT_INPROGRESS. | Indicates whether the session is either started and active or not active. Its value is generated by WebEx and cannot be changed. Default: NOT_INPROGRESS. |&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Based on what I'm seeing here, I have to wonder if a script could be written, either polling or asynchronous, to alert the instructor when the status element = 'ENDED'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 25 Feb 2022 21:02:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/webex-for-developers/how-to-close-a-test-using-the-training-session-service-xml-api/m-p/4559934#M318</guid>
      <dc:creator>Alexander Stevenson</dc:creator>
      <dc:date>2022-02-25T21:02:09Z</dc:date>
    </item>
  </channel>
</rss>

