Skip to main content

List the matrix rules of the template's Matrix Calculation fields.

GET/api/v1/custom-field-templates/{custom_field_template_id}/matrix-rulescustom_fields:read

custom_field_id lists one field's table, in its stored order.

Scopecustom_fields:read
AsynchronousNo
MCP toollist_custom_field_template_matrix_rules
Portal permissionsview_custom_field_matrix_calculations
Pagingkeyset
Default ordersort_order, matrix_rule_id
Sort fieldssort_order, matrix_rule_id
Filterscustom_field_id

Parameters​

NameInTypeRequiredDescription
custom_field_template_idpathstringRequired
limitqueryintegerOptionalDefault: 50; ≥ 1
cursorquerystringOptional
sortquerystringOptionalComma-separated sort fields, - for descending.
custom_field_idqueryarray of stringOptional
Docwize-Versionheaderstring (date)Optional
If-None-MatchheaderstringOptionalAnswers 304 when the representation is unchanged (resources that publish an ETag).

Responses​

StatusDescriptionBody
200Success.application/json object
304Not modified (If-None-Match matched the ETag).
400invalid_versionapplication/problem+json Problem
401token_expired, unauthenticatedapplication/problem+json Problem
403forbidden, insufficient_scope, token_owner_inactiveapplication/problem+json Problem
404not_foundapplication/problem+json Problem
405method_not_allowedapplication/problem+json Problem
406not_acceptableapplication/problem+json Problem
410cursor_expiredapplication/problem+json Problem
421wrong_regionapplication/problem+json Problem
422invalid_cursor, validation_failedapplication/problem+json Problem
500internal_errorapplication/problem+json Problem
503tenant_unavailable, unavailableapplication/problem+json Problem
504timeoutapplication/problem+json Problem

200 body​

FieldTypeRequiredDescription
itemsarray of MatrixRuleRequired
next_cursorstring or nullRequired
warningsarray of objectRequired

Errors​

The problem codes this operation can answer with. Each code links to its page.

Schemas​

MatrixAxis​

FieldTypeRequiredDescription
custom_field_idstringRequired

MatrixRule​

FieldTypeRequiredDescription
a_conditionstringRequired
a_operatorstringRequired= (the whole value) or in (a range or a list).
axis_aMatrixAxisRequired
axis_bMatrixAxisRequired
b_conditionstringRequired
b_operatorstringRequired
colourstring or nullRequired
custom_field_idstringRequiredThe Matrix Calculation field the rule belongs to.
matrix_rule_idstringRequired
sort_orderintegerRequiredThe rule's position in the field's table (its stored order). ≥ -2147483648; ≤ 2147483647
valuestringRequired