POST create new prioritization
Creates a new prioritization.
Alternatives can be compared/rated regarding each criteria either using pairwise comparison, when each alternative is compared with all others, either by rating when each alternative is assigned a rating value on a rating scale. When rating is chosen for a prioritization (RateAlternatives=1), the rating scale must also be specified for all criteria.
Resource URL:
https://api.priotice.se/rest/{auth}/prioritization/create
POST parameters:
Variable name (case sensitive) |
Required | Variable type | Note |
---|---|---|---|
PrioTitle | Required | string | Prioritization title (name) |
PrioDetails | Optional | string | Prioritization description (short description) |
RateAlternatives | Required | integer possible values: 1 or 0 |
Defines how alternatives are being evaluated: 0 means pairwise comparison, 1 means scale based rating |
Example request
POST https://api.priotice.se/rest/d41d8cd98f00b204e9800998ecf8427e/prioritization/create
Example response:
{ "Status": "success", "Data": { "PrioID": 50 } }
CURL example:
curl --data "PrioTitle=New_prioritization&RateAlternatives=0" https://api.priotice.se/rest/d41d8cd98f00b204e9800998ecf8427e/prioritization/create