Get Event Specifications - Implan-Group/api GitHub Wiki
Use this endpoint to get [Event-Type](Event Types)-specific codes, such as Industry Codes for industry events (such as Events#Industry Output Event) or Commodity Codes for commodity events (such as Events#Commodity Output).
Parameter | Spec | Type | Details |
---|---|---|---|
projectId | route | guid | The Project's Id. |
eventType | route | str | The Event Type to get specifications from. |
GET /api/v1/impact/project/f6ed2521-b002-4bc6-cafe-44a64868b389/eventtype/IndustryOutput/specification
[ { "code": "1", "name": "1 - Oilseed farming" }, { "code": "2", "name": "2 - Grain farming" }, { "code": "3", "name": "3 - Vegetable and melon farming" },
GET /api/v1/impact/project/f6ed2521-b002-4bc6-cafe-44a64868b389/eventtype/CommodityOutput/specification
[ { "code": "3001", "name": "3001 - Oilseeds" }, { "code": "3002", "name": "3002 - Grains" }, { "code": "3003", "name": "3003 - Vegetables and melons" },