Api session event editor measure set cost

From Tygron Support wiki
Revision as of 10:12, 30 March 2026 by Frank@tygron.nl (talk | contribs) (Created page with "API Event to Set the costs of a Measure of a particular cost type (construction, demolition) and wether it is fixed or cost per cubic meter. {|class=wikitable !Name !Importance !Type !Description !Values |- |0 |REQUIRED |(MEASURE Integer ID) |Measure ID | |- |1 |REQUIRED |(Enumeration) |Cost Type |CONSTRUCTION |- |2 |REQUIRED |(Floating point number) |Cost in valuata | |- |3 |REQUIRED |(true, false) |Fixed (if false, cost per cubic meter) |true or false...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

API Event to Set the costs of a Measure of a particular cost type (construction, demolition) and wether it is fixed or cost per cubic meter.

Name Importance Type Description Values
0 REQUIRED (MEASURE Integer ID) Measure ID
1 REQUIRED (Enumeration) Cost Type CONSTRUCTION
2 REQUIRED (Floating point number) Cost in valuata
3 REQUIRED (true, false) Fixed (if false, cost per cubic meter) true or false

Response Codes

Response Code: Description
204 No Content
300-600 Codes Overview

Example POST

Example POST: https://engine.tygron.com/api/session/event/editormeasure/set_cost/?f=HTML&token=API_TOKEN

with content:

[ 74, "CONSTRUCTION", 64, false ]