<?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_Update_Template_Fields</id>
		<title>API Update Template Fields - 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_Update_Template_Fields"/>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Update_Template_Fields&amp;action=history"/>
		<updated>2026-05-14T04:53:39Z</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_Update_Template_Fields&amp;diff=14582&amp;oldid=prev</id>
		<title>IVSWikiBlue at 17:00, 7 March 2025</title>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Update_Template_Fields&amp;diff=14582&amp;oldid=prev"/>
				<updated>2025-03-07T17:00:44Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:00, 7 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l41&quot; &gt;Line 41:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 41:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|'''type'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|'''type'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Field Type &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;([[Template Field Types|Valid Values]])&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Field Type&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|no&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|no&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|text&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|text&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>IVSWikiBlue</name></author>	</entry>

	<entry>
		<id>https://ipivs.info/wiki/index.php?title=API_Update_Template_Fields&amp;diff=14581&amp;oldid=prev</id>
		<title>IVSWikiBlue at 17:00, 7 March 2025</title>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Update_Template_Fields&amp;diff=14581&amp;oldid=prev"/>
				<updated>2025-03-07T17:00:25Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr style=&quot;vertical-align: top;&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 17:00, 7 March 2025&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l92&quot; &gt;Line 92:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 92:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|'''type'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|'''type'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Field Type &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;([[Template Field Types|Valid Values]])&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|Field Type&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|-&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|'''name'''&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;|'''name'''&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>IVSWikiBlue</name></author>	</entry>

	<entry>
		<id>https://ipivs.info/wiki/index.php?title=API_Update_Template_Fields&amp;diff=4543&amp;oldid=prev</id>
		<title>IVSWikiBlue: Created page with &quot;This API call will update an existing field on an existing template.  ===Resource URL=== &lt;pre&gt;http://valt.example.com/api/v3/admin/templates/{templateid}/fields/{fieldid}/edit...&quot;</title>
		<link rel="alternate" type="text/html" href="https://ipivs.info/wiki/index.php?title=API_Update_Template_Fields&amp;diff=4543&amp;oldid=prev"/>
				<updated>2020-04-14T19:36:06Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;This API call will update an existing field on an existing template.  ===Resource URL=== &amp;lt;pre&amp;gt;http://valt.example.com/api/v3/admin/templates/{templateid}/fields/{fieldid}/edit...&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 update an existing field on an existing template.&lt;br /&gt;
&lt;br /&gt;
===Resource URL===&lt;br /&gt;
&amp;lt;pre&amp;gt;http://valt.example.com/api/v3/admin/templates/{templateid}/fields/{fieldid}/edit&amp;lt;/pre&amp;gt;&lt;br /&gt;
''Replace {templateid} with the actual id number of the template. Templates are numbered sequentially when added to VALT.''&lt;br /&gt;
&lt;br /&gt;
''Replace {fieldid} with the actual id number of the fields. Fields 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;
!Field Name&lt;br /&gt;
!Description&lt;br /&gt;
!Required&lt;br /&gt;
!Example&lt;br /&gt;
|-&lt;br /&gt;
|'''on'''&lt;br /&gt;
|Field is Enabled (True or False)&lt;br /&gt;
|no&lt;br /&gt;
|true&lt;br /&gt;
|-&lt;br /&gt;
|'''required'''&lt;br /&gt;
|Field is Required (True or False)&lt;br /&gt;
|no&lt;br /&gt;
|false&lt;br /&gt;
|-&lt;br /&gt;
|'''type'''&lt;br /&gt;
|Field Type ([[Template Field Types|Valid Values]])&lt;br /&gt;
|no&lt;br /&gt;
|text&lt;br /&gt;
|-&lt;br /&gt;
|'''name'''&lt;br /&gt;
|Field Name&lt;br /&gt;
|no&lt;br /&gt;
|Patient Name&lt;br /&gt;
|-&lt;br /&gt;
|'''data'''&lt;br /&gt;
|Default Field Value&lt;br /&gt;
|no&lt;br /&gt;
|Jane Doe&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;
|Template Created 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;
|404&lt;br /&gt;
|Template Not Found&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;
|'''id'''&lt;br /&gt;
|Field ID&lt;br /&gt;
|-&lt;br /&gt;
|'''on'''&lt;br /&gt;
|Field is Enabled (True or False)&lt;br /&gt;
|-&lt;br /&gt;
|'''req'''&lt;br /&gt;
|Field is Required (True or False)&lt;br /&gt;
|-&lt;br /&gt;
|'''type'''&lt;br /&gt;
|Field Type ([[Template Field Types|Valid Values]])&lt;br /&gt;
|-&lt;br /&gt;
|'''name'''&lt;br /&gt;
|Field Name&lt;br /&gt;
|-&lt;br /&gt;
|'''data'''&lt;br /&gt;
|Default Field Value&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/admin/templates/52/fields/158/edit?access_token=e82632d19c523678fea3d1016c6df9e9&amp;lt;/pre&amp;gt;&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;&lt;br /&gt;
{&lt;br /&gt;
      &amp;quot;on&amp;quot;:true,&lt;br /&gt;
      &amp;quot;required&amp;quot;:true,&lt;br /&gt;
      &amp;quot;type&amp;quot;:&amp;quot;text&amp;quot;,&lt;br /&gt;
      &amp;quot;name&amp;quot;:&amp;quot;Patient&amp;quot;,&lt;br /&gt;
      &amp;quot;data&amp;quot;:&amp;quot;John Doe&amp;quot;      &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;id&amp;quot;: 158,&lt;br /&gt;
&amp;quot;on&amp;quot;: true,&lt;br /&gt;
&amp;quot;req&amp;quot;: true,&lt;br /&gt;
&amp;quot;type&amp;quot;: &amp;quot;text&amp;quot;,&lt;br /&gt;
&amp;quot;name&amp;quot;: &amp;quot;Patient&amp;quot;,&lt;br /&gt;
&amp;quot;data&amp;quot;: &amp;quot;John Doe&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>