TemplateVariablesApi

All URIs are relative to /api

MethodHTTP requestDescription
createPOST /template-variablesCreate a variable
destroyDELETE /template-variables/{lookup}Delete a variable
listGET /template-variablesList template variables
replacePUT /template-variables/{lookup}Replace a variable
retrieveGET /template-variables/{lookup}Get a variable
updatePATCH /template-variables/{lookup}Update a variable

create

TemplateVariable create(CreateTemplateVariableDto, limit, offset, order[], filter[], or[], expand[])

Create a variable

Create a new template variable (Admin only)

Parameters

NameTypeDescriptionNotes
CreateTemplateVariableDtoCreateTemplateVariableDto
limitBigDecimal[optional] [default to null]
offsetBigDecimal[optional] [default to null]
order[]List[optional] [default to null]
filter[]List[optional] [default to null]
or[]List[optional] [default to null]
expand[]List[optional] [default to null]

Return type

TemplateVariable

Authorization

api-key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

destroy

destroy(lookup)

Delete a variable

Delete a template variable (Admin only)

Parameters

NameTypeDescriptionNotes
lookupBigDecimal[default to null]

Return type

null (empty response body)

Authorization

api-key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

list

TemplateVariableListResponseDto list(limit, offset, order[], filter[], or[], expand[])

List template variables

List variables, optionally filter by template

Parameters

NameTypeDescriptionNotes
limitBigDecimal[optional] [default to null]
offsetBigDecimal[optional] [default to null]
order[]List[optional] [default to null]
filter[]List[optional] [default to null]
or[]List[optional] [default to null]
expand[]List[optional] [default to null]

Return type

TemplateVariableListResponseDto

Authorization

api-key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

replace

TemplateVariable replace(lookup, CreateTemplateVariableDto, limit, offset, order[], filter[], or[], expand[])

Replace a variable

Full replace of a template variable (Admin only)

Parameters

NameTypeDescriptionNotes
lookupBigDecimal[default to null]
CreateTemplateVariableDtoCreateTemplateVariableDto
limitBigDecimal[optional] [default to null]
offsetBigDecimal[optional] [default to null]
order[]List[optional] [default to null]
filter[]List[optional] [default to null]
or[]List[optional] [default to null]
expand[]List[optional] [default to null]

Return type

TemplateVariable

Authorization

api-key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

retrieve

TemplateVariable retrieve(lookup, limit, offset, order[], filter[], or[], expand[])

Get a variable

Get a single template variable by ID

Parameters

NameTypeDescriptionNotes
lookupBigDecimal[default to null]
limitBigDecimal[optional] [default to null]
offsetBigDecimal[optional] [default to null]
order[]List[optional] [default to null]
filter[]List[optional] [default to null]
or[]List[optional] [default to null]
expand[]List[optional] [default to null]

Return type

TemplateVariable

Authorization

api-key

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

update

TemplateVariable update(lookup, UpdateTemplateVariableDto, limit, offset, order[], filter[], or[], expand[])

Update a variable

Update a template variable (Admin only)

Parameters

NameTypeDescriptionNotes
lookupBigDecimal[default to null]
UpdateTemplateVariableDtoUpdateTemplateVariableDto
limitBigDecimal[optional] [default to null]
offsetBigDecimal[optional] [default to null]
order[]List[optional] [default to null]
filter[]List[optional] [default to null]
or[]List[optional] [default to null]
expand[]List[optional] [default to null]

Return type

TemplateVariable

Authorization

api-key

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json