templates
Returns a entity template with the template variables replaced with the Entities
Changed onReturns a entity template with the template variables replaced with the Entities
post/api/v1/templates
Request
- Base URLhttps://demo.invoiceninja.com
- Authnone declared. Required headers: X-Requested-With
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
per_pageinteger
Example:20
The number of records to return for each request, default is 20
pageinteger
Example:1
The page number to return for this request (when performing pagination), default is 1
Headers
X-Requested-Withstring required
Example:XMLHttpRequest
Used to send the XMLHttpRequest header
Request body
Response
The template response
Example response
{
"html": "<HTML></HTML>"
}Changes
- info
added the new optional
queryrequest parameterpage - info
added the new optional
queryrequest parameterper_page
- info
- breaking
the response's body type changed from no type to
objectfor status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- breaking