Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Current »

Introduction

  • Every sub ratio belongs to at least one Ratio Set

  • In practice, due to the design of the front-end, a Sub Ratio normally only belongs to a single Ratio Set

Get Started

Sub Ratio

Desc: Get all sub ratios

url: /sub_ratios

params:
header: {'X-User-Token': 'Ppteex1dWbEcnNC311NFOrJqNHP98zN2ccMpWEei--ixL50J7uZsnprbOu--WbOcz50zaS48JzyXXZHS9A==',
'X-User-Email': ‘soft.dave99@gmail.com’}
Optional Params {ratio_set_ids => [11]}

response example: default response example (multiple records)

The Priority determines the order in which each sub ratio should be displayed when listed on a form.

The default criteria is the optional description text that can be displayed for that sub ratio when the ratio set is part of a scale indicator and used in a survey.

The default points applies to when a ratio set is used as part of a scale indicator within a survey. Those points can be used to calculate verdicts.

 

Desc: Get a single sub ratio

url: /sub_ratios/:id

response example: default response example (single record)


  • No labels