Skip to content

Usage of operation plan resource to add restrictions to frepple #577

Answered by zipus
zipus asked this question in Q&A
Discussion options

You must be logged in to vote

For any one asking the same in the future, this is my final json load:

[{'operationplan': 'production,2672/7678', 'resource': 'Sierra', 'status': 'confirmed', 'startdate': '2022-11-17T15:00:02+0100', 'enddate': '2022-11-17T16:00:02+0100'},
{'operationplan': 'production,2672/7679', 'resource': 'Afilado HERCAT', 'status': 'confirmed', 'startdate': '2022-11-17T16:00:02+0100', 'enddate': '2022-11-17T18:00:02+0100'}]

Maybe the problem is about sending string instead of int for the id, but the error is quite specific about null value.

False, strings are valid.

The data examples above are NOT in the correct formats of the proper frepple APIs. You're guessing & messing around (at your own ris…

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zipus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants