With the /NestingList endpoint user can manage NestingList from the database.
GET
/api/NestingList/List
Get a list of all NestingList
Request Example
/api/NestingList/List
RESPONSE EXAMPLE
[
{
"Id": "string",
"Profile": "string",
"AutomaticProfile": string,
"Status": "string",
"ReleasedDate": "date",
"MediaType": "string",
"Quantity": number
},
{...}
]
POST
/api/NestingList/SendToMachines
Create a NestingList
Model Request Example
{
"nestingIds" : [
"string",
...
],
"printerId" : "string" ,
"cutterId" : "string"
}
Response Example
If the operation is successful a NestingList will be returned with status code 201
Otherwise an error with code and message will be returned with status code 409
DELETE
/api/NestingList/Delete
Delete a NestingList
Request Example
/api/NestingList/Delete?id=NestingListId
Response Example
If the operation is successful an empty response will be returned with status code 200
Otherwise an error with code and message will be returned with status code 409
GET
/api/NestingList/NestPreview
Delete a NestingList
Request Example
/api/NestingList/NestPreview?id=NestingListId
Response Example
If the operation is successful an preview will be returned with status code 200
Otherwise an error with code and message will be returned with status code 409