Api session items costs: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 35: | Line 35: | ||
!Description | !Description | ||
|- | |- | ||
|DEFAULT | | DEFAULT | ||
| | | | ||
|- | |- | ||
|RESERVED_CONSTRUCTION | | RESERVED_CONSTRUCTION | ||
| | | | ||
|- | |- | ||
|RESERVED_UPGRADE | | RESERVED_UPGRADE | ||
| | | | ||
|- | |- | ||
|CONSTRUCTION | | CONSTRUCTION | ||
| | | | ||
|- | |- | ||
|RESERVED_DEMOLISH | | RESERVED_DEMOLISH | ||
| | | | ||
|- | |- | ||
|DEMOLISH | | DEMOLISH | ||
| | | | ||
|- | |- | ||
|MAINTENANCE | | MAINTENANCE | ||
| | | | ||
|- | |- | ||
|UPGRADE | | UPGRADE | ||
| | | | ||
|- | |- | ||
|BUY_OUT | | BUY_OUT | ||
| | | | ||
|} | |} | ||
| Line 71: | Line 71: | ||
!Description | !Description | ||
|- | |- | ||
|costType | | costType | ||
|Cost | | Cost | ||
| | | | ||
|- | |- | ||
|id | | id | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|linkID | | linkID | ||
|int | | int | ||
| | | | ||
|- | |- | ||
|mapLink | | mapLink | ||
|MapLink | | MapLink | ||
| | | | ||
|- | |- | ||
|name | | name | ||
|String | | String | ||
| | | | ||
|- | |- | ||
|stakeholderID | | stakeholderID | ||
|int | | int | ||
|[[Stakeholder]] ID | | [[Stakeholder]] ID | ||
|- | |- | ||
|value | | value | ||
|double | | double | ||
| | | | ||
|- | |- | ||
|version | | version | ||
|int | | int | ||
| | | | ||
|} | |} | ||
Revision as of 11:44, 8 June 2026
API Endpoint: /api/session/items/costs/
Default Query:
https://engine.tygron.com/api/session/items/costs/?f=JSON&token=API_TOKENExample Response:
[ ]Limit Queries
version=100:
https://engine.tygron.com/api/session/items/costs/?version=100&token=API_TOKENShow Queries
max version:
https://engine.tygron.com/api/session/items/costs/version/?token=API_TOKENsize:
https://engine.tygron.com/api/session/items/costs/size/?token=API_TOKENFormats
HTML:
https://engine.tygron.com/api/session/items/costs/?f=HTML&token=API_TOKENJSON:
https://engine.tygron.com/api/session/items/costs/?f=JSON&token=API_TOKENCSV:
https://engine.tygron.com/api/session/items/costs/?f=CSV&token=API_TOKENSSV:
https://engine.tygron.com/api/session/items/costs/?f=SSV&token=API_TOKENSMILE:
https://engine.tygron.com/api/session/items/costs/?f=SMILE&token=API_TOKENZIPJSON:
https://engine.tygron.com/api/session/items/costs/?f=ZIPJSON&token=API_TOKENZIPSMILE:
https://engine.tygron.com/api/session/items/costs/?f=ZIPSMILE&token=API_TOKENApi Model Cost
API Enumeration description of Cost
| Name | Description |
|---|---|
| DEFAULT | |
| RESERVED_CONSTRUCTION | |
| RESERVED_UPGRADE | |
| CONSTRUCTION | |
| RESERVED_DEMOLISH | |
| DEMOLISH | |
| MAINTENANCE | |
| UPGRADE | |
| BUY_OUT |
Api Model CostBookValue
API Model description of CostBookValue
| Name | Type | Description |
|---|---|---|
| costType | Cost | |
| id | int | |
| linkID | int | |
| mapLink | MapLink | |
| name | String | |
| stakeholderID | int | Stakeholder ID |
| value | double | |
| version | int |