Api session event editor parametric add: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
API Endpoint: editorparametric/add.
API Endpoint: editorparametric/add.


API Endpoint name is Api session event editor parametric add.
Description: Add new Parametric
 
Use this endpoint to Add new Parametric


{|class=wikitable
{|class=wikitable

Latest revision as of 13:39, 14 April 2026

API Endpoint: editorparametric/add.

Description: Add new Parametric

Name Importance Type Description Values
0 REQUIRED (Enumeration) Alignment ROAD or SPACED

Response Codes

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

Example POST

Curl example POST:

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

JavaScript example POST:

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