curl --location --request GET 'https://test.your-api-server.com/api/recipe/line/' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{}'{
"recipes": [
{
"id": "6369cb748341da373493fcc7",
"name": "Receta Prueba 1",
"erp_code": 1,
"id_controller": 20,
"ingredients": [
{
"_idIngredient": "6369cc648341da373493fcd2",
"_idMaterial": "636566c3952b5a1c3bf544ee",
"name": "TEST JC 1",
"qty": 80
},
{
"_idIngredient": "6369cc648341da373493fcd3",
"_idMaterial": "636566c3952b5a1c3bf544ee",
"name": "TEST JC 1",
"qty": 20
}
]
},
{
"id": "636adba3e4645cfa6013e4e5",
"name": "TEST JC 1",
"erp_code": 100,
"id_controller": 100,
"ingredients": [
{
"_idIngredient": "636566c3952b5a1c3bf544ee",
"qty": 50
},
{
"_idIngredient": "636566d4952b5a1c3bf544f1",
"qty": 50
}
]
},
{
"id": "636adff0e4645cfa6013e592",
"name": "TEST JC 2",
"erp_code": 200,
"id_controller": 200,
"ingredients": {
"_idIngredient": "636566ed952b5a1c3bf544f4",
"qty": 100
}
},
{
"id": "636ae072e4645cfa6013e5b0",
"name": "TEST JC 3",
"erp_code": 300,
"id_controller": 300,
"ingredients": {
"_idIngredient": "636566c3952b5a1c3bf544ee",
"qty": 100
}
}
]
}