+ [Arguments] ${folder} ${mapping}=&{EMPTY} ${session}=default ${verify}=False ${iterations}=${EMPTY} ${iter_start}=1
+ ... ${additional_allowed_status_codes}=${NO_STATUS_CODES} ${explicit_status_codes}=${NO_STATUS_CODES} ${http_timeout}=${EMPTY} ${iter_j_offset}=0
+ ${response_text} = Post_Templated
+ ... folder=${folder}
+ ... base_name=data
+ ... extension=json
+ ... accept=${ACCEPT_EMPTY}
+ ... content_type=${HEADERS_YANG_JSON}
+ ... mapping=${mapping}
+ ... session=${session}
+ ... normalize_json=True
+ ... endline=${\n}
+ ... iterations=${iterations}
+ ... iter_start=${iter_start}
+ ... additional_allowed_status_codes=${additional_allowed_status_codes}
+ ... explicit_status_codes=${explicit_status_codes}
+ ... http_timeout=${http_timeout}
+ ... iter_j_offset=${iter_j_offset}
+ IF ${verify}
+ Verify_Response_As_Json_Templated
+ ... response=${response_text}
+ ... folder=${folder}
+ ... base_name=response
+ ... mapping=${mapping}
+ ... iter_j_offset=${iter_j_offset}
+ END
+ RETURN ${response_text}
+
+Post_As_Json_Rfc8040_Templated
+ [Documentation] Add arguments sensible for JSON data, return Post_Templated response text.
+ ... Optionally, verification against response.json (no iteration) is called.
+ ... Only subset of JSON data is verified and returned if JMES path is specified in
+ ... file ${folder}${/}jmespath.expr.
+ ... Response status code must be one of values from ${explicit_status_codes} if specified or one of set
+ ... created from all positive HTTP status codes together with ${additional_allowed_status_codes}.
+ ... RFC8040 defines RESTCONF protocol, for configuring data defined in YANG version 1
+ ... or YANG version 1.1, using the datastore concepts defined in NETCONF.
+ [Arguments] ${folder} ${mapping}=&{EMPTY} ${session}=default ${verify}=False ${iterations}=${EMPTY} ${iter_start}=1
+ ... ${additional_allowed_status_codes}=${NO_STATUS_CODES} ${explicit_status_codes}=${NO_STATUS_CODES} ${http_timeout}=${EMPTY} ${iter_j_offset}=0
+ ${response_text} = Post_Templated
+ ... folder=${folder}
+ ... base_name=data
+ ... extension=json
+ ... accept=${ACCEPT_EMPTY}
+ ... content_type=${HEADERS_YANG_RFC8040_JSON}
+ ... mapping=${mapping}
+ ... session=${session}
+ ... normalize_json=True
+ ... endline=${\n}
+ ... iterations=${iterations}
+ ... iter_start=${iter_start}
+ ... additional_allowed_status_codes=${additional_allowed_status_codes}
+ ... explicit_status_codes=${explicit_status_codes}
+ ... http_timeout=${http_timeout}
+ ... iter_j_offset=${iter_j_offset}
+ IF ${verify}
+ Verify_Response_As_Json_Templated
+ ... response=${response_text}
+ ... folder=${folder}
+ ... base_name=response
+ ... mapping=${mapping}
+ ... iter_j_offset=${iter_j_offset}
+ END
+ RETURN ${response_text}