Api session event editor measure add: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
API Endpoint: editormeasure/add.
API Endpoint: api/session/event/editormeasure/add/


API Endpoint name is Api session event editor measure add.
Description: Add [[Measure]] for [[Stakeholder]]
 
Use this endpoint to Add [[Measure]] for [[Stakeholder]]


{|class=wikitable
{|class=wikitable

Latest revision as of 08:15, 15 May 2026

API Endpoint: api/session/event/editormeasure/add/

Description: Add Measure for Stakeholder

Name Importance Type Description Values
0 REQUIRED (STAKEHOLDER Integer ID) Stakeholder ID

Response Codes

Response Code: Description
200 Integer (Measure ID)
300-600 Codes Overview

Example POST

Curl example POST:

curl 'https://engine.tygron.com/api/session/event/editormeasure/add/' -H 'Content-Type: application/json' -H 'Authorization: Bearer API_TOKEN' -d '1'

JavaScript example POST:

var options = {
 method: "POST",
 headers: { "Content-Type": "application/json", "Authorization": "Bearer API_TOKEN" },
 body: '1'
};
fetch("https://engine.tygron.com/api/session/event/editormeasure/add/", options)
 .then(response => response.text())
 .then(result => console.log(result))
 .catch(error => console.log('error', error));