Authorization: Bearer ********************{
"itemid": 800000,
"character_index": 0,
"production_variant": 0,
"status": 0,
"description": "Automatenfolie PVC",
"valid_from": 20241012,
"valid_until": 20241013,
"positions": [
{
"work_step": 1,
"work_step_type": 0,
"cost_center": 0,
"machine": 0,
"person_time": 5,
"machine_time": 4,
"time_unit": 2,
"wage_slip_quantity": 0,
"piece_unit": 1,
"idle_time": 0,
"wage_type": 0,
"wage_group": "str",
"initial_operation": 10,
"splitting_factor": 0,
"overlap": "Y",
"overlap_factor": 0,
"description": "Polieren",
"fixed_price": 0,
"print_wage_slip": "Y",
"scrap_in_percent": 5,
"workplan_fields": [
{
"id": 1,
"value": "80 Grad"
}
]
}
]
}curl --location '/workplan' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"itemid": 800000,
"character_index": 0,
"production_variant": 0,
"status": 0,
"description": "Automatenfolie PVC",
"valid_from": 20241012,
"valid_until": 20241013,
"positions": [
{
"work_step": 1,
"work_step_type": 0,
"cost_center": 0,
"machine": 0,
"person_time": 5,
"machine_time": 4,
"time_unit": 2,
"wage_slip_quantity": 0,
"piece_unit": 1,
"idle_time": 0,
"wage_type": 0,
"wage_group": "str",
"initial_operation": 10,
"splitting_factor": 0,
"overlap": "Y",
"overlap_factor": 0,
"description": "Polieren",
"fixed_price": 0,
"print_wage_slip": "Y",
"scrap_in_percent": 5,
"workplan_fields": [
{
"id": 1,
"value": "80 Grad"
}
]
}
]
}'{
"itemid": 800000,
"character_index": 0,
"production_variant": 0,
"status": 0,
"description": "Automatenfolie PVC",
"valid_from": 20241012,
"valid_until": 20241013,
"positions": [
{
"work_step": 1,
"work_step_type": 0,
"cost_center": 0,
"machine": 0,
"person_time": 5,
"machine_time": 4,
"time_unit": 2,
"wage_slip_quantity": 0,
"piece_unit": 1,
"idle_time": 0,
"wage_type": 0,
"wage_group": "str",
"initial_operation": 10,
"splitting_factor": 0,
"overlap": "Y",
"overlap_factor": 0,
"description": "Polieren",
"fixed_price": 0,
"print_wage_slip": "Y",
"scrap_in_percent": 5,
"workplan_fields": [
{
"id": 1,
"value": "80 Grad"
}
]
}
]
}