<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://ipivs.info/wiki/index.php?action=history&amp;feed=atom&amp;title=API_Add_Marker</id>
		<title>API Add Marker - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://ipivs.info/wiki/index.php?action=history&amp;feed=atom&amp;title=API_Add_Marker"/>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Add_Marker&amp;action=history"/>
		<updated>2026-04-12T12:04:00Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://ipivs.info/wiki/index.php?title=API_Add_Marker&amp;diff=4552&amp;oldid=prev</id>
		<title>IVSWikiBlue: Created page with &quot;This API call will add a new marker to the specified recording. This call can be used on a recording in progress.  ===Resource URL=== &lt;pre&gt;http://valt.example.com/api/v3//reco...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Add_Marker&amp;diff=4552&amp;oldid=prev"/>
				<updated>2020-04-14T19:53:11Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This API call will add a new marker to the specified recording. This call can be used on a recording in progress.  ===Resource URL=== &amp;lt;pre&amp;gt;http://valt.example.com/api/v3//reco...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This API call will add a new marker to the specified recording. This call can be used on a recording in progress.&lt;br /&gt;
&lt;br /&gt;
===Resource URL===&lt;br /&gt;
&amp;lt;pre&amp;gt;http://valt.example.com/api/v3//records/{recordid}/markers&amp;lt;/pre&amp;gt;&lt;br /&gt;
''Replace {recordid} with the actual id number of the record. Records are numbered sequentially when added to VALT.''&lt;br /&gt;
&lt;br /&gt;
===Resource Information===&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|'''Method'''&lt;br /&gt;
|POST&lt;br /&gt;
|-&lt;br /&gt;
|'''Headers'''&lt;br /&gt;
|Content-Type:application/json&lt;br /&gt;
|-&lt;br /&gt;
|'''Response Type'''&lt;br /&gt;
|JSON&lt;br /&gt;
|-&lt;br /&gt;
|'''Authentication Required'''&lt;br /&gt;
|Yes&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Parameters===&lt;br /&gt;
The JSON body must be properly formatted. All fields and values should be enclosed in double quotes and separated by a colon.&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|Field Name&lt;br /&gt;
!Description&lt;br /&gt;
!Required&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|'''event'''&lt;br /&gt;
|Marker Name&lt;br /&gt;
|yes&lt;br /&gt;
|Confession&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|'''time'''&lt;br /&gt;
|Time index in seconds in the recording where the marker will be inserted. An invalid time index can cause an error with the API call.&lt;br /&gt;
|yes&lt;br /&gt;
|127&lt;br /&gt;
|-&lt;br /&gt;
|colspan=&amp;quot;2&amp;quot;|'''template'''&lt;br /&gt;
|Array of JSON objects containing the field ids and values for the marker template.&lt;br /&gt;
|no&lt;br /&gt;
|{&amp;quot;14&amp;quot;:&amp;quot;Confession witnessed by officers Jones and Smith&amp;quot;}&lt;br /&gt;
|-&lt;br /&gt;
|&lt;br /&gt;
|'''{fieldid}'''&lt;br /&gt;
|Primary group ID for the new user.&lt;br /&gt;
|no&lt;br /&gt;
|Confession witnessed by officers Jones and Smith&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
===Response===&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
!Code&lt;br /&gt;
!Reason&lt;br /&gt;
|-&lt;br /&gt;
|200&lt;br /&gt;
|Marker Added Successfully&lt;br /&gt;
|-&lt;br /&gt;
|400&lt;br /&gt;
|Invalid Request (See Response for Specific Error)&lt;br /&gt;
|-&lt;br /&gt;
|401&lt;br /&gt;
|Unauthorized&lt;br /&gt;
|-&lt;br /&gt;
|500&lt;br /&gt;
|JSON Body Formatted Incorrectly&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
{|class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
|+JSON Response&lt;br /&gt;
!colspan=&amp;quot;2&amp;quot;|data&lt;br /&gt;
|-&lt;br /&gt;
|'''marker_add'''&lt;br /&gt;
|true = marker added successfully, false = marker could not be added&lt;br /&gt;
|-&lt;br /&gt;
|'''id'''&lt;br /&gt;
|ID number for the new marker.&lt;br /&gt;
|-&lt;br /&gt;
|'''message'''&lt;br /&gt;
|Detailed Status Message&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Examples==&lt;br /&gt;
===Request===&lt;br /&gt;
The sample JSON body below is formatted with line breaks and indentation to make it easier to read. This is '''not''' required.&lt;br /&gt;
&amp;lt;pre&amp;gt;https://ivstest1.ad.ipivs.com/api/v3/records/616/markers?access_token=e82632d19c523678fea3d1016c6df9e9&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
  &amp;quot;event&amp;quot;:&amp;quot;API Marker 3&amp;quot;,&lt;br /&gt;
  &amp;quot;time&amp;quot;:30,&lt;br /&gt;
  &amp;quot;template&amp;quot;:&lt;br /&gt;
    {&lt;br /&gt;
      &amp;quot;9&amp;quot;:&amp;quot;12345678&amp;quot;,&lt;br /&gt;
      &amp;quot;10&amp;quot;:&amp;quot;Test Note&amp;quot;&lt;br /&gt;
    }&lt;br /&gt;
  }&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Successful Response===&lt;br /&gt;
Sample response is shown with line breaks to make it more readable. Actual responses will not include line breaks.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;data&amp;quot;:{&lt;br /&gt;
&amp;quot;marker_add&amp;quot;: true,&lt;br /&gt;
&amp;quot;id&amp;quot;: 31,&lt;br /&gt;
&amp;quot;message&amp;quot;: &amp;quot;marker add&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Failure Response===&lt;br /&gt;
Sample response is shown with line breaks to make it more readable. Actual responses will not include line breaks.&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
&amp;quot;error&amp;quot;:{&lt;br /&gt;
&amp;quot;code&amp;quot;: 500,&lt;br /&gt;
&amp;quot;message&amp;quot;: &amp;quot;Internal Server Error&amp;quot;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&lt;/div&gt;</summary>
		<author><name>IVSWikiBlue</name></author>	</entry>

	</feed>