1. Production
Ecoland
  • EcoLand
    • Authentication
      • Sign-In
      • Sign-up
      • Refresh Token
    • User
      • Resources
      • User Information
      • User Information
    • Buildings
      • Building Details
      • All Buildings
      • Construct Building
      • List of Possible Construction
      • Possible Prudctions of a building
    • Production
      • Cancel Production
        DELETE
      • Start Production
        POST
    • Transportation
      • Shipment
    • Admin
      • user-management
        • Users
  • Schemas
    • EcoLand
      • Storage_Base
      • Production_Base
      • Building_Base
      • Product_Base
      • Construciton_Base
      • Shipment_Base
      • ProductionsInOut_List
      • Productions_Def
      • UserInfo
      • UserResources
    • Error_Responses
      • Insufficent_Money
  1. Production

Cancel Production

Developing
DELETE
/production/cancel/{id}
Cancels production for given production id.
Completed cycles will yield the output products, production cycles not yet started will return the input materials. Products from the currently started cycles are lost.
Note: Initially, this canceled a production of a building. But later on it might be possible to have multiple production "slots" per building. Halting the production of a whole building should be another endpoint then.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Path Params

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request DELETE '/production/cancel/' \
--header 'Authorization: Bearer <token>'

Responses

🟢200Success
application/json
Body

Example
{}
Modified at 2025-03-10 07:30:55
Previous
Possible Prudctions of a building
Next
Start Production
Built with