Api session event editor measure add levee: Difference between revisions

From Tygron Support wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 31: Line 31:
|}
|}
===Example POST===
===Example POST===
Example POST: https://engine.tygron.com/api/session/event/editormeasure/add_levee/?f=HTML&token=API_TOKEN
Example POST: https://engine.tygron.com/api/session/event/editormeasure/add_levee/?f=JSON&token=API_TOKEN


with content:  
with content:  
<pre>[ 24, 97 ]
<pre>[ 91, 13 ]
</pre>
</pre>
{{article end|seealso=*[[api session event editor measure]]}}
{{article end|seealso=*[[api session event editor measure]]}}


[[Category:API]]
[[Category:API]]

Revision as of 08:18, 1 April 2026

API Event to Add a new Levee Spatial of a specified Levee to a Measure.

Name Importance Type Description Values
0 REQUIRED (MEASURE Integer ID) Measure ID
1 REQUIRED (LEVEE Integer ID) Levee ID

Response Codes

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

Example POST

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

with content:

[ 91, 13 ]