Skip to main content
POST
/
contracts
/
{id}
/
schedules
Create Contract Schedule
curl --request POST \
  --url https://v1.api.flux-os.com/contracts/{id}/schedules \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --header 'x-user-id: <api-key>' \
  --data '
{
  "production_month": "2023-12-25",
  "volume": 123,
  "volume_measurement_unit": "<unknown>",
  "status": "<unknown>"
}
'
{}

Authorizations

x-api-key
string
header
required
x-user-id
string
header
required

Path Parameters

id
integer
required

The contract ID.

Body

application/json
production_month
string<date>
required
volume
number
required
volume_measurement_unit
any
required
status
any

Response

Contract schedule successfully created.

data
object