curl --request PATCH \
--url https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"groupId": "<string>",
"isPublished": true,
"auditType": "<string>",
"tags": [
"<string>"
],
"answeredStatusEnabled": true,
"participants": {},
"recurrentAuditInfo": {},
"questions": [
{
"categoryName": "<string>",
"questions": [
{
"question": "<string>",
"settings": {
"answer": [
"<string>"
],
"richOptions": [
{
"id": "<string>",
"text": "<string>",
"image": "<string>"
}
],
"ticketRequired": true,
"isAttachmentMandatory": true,
"attachments": [
"<string>"
],
"weightingfactor": 123,
"styling": {
"options": {}
}
},
"answer": [
"<unknown>"
],
"ticket": [
"<string>"
],
"description": "<string>"
}
],
"settings": {
"duplicate": true
}
}
],
"_attachments": {}
}
'import requests
url = "https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}"
payload = {
"name": "<string>",
"groupId": "<string>",
"isPublished": True,
"auditType": "<string>",
"tags": ["<string>"],
"answeredStatusEnabled": True,
"participants": {},
"recurrentAuditInfo": {},
"questions": [
{
"categoryName": "<string>",
"questions": [
{
"question": "<string>",
"settings": {
"answer": ["<string>"],
"richOptions": [
{
"id": "<string>",
"text": "<string>",
"image": "<string>"
}
],
"ticketRequired": True,
"isAttachmentMandatory": True,
"attachments": ["<string>"],
"weightingfactor": 123,
"styling": { "options": {} }
},
"answer": ["<unknown>"],
"ticket": ["<string>"],
"description": "<string>"
}
],
"settings": { "duplicate": True }
}
],
"_attachments": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
groupId: '<string>',
isPublished: true,
auditType: '<string>',
tags: ['<string>'],
answeredStatusEnabled: true,
participants: {},
recurrentAuditInfo: {},
questions: [
{
categoryName: '<string>',
questions: [
{
question: '<string>',
settings: {
answer: ['<string>'],
richOptions: [{id: '<string>', text: '<string>', image: '<string>'}],
ticketRequired: true,
isAttachmentMandatory: true,
attachments: ['<string>'],
weightingfactor: 123,
styling: {options: {}}
},
answer: ['<unknown>'],
ticket: ['<string>'],
description: '<string>'
}
],
settings: {duplicate: true}
}
],
_attachments: {}
})
};
fetch('https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'groupId' => '<string>',
'isPublished' => true,
'auditType' => '<string>',
'tags' => [
'<string>'
],
'answeredStatusEnabled' => true,
'participants' => [
],
'recurrentAuditInfo' => [
],
'questions' => [
[
'categoryName' => '<string>',
'questions' => [
[
'question' => '<string>',
'settings' => [
'answer' => [
'<string>'
],
'richOptions' => [
[
'id' => '<string>',
'text' => '<string>',
'image' => '<string>'
]
],
'ticketRequired' => true,
'isAttachmentMandatory' => true,
'attachments' => [
'<string>'
],
'weightingfactor' => 123,
'styling' => [
'options' => [
]
]
],
'answer' => [
'<unknown>'
],
'ticket' => [
'<string>'
],
'description' => '<string>'
]
],
'settings' => [
'duplicate' => true
]
]
],
'_attachments' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"groupId\": \"<string>\",\n \"isPublished\": true,\n \"auditType\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"answeredStatusEnabled\": true,\n \"participants\": {},\n \"recurrentAuditInfo\": {},\n \"questions\": [\n {\n \"categoryName\": \"<string>\",\n \"questions\": [\n {\n \"question\": \"<string>\",\n \"settings\": {\n \"answer\": [\n \"<string>\"\n ],\n \"richOptions\": [\n {\n \"id\": \"<string>\",\n \"text\": \"<string>\",\n \"image\": \"<string>\"\n }\n ],\n \"ticketRequired\": true,\n \"isAttachmentMandatory\": true,\n \"attachments\": [\n \"<string>\"\n ],\n \"weightingfactor\": 123,\n \"styling\": {\n \"options\": {}\n }\n },\n \"answer\": [\n \"<unknown>\"\n ],\n \"ticket\": [\n \"<string>\"\n ],\n \"description\": \"<string>\"\n }\n ],\n \"settings\": {\n \"duplicate\": true\n }\n }\n ],\n \"_attachments\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"groupId\": \"<string>\",\n \"isPublished\": true,\n \"auditType\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"answeredStatusEnabled\": true,\n \"participants\": {},\n \"recurrentAuditInfo\": {},\n \"questions\": [\n {\n \"categoryName\": \"<string>\",\n \"questions\": [\n {\n \"question\": \"<string>\",\n \"settings\": {\n \"answer\": [\n \"<string>\"\n ],\n \"richOptions\": [\n {\n \"id\": \"<string>\",\n \"text\": \"<string>\",\n \"image\": \"<string>\"\n }\n ],\n \"ticketRequired\": true,\n \"isAttachmentMandatory\": true,\n \"attachments\": [\n \"<string>\"\n ],\n \"weightingfactor\": 123,\n \"styling\": {\n \"options\": {}\n }\n },\n \"answer\": [\n \"<unknown>\"\n ],\n \"ticket\": [\n \"<string>\"\n ],\n \"description\": \"<string>\"\n }\n ],\n \"settings\": {\n \"duplicate\": true\n }\n }\n ],\n \"_attachments\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"groupId\": \"<string>\",\n \"isPublished\": true,\n \"auditType\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"answeredStatusEnabled\": true,\n \"participants\": {},\n \"recurrentAuditInfo\": {},\n \"questions\": [\n {\n \"categoryName\": \"<string>\",\n \"questions\": [\n {\n \"question\": \"<string>\",\n \"settings\": {\n \"answer\": [\n \"<string>\"\n ],\n \"richOptions\": [\n {\n \"id\": \"<string>\",\n \"text\": \"<string>\",\n \"image\": \"<string>\"\n }\n ],\n \"ticketRequired\": true,\n \"isAttachmentMandatory\": true,\n \"attachments\": [\n \"<string>\"\n ],\n \"weightingfactor\": 123,\n \"styling\": {\n \"options\": {}\n }\n },\n \"answer\": [\n \"<unknown>\"\n ],\n \"ticket\": [\n \"<string>\"\n ],\n \"description\": \"<string>\"\n }\n ],\n \"settings\": {\n \"duplicate\": true\n }\n }\n ],\n \"_attachments\": {}\n}"
response = http.request(request)
puts response.read_body{
"_id": "<string>",
"_rev": "<string>",
"name": "<string>",
"groupId": "<string>",
"group": "<string>",
"project": "<string>",
"isPublished": true,
"archived": "<string>",
"auditType": "<string>",
"answeredStatusEnabled": true,
"tags": [
"<string>"
],
"dates": {
"creationDate": "2023-11-07T05:31:56Z",
"lastModifiedDate": "2023-11-07T05:31:56Z"
},
"author": {
"email": "jsmith@example.com",
"type": "<string>"
},
"lastmodifier": {
"email": "jsmith@example.com",
"type": "<string>"
},
"versionInfo": {},
"_attachments": {},
"questions": [
{
"categoryName": "<string>",
"questions": [
{
"question": "<string>",
"settings": {
"answertype": "yesnona",
"choice": "single",
"answer": [
"<string>"
],
"richOptions": [
{
"id": "<string>",
"type": "textselect",
"text": "<string>",
"image": "<string>"
}
],
"ticketRequired": true,
"isAttachmentMandatory": true,
"attachments": [
"<string>"
],
"weightingfactor": 123,
"styling": {
"options": {}
}
},
"answer": [
"<unknown>"
],
"ticket": [
"<string>"
],
"description": "<string>"
}
],
"settings": {
"duplicate": true
}
}
]
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}Update an audit template
Partially updates an audit template. Send only what changes.
Merged: name, groupId, questions, tags, isPublished,
auditType, participants, answeredStatusEnabled,
recurrentAuditInfo, _attachments.
Everything else in the body is ignored, not rejected — including
_id, _rev, project, author and group. A template cannot be
moved to another project, have its authorship rewritten, or have its
group name set independently of groupId. The one exception is
type: a value other than IB.EdBundle.Document.AuditTemplate is a
422.
Leave out a field to keep it. An explicit null on name, tags,
isPublished, auditType, participants, answeredStatusEnabled or
_attachments is a 422 (“cannot be null: omit the field”); only
recurrentAuditInfo may be set to null, which ends the recurrence.
participants must be an object keyed by role.
Publishing is not a separate operation: send isPublished: true, which
also sets dates.publishedDate.
Sending a groupId moves the template to that group and brings the
group’s name with it. Sending groupId: null or a blank string is a
422 — a template must always belong to a group.
A patch that changes nothing writes nothing and does not bump _rev.
auditTemplateId is the bare CouchDB id, not the composite id the list
endpoints return.
Two URL shapes. Also answers on
PATCH /api/v2/data/projects/{database}/audittemplates/{auditTemplateId},
the canonical project-scoped shape. One handler, both paths, both
supported indefinitely.
curl --request PATCH \
--url https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"groupId": "<string>",
"isPublished": true,
"auditType": "<string>",
"tags": [
"<string>"
],
"answeredStatusEnabled": true,
"participants": {},
"recurrentAuditInfo": {},
"questions": [
{
"categoryName": "<string>",
"questions": [
{
"question": "<string>",
"settings": {
"answer": [
"<string>"
],
"richOptions": [
{
"id": "<string>",
"text": "<string>",
"image": "<string>"
}
],
"ticketRequired": true,
"isAttachmentMandatory": true,
"attachments": [
"<string>"
],
"weightingfactor": 123,
"styling": {
"options": {}
}
},
"answer": [
"<unknown>"
],
"ticket": [
"<string>"
],
"description": "<string>"
}
],
"settings": {
"duplicate": true
}
}
],
"_attachments": {}
}
'import requests
url = "https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}"
payload = {
"name": "<string>",
"groupId": "<string>",
"isPublished": True,
"auditType": "<string>",
"tags": ["<string>"],
"answeredStatusEnabled": True,
"participants": {},
"recurrentAuditInfo": {},
"questions": [
{
"categoryName": "<string>",
"questions": [
{
"question": "<string>",
"settings": {
"answer": ["<string>"],
"richOptions": [
{
"id": "<string>",
"text": "<string>",
"image": "<string>"
}
],
"ticketRequired": True,
"isAttachmentMandatory": True,
"attachments": ["<string>"],
"weightingfactor": 123,
"styling": { "options": {} }
},
"answer": ["<unknown>"],
"ticket": ["<string>"],
"description": "<string>"
}
],
"settings": { "duplicate": True }
}
],
"_attachments": {}
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
groupId: '<string>',
isPublished: true,
auditType: '<string>',
tags: ['<string>'],
answeredStatusEnabled: true,
participants: {},
recurrentAuditInfo: {},
questions: [
{
categoryName: '<string>',
questions: [
{
question: '<string>',
settings: {
answer: ['<string>'],
richOptions: [{id: '<string>', text: '<string>', image: '<string>'}],
ticketRequired: true,
isAttachmentMandatory: true,
attachments: ['<string>'],
weightingfactor: 123,
styling: {options: {}}
},
answer: ['<unknown>'],
ticket: ['<string>'],
description: '<string>'
}
],
settings: {duplicate: true}
}
],
_attachments: {}
})
};
fetch('https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'groupId' => '<string>',
'isPublished' => true,
'auditType' => '<string>',
'tags' => [
'<string>'
],
'answeredStatusEnabled' => true,
'participants' => [
],
'recurrentAuditInfo' => [
],
'questions' => [
[
'categoryName' => '<string>',
'questions' => [
[
'question' => '<string>',
'settings' => [
'answer' => [
'<string>'
],
'richOptions' => [
[
'id' => '<string>',
'text' => '<string>',
'image' => '<string>'
]
],
'ticketRequired' => true,
'isAttachmentMandatory' => true,
'attachments' => [
'<string>'
],
'weightingfactor' => 123,
'styling' => [
'options' => [
]
]
],
'answer' => [
'<unknown>'
],
'ticket' => [
'<string>'
],
'description' => '<string>'
]
],
'settings' => [
'duplicate' => true
]
]
],
'_attachments' => [
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"groupId\": \"<string>\",\n \"isPublished\": true,\n \"auditType\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"answeredStatusEnabled\": true,\n \"participants\": {},\n \"recurrentAuditInfo\": {},\n \"questions\": [\n {\n \"categoryName\": \"<string>\",\n \"questions\": [\n {\n \"question\": \"<string>\",\n \"settings\": {\n \"answer\": [\n \"<string>\"\n ],\n \"richOptions\": [\n {\n \"id\": \"<string>\",\n \"text\": \"<string>\",\n \"image\": \"<string>\"\n }\n ],\n \"ticketRequired\": true,\n \"isAttachmentMandatory\": true,\n \"attachments\": [\n \"<string>\"\n ],\n \"weightingfactor\": 123,\n \"styling\": {\n \"options\": {}\n }\n },\n \"answer\": [\n \"<unknown>\"\n ],\n \"ticket\": [\n \"<string>\"\n ],\n \"description\": \"<string>\"\n }\n ],\n \"settings\": {\n \"duplicate\": true\n }\n }\n ],\n \"_attachments\": {}\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"groupId\": \"<string>\",\n \"isPublished\": true,\n \"auditType\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"answeredStatusEnabled\": true,\n \"participants\": {},\n \"recurrentAuditInfo\": {},\n \"questions\": [\n {\n \"categoryName\": \"<string>\",\n \"questions\": [\n {\n \"question\": \"<string>\",\n \"settings\": {\n \"answer\": [\n \"<string>\"\n ],\n \"richOptions\": [\n {\n \"id\": \"<string>\",\n \"text\": \"<string>\",\n \"image\": \"<string>\"\n }\n ],\n \"ticketRequired\": true,\n \"isAttachmentMandatory\": true,\n \"attachments\": [\n \"<string>\"\n ],\n \"weightingfactor\": 123,\n \"styling\": {\n \"options\": {}\n }\n },\n \"answer\": [\n \"<unknown>\"\n ],\n \"ticket\": [\n \"<string>\"\n ],\n \"description\": \"<string>\"\n }\n ],\n \"settings\": {\n \"duplicate\": true\n }\n }\n ],\n \"_attachments\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://web.edcontrols.com/api/v2/data/audittemplates/{database}/{auditTemplateId}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"groupId\": \"<string>\",\n \"isPublished\": true,\n \"auditType\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"answeredStatusEnabled\": true,\n \"participants\": {},\n \"recurrentAuditInfo\": {},\n \"questions\": [\n {\n \"categoryName\": \"<string>\",\n \"questions\": [\n {\n \"question\": \"<string>\",\n \"settings\": {\n \"answer\": [\n \"<string>\"\n ],\n \"richOptions\": [\n {\n \"id\": \"<string>\",\n \"text\": \"<string>\",\n \"image\": \"<string>\"\n }\n ],\n \"ticketRequired\": true,\n \"isAttachmentMandatory\": true,\n \"attachments\": [\n \"<string>\"\n ],\n \"weightingfactor\": 123,\n \"styling\": {\n \"options\": {}\n }\n },\n \"answer\": [\n \"<unknown>\"\n ],\n \"ticket\": [\n \"<string>\"\n ],\n \"description\": \"<string>\"\n }\n ],\n \"settings\": {\n \"duplicate\": true\n }\n }\n ],\n \"_attachments\": {}\n}"
response = http.request(request)
puts response.read_body{
"_id": "<string>",
"_rev": "<string>",
"name": "<string>",
"groupId": "<string>",
"group": "<string>",
"project": "<string>",
"isPublished": true,
"archived": "<string>",
"auditType": "<string>",
"answeredStatusEnabled": true,
"tags": [
"<string>"
],
"dates": {
"creationDate": "2023-11-07T05:31:56Z",
"lastModifiedDate": "2023-11-07T05:31:56Z"
},
"author": {
"email": "jsmith@example.com",
"type": "<string>"
},
"lastmodifier": {
"email": "jsmith@example.com",
"type": "<string>"
},
"versionInfo": {},
"_attachments": {},
"questions": [
{
"categoryName": "<string>",
"questions": [
{
"question": "<string>",
"settings": {
"answertype": "yesnona",
"choice": "single",
"answer": [
"<string>"
],
"richOptions": [
{
"id": "<string>",
"type": "textselect",
"text": "<string>",
"image": "<string>"
}
],
"ticketRequired": true,
"isAttachmentMandatory": true,
"attachments": [
"<string>"
],
"weightingfactor": 123,
"styling": {
"options": {}
}
},
"answer": [
"<unknown>"
],
"ticket": [
"<string>"
],
"description": "<string>"
}
],
"settings": {
"duplicate": true
}
}
]
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}{
"type": "about:blank",
"title": "Unprocessable Entity",
"status": 422,
"detail": "content.title is required"
}Authorizations
Headers
The _rev you last read. When supplied it must equal the document's
current revision or the request is refused with 409 and nothing is
written. Worth using here in particular: someone editing the template
in the Ed Controls app saves it whole, so a change made from an older
copy can overwrite theirs.
Path Parameters
Body
Only the merged fields are listed. Anything else in the body is ignored
rather than rejected (except a wrong type, which is a 422). Omit a
field to keep it: null is refused on every field except
recurrentAuditInfo.
Response
The stored audit template document, with the new _rev.
