contracts

POST /api/v1/contracts/

Create a new player contract

Request

  • Base URL
    http://localhost:3000
  • Auth
    HTTP bearer

Request body

serverIdnumber required

Server ID

fieldIdnumber required

Field/Parcel ID

paymentnumber required

Payment amount

paymentType'fixed' | 'per hour' required

Payment type

jobTypestring required

Type of job (e.g., Harvesting, Plowing)

descriptionstring required

Contract description

Response

Default Response

successboolean
metaobject

Changes

No recorded changes to this operation across all 6 revisions of this API.