cURL
curl --request PATCH \ --url https://v1.api.flux-os.com/contracts/{id}/schedules/{schedule_id}/change-source/{source_land_description} \ --header 'Content-Type: application/json' \ --header 'x-api-key: <api-key>' \ --header 'x-user-id: <api-key>' \ --data ' { "source_land_description": "<string>" } '
{ "production_month": "2023-12-25", "volume": 123, "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "estimated_qualities": [ { "value": 123, "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ], "chains": [ { "id": "<string>", "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z", "legs": [ { "position": 123, "chain": "<unknown>", "volume": 123, "id": "<string>", "source_well": { "id": "<string>", "name": null }, "is_custody_transfer": false, "is_chain_source": false, "is_chain_destination": false, "fob": false, "created_at": "2023-11-07T05:31:56Z", "updated_at": "2023-11-07T05:31:56Z" } ] } ] }
Update the source land description for all transport chains in a schedule.
The contract ID.
The schedule ID.
The source land description.
Source land description updated for all transport chains in the schedule.
Show child attributes