{"swagger":"2.0","info":{"version":"v1","title":"A1C.VPSS3iIntegration.WebApi"},"host":"localhost:64575","schemes":["http"],"paths":{"/api/bom/{partCode}":{"get":{"tags":["Bom"],"operationId":"Bom_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"partCode","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Bom"],"operationId":"Bom_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"partCode","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/bom":{"get":{"tags":["Bom"],"operationId":"Bom_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"partCode","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Bom"],"operationId":"Bom_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/PartBOM"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Bom"],"operationId":"Bom_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/PartBOM"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Bom"],"operationId":"Bom_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"partCode","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpcustomerorders/{customerOrderCode}":{"get":{"tags":["ERPCustomerOrders"],"summary":"Get a customer order given its code","operationId":"ERPCustomerOrders_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerOrderCode","in":"path","description":"Code of customer order to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpcustomerorders":{"get":{"tags":["ERPCustomerOrders"],"summary":"Get a customer order given its code","operationId":"ERPCustomerOrders_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerOrderCode","in":"query","description":"Code of customer order to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["ERPCustomerOrders"],"summary":"Update a customer order","operationId":"ERPCustomerOrders_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing customer order information","required":true,"schema":{"$ref":"#/definitions/CustomerOrder"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ERPCustomerOrders"],"summary":"Add or update a customer order","operationId":"ERPCustomerOrders_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing customer order information","required":true,"schema":{"$ref":"#/definitions/CustomerOrder"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPCustomerOrders"],"summary":"Delete a customer order given its code","operationId":"ERPCustomerOrders_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerorderCode","in":"query","description":"Code of customer order to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpcustomerorders/{customerorderCode}":{"delete":{"tags":["ERPCustomerOrders"],"summary":"Delete a customer order given its code","operationId":"ERPCustomerOrders_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"customerorderCode","in":"path","description":"Code of customer order to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpcustomers/{code}":{"get":{"tags":["ERPCustomers"],"summary":"Get a customer given its code","operationId":"ERPCustomers_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of customer to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPCustomers"],"summary":"Delete a customer given its code","operationId":"ERPCustomers_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of customer to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpcustomers":{"get":{"tags":["ERPCustomers"],"summary":"Get a customer given its code","operationId":"ERPCustomers_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of customer to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["ERPCustomers"],"summary":"Update a customer","operationId":"ERPCustomers_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing customer information","required":true,"schema":{"$ref":"#/definitions/Customer"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ERPCustomers"],"summary":"Add or update a customer","operationId":"ERPCustomers_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing customer information","required":true,"schema":{"$ref":"#/definitions/Customer"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPCustomers"],"summary":"Delete a customer given its code","operationId":"ERPCustomers_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of customer to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpformats/{code}":{"get":{"tags":["ERPFormats"],"summary":"Get a format given its code","operationId":"ERPFormats_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of format to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPFormats"],"summary":"Delete a format given its code","operationId":"ERPFormats_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of format to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpformats":{"get":{"tags":["ERPFormats"],"summary":"Get a format given its code","operationId":"ERPFormats_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of format to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["ERPFormats"],"summary":"Update a format","operationId":"ERPFormats_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing format information","required":true,"schema":{"$ref":"#/definitions/Part"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ERPFormats"],"summary":"Add or update a format","operationId":"ERPFormats_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing format information","required":true,"schema":{"$ref":"#/definitions/Part"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPFormats"],"summary":"Delete a format given its code","operationId":"ERPFormats_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of format to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpmaterials/{code}":{"get":{"tags":["ERPMaterials"],"summary":"Get a material given its code","operationId":"ERPMaterials_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of material to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPMaterials"],"summary":"Delete a material given its code","operationId":"ERPMaterials_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of material to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpmaterials":{"get":{"tags":["ERPMaterials"],"summary":"Get a material given its code","operationId":"ERPMaterials_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of material to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["ERPMaterials"],"summary":"Update a material","operationId":"ERPMaterials_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing material information","required":true,"schema":{"$ref":"#/definitions/Material"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ERPMaterials"],"summary":"Add or update a material","operationId":"ERPMaterials_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing material information","required":true,"schema":{"$ref":"#/definitions/Material"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPMaterials"],"summary":"Delete a material given its code","operationId":"ERPMaterials_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of material to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpoperators/{code}":{"get":{"tags":["ERPOperators"],"summary":"Get an operator given its code","operationId":"ERPOperators_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of operator to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPOperators"],"summary":"Delete an operator given its code","operationId":"ERPOperators_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of operator to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpoperators":{"get":{"tags":["ERPOperators"],"summary":"Get an operator given its code","operationId":"ERPOperators_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of operator to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["ERPOperators"],"summary":"Update an operator","operationId":"ERPOperators_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing operator information","required":true,"schema":{"$ref":"#/definitions/Operator"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ERPOperators"],"summary":"Add or update an operator","operationId":"ERPOperators_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing operator information","required":true,"schema":{"$ref":"#/definitions/Operator"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPOperators"],"summary":"Delete an operator given its code","operationId":"ERPOperators_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of operator to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpparts/{code}":{"get":{"tags":["ERPParts"],"summary":"Get a part given its code","operationId":"ERPParts_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of part to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPParts"],"summary":"Delete a part given its code","operationId":"ERPParts_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of part to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpparts":{"get":{"tags":["ERPParts"],"summary":"Get a part given its code","operationId":"ERPParts_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of part to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["ERPParts"],"summary":"Update a part","operationId":"ERPParts_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing part information","required":true,"schema":{"$ref":"#/definitions/Part"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ERPParts"],"summary":"Add or update a part","operationId":"ERPParts_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing part information","required":true,"schema":{"$ref":"#/definitions/Part"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPParts"],"summary":"Delete a part given its code","operationId":"ERPParts_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of part to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpphases/{code}":{"get":{"tags":["ERPPhases"],"summary":"Get a phase given its code","operationId":"ERPPhases_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of phase to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPPhases"],"summary":"Delete a phase given its code","operationId":"ERPPhases_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of phase to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpphases":{"get":{"tags":["ERPPhases"],"summary":"Get a phase given its code","operationId":"ERPPhases_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of phase to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["ERPPhases"],"summary":"Update a phase","operationId":"ERPPhases_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing phase information","required":true,"schema":{"$ref":"#/definitions/Phase"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ERPPhases"],"summary":"Add or update a phase","operationId":"ERPPhases_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing phase information","required":true,"schema":{"$ref":"#/definitions/Phase"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPPhases"],"summary":"Delete a phase given its code","operationId":"ERPPhases_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of phase to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpproductionorders/{code}":{"get":{"tags":["ERPProductionOrders"],"summary":"Get a production order given its code","operationId":"ERPProductionOrders_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of production order to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPProductionOrders"],"summary":"Delete a production order given its code","operationId":"ERPProductionOrders_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","description":"Code of production order to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpproductionorders":{"get":{"tags":["ERPProductionOrders"],"summary":"Get a production order given its code","operationId":"ERPProductionOrders_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of production order to retrieve","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["ERPProductionOrders"],"summary":"Update a production order","operationId":"ERPProductionOrders_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing production order information","required":true,"schema":{"$ref":"#/definitions/ProductionOrder"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["ERPProductionOrders"],"summary":"Add or update a production order","operationId":"ERPProductionOrders_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","description":"Object containing production order information","required":true,"schema":{"$ref":"#/definitions/ProductionOrder"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["ERPProductionOrders"],"summary":"Delete a production order given its code","operationId":"ERPProductionOrders_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"query","description":"Code of production order to delete","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/erpproductionorders/launchinproduction":{"post":{"tags":["ERPProductionOrders"],"summary":"Launch in production a production order given its code","operationId":"ERPProductionOrders_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"body","description":"Code of production order to launch in production","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/formatsavailability":{"get":{"tags":["FormatsAvailability"],"operationId":"FormatsAvailability_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/formatsavailability/{partCode}":{"get":{"tags":["FormatsAvailability"],"operationId":"FormatsAvailability_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"partCode","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/machinelink/programs":{"post":{"tags":["MachineLink"],"operationId":"MachineLink_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/ProgramService"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/machinelink/events":{"post":{"tags":["MachineLink"],"operationId":"MachineLink_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/Event"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/machinelink/metrics":{"post":{"tags":["MachineLink"],"operationId":"MachineLink_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/CurrentMachineStatus"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/machinelink/alive":{"get":{"tags":["MachineLink"],"operationId":"MachineLink_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/maintenance/status":{"get":{"tags":["MaintenanceMode"],"operationId":"MaintenanceMode_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["MaintenanceMode"],"operationId":"MaintenanceMode_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"maintenanceStatusDto","in":"body","required":true,"schema":{"$ref":"#/definitions/MaintenanceModeStatusDTO"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/notification":{"post":{"tags":["Notification"],"operationId":"Notification_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"notification","in":"body","required":true,"schema":{"$ref":"#/definitions/MessageNotificationDTO"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/orderjobs":{"get":{"tags":["OrderJobs"],"operationId":"OrderJobs_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["OrderJobs"],"operationId":"OrderJobs_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":[],"parameters":[{"name":"ids","in":"body","required":true,"schema":{"type":"array","items":{"format":"int32","type":"integer"}}}],"responses":{"204":{"description":"No Content"}}}},"/api/partcycle":{"get":{"tags":["PartCycles"],"operationId":"PartCycles_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["PartCycles"],"operationId":"PartCycles_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/PartCycle"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["PartCycles"],"operationId":"PartCycles_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/PartCycle"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/partcycle/{partCode}":{"get":{"tags":["PartCycles"],"operationId":"PartCycles_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"partCode","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/parts":{"get":{"tags":["Parts"],"operationId":"Parts_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Parts"],"operationId":"Parts_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/Part"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Parts"],"operationId":"Parts_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/Part"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/parts/{code}":{"get":{"tags":["Parts"],"operationId":"Parts_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"code","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/parts/createpart":{"post":{"tags":["Parts"],"operationId":"Parts_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"partCode","in":"body","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/parts/downloadgeometricfile/{partCode}":{"get":{"tags":["Parts"],"operationId":"Parts_DownloadPart","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"partCode","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/DataResource"}}}}},"/api/workplans":{"get":{"tags":["Workplans"],"operationId":"Workplans_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"put":{"tags":["Workplans"],"operationId":"Workplans_Put","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/WorkPlan"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"post":{"tags":["Workplans"],"operationId":"Workplans_Post","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/WorkPlan"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Workplans"],"operationId":"Workplans_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workplanCode","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/workplans/{workplanCode}":{"get":{"tags":["Workplans"],"operationId":"Workplans_Get","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workplanCode","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Workplans"],"operationId":"Workplans_Delete","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workplanCode","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/workplanconfirmation/{workplanCode}":{"post":{"tags":["Workplans"],"operationId":"Workplans_WorkplanConfirmation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workplanCode","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Workplans"],"operationId":"Workplans_WorkplanConfirmationCancel","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workplanCode","in":"path","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/workplanconfirmation":{"post":{"tags":["Workplans"],"operationId":"Workplans_WorkplanConfirmation","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workplanCode","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}},"delete":{"tags":["Workplans"],"operationId":"Workplans_WorkplanConfirmationCancel","consumes":[],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workplanCode","in":"query","required":true,"type":"string"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/workplanproduction":{"post":{"tags":["Workplans"],"operationId":"Workplans_WorkplanProduction","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"workplanProduction","in":"body","required":true,"schema":{"$ref":"#/definitions/WorkplanProduction"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/api/workplans/workplancreation":{"post":{"tags":["Workplans"],"operationId":"Workplans_WorkplanCreation","consumes":["application/json","text/json","application/xml","text/xml","application/x-www-form-urlencoded"],"produces":["application/json","text/json","application/xml","text/xml"],"parameters":[{"name":"value","in":"body","required":true,"schema":{"$ref":"#/definitions/WorkplanCreationRequest"}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}}},"definitions":{"PartBOM":{"type":"object","properties":{"partCode":{"type":"string"},"quantity":{"format":"double","type":"number"},"measureUnit":{"type":"string"},"children":{"type":"array","items":{"$ref":"#/definitions/PartBOM"}}}},"CustomerOrder":{"type":"object","properties":{"software":{"type":"string"},"customerOrderCode":{"type":"string"},"customerOrderDescription":{"type":"string"},"customer":{"type":"string"},"status":{"type":"string"},"issueDate":{"format":"date-time","type":"string"},"deliveryDate":{"format":"date-time","type":"string"},"dueDate":{"format":"date-time","type":"string"},"referenceCode":{"type":"string"},"referenceDate":{"format":"date-time","type":"string"},"notes":{"type":"string"},"internalNotes":{"type":"string"},"attachments":{"type":"array","items":{"$ref":"#/definitions/Attachment"}},"items":{"type":"array","items":{"$ref":"#/definitions/CustomerOrderItem"}}}},"Attachment":{"type":"object","properties":{"url":{"type":"string"},"name":{"type":"string"},"externalCode":{"type":"string"},"filePath":{"type":"string"},"base64Content":{"type":"string"}}},"CustomerOrderItem":{"type":"object","properties":{"externalCode":{"type":"string"},"part":{"type":"string"},"measurementUnit":{"type":"string"},"quantity":{"format":"double","type":"number"},"deliveryDate":{"format":"date-time","type":"string"},"deliveredQuantity":{"format":"double","type":"number"},"status":{"type":"string"},"unitPrice":{"format":"double","type":"number"},"dueDate":{"format":"date-time","type":"string"},"notes":{"type":"string"},"internalNotes":{"type":"string"},"attachments":{"type":"array","items":{"$ref":"#/definitions/Attachment"}}}},"Customer":{"type":"object","properties":{"code":{"type":"string"},"description":{"type":"string"},"reference":{"type":"string"},"note":{"type":"string"},"companyName":{"type":"string"},"addresses":{"type":"array","items":{"$ref":"#/definitions/CustomerAddress"}},"software":{"type":"string"}}},"CustomerAddress":{"type":"object","properties":{"externalCode":{"type":"string"},"customerAddressType":{"type":"string"},"isDefault":{"type":"boolean"},"postalAddress":{"type":"string"},"postalCode":{"type":"string"},"city":{"type":"string"},"province":{"type":"string"},"state":{"type":"string"},"telephoneNumber":{"type":"string"},"mobileTelephoneNumber":{"type":"string"},"faxNumber":{"type":"string"},"email":{"type":"string"},"note":{"type":"string"},"reference":{"type":"string"}}},"Part":{"type":"object","properties":{"customFields":{"type":"object","additionalProperties":{"type":"object"}},"code":{"type":"string"},"description":{"type":"string"},"measureUnit":{"type":"string"},"dimension1":{"format":"double","type":"number"},"dimension2":{"format":"double","type":"number"},"dimension3":{"format":"double","type":"number"},"area":{"format":"double","type":"number"},"grossWeight":{"format":"double","type":"number"},"netWeight":{"format":"double","type":"number"},"specificWeight":{"format":"double","type":"number"},"documents":{"type":"array","items":{"$ref":"#/definitions/Document"}},"material":{"type":"string"},"family":{"type":"string"},"type":{"type":"string"},"supply":{"type":"string"},"software":{"type":"string"},"isFormat":{"type":"boolean"}}},"Document":{"type":"object","properties":{"path":{"type":"string"},"name":{"type":"string"},"externalCode":{"type":"string"},"filePath":{"type":"string"},"url":{"type":"string"},"base64Content":{"type":"string"}}},"Material":{"type":"object","properties":{"code":{"type":"string"},"description":{"type":"string"},"unitCost":{"format":"double","type":"number"},"specificWeight":{"format":"double","type":"number"},"software":{"type":"string"}}},"Operator":{"type":"object","properties":{"firstName":{"type":"string"},"lastName":{"type":"string"},"unitCost":{"format":"double","type":"number"},"operatorCode":{"type":"string"},"priority":{"format":"int32","type":"integer"},"bonusType":{"format":"int32","type":"integer"},"inefficency":{"format":"double","type":"number"},"maxEngagement":{"format":"double","type":"number"},"company":{"type":"string"},"companyDivision":{"type":"string"},"companyGroup":{"type":"string"},"costCenter":{"type":"string"},"username":{"type":"string"},"notes":{"type":"string"},"validFrom":{"format":"date-time","type":"string"},"validTo":{"format":"date-time","type":"string"},"departments":{"type":"array","items":{"type":"string"}},"phaseTypes":{"type":"array","items":{"$ref":"#/definitions/OperatorPhaseType"}},"software":{"type":"string"}}},"OperatorPhaseType":{"type":"object","properties":{"code":{"type":"string"},"hourlyCost":{"format":"double","type":"number"}}},"Phase":{"type":"object","properties":{"code":{"type":"string"},"description":{"type":"string"},"phaseType":{"type":"string"},"machineCost":{"format":"double","type":"number"},"operatorCost":{"format":"double","type":"number"},"setupMachineCount":{"format":"int32","type":"integer"},"setupMachineUsage":{"format":"double","type":"number"},"setupOperatorCount":{"format":"int32","type":"integer"},"setupOperatorUsage":{"format":"double","type":"number"},"workMachineCount":{"format":"int32","type":"integer"},"workMachineUsage":{"format":"double","type":"number"},"workOperatorCount":{"format":"int32","type":"integer"},"workOperatorUsage":{"format":"double","type":"number"},"instructions":{"type":"string"},"notes":{"type":"string"},"setupTime":{"format":"int32","type":"integer"},"workTime":{"format":"int32","type":"integer"},"machines":{"type":"array","items":{"$ref":"#/definitions/PhaseMachine"}},"departments":{"type":"array","items":{"type":"string"}},"operators":{"type":"array","items":{"$ref":"#/definitions/PhaseOperator"}},"attachments":{"type":"array","items":{"$ref":"#/definitions/Attachment"}},"software":{"type":"string"}}},"PhaseMachine":{"type":"object","properties":{"machine":{"type":"string"},"bonusTime":{"format":"double","type":"number"},"priority":{"format":"int32","type":"integer"},"inefficiency":{"format":"int32","type":"integer"},"preferential":{"type":"boolean"},"workTime":{"format":"double","type":"number"},"workTimeType":{"type":"string"},"setSize":{"format":"int32","type":"integer"}}},"PhaseOperator":{"type":"object","properties":{"operator":{"type":"string"},"priority":{"format":"int32","type":"integer"},"inefficiency":{"format":"int32","type":"integer"},"isSetupEnabled":{"type":"boolean"},"bonusTime":{"format":"int32","type":"integer"}}},"ProductionOrder":{"type":"object","properties":{"code":{"type":"string"},"description":{"type":"string"},"part":{"type":"string"},"quantity":{"format":"double","type":"number"},"measureUnit":{"type":"string"},"endDate":{"format":"date-time","type":"string"},"creatorUserName":{"type":"string"},"software":{"type":"string"},"referenceCode":{"type":"string"},"jobs":{"type":"array","items":{"$ref":"#/definitions/ProductionOrderJob"}}}},"ProductionOrderJob":{"type":"object","properties":{"code":{"type":"string"},"description":{"type":"string"},"sequence":{"format":"int32","type":"integer"},"isDepositEnabled":{"type":"boolean"},"phaseType":{"type":"string"},"supplyType":{"type":"string"},"isSupplyTypeUpdatable":{"type":"boolean"},"setupTime":{"format":"double","type":"number"},"workTime":{"format":"double","type":"number"},"workTimeType":{"type":"string"},"setSize":{"format":"int32","type":"integer"},"machineCost":{"format":"double","type":"number"},"operatorCost":{"format":"double","type":"number"},"setupMachineCount":{"format":"int32","type":"integer"},"setupMachineUsage":{"format":"double","type":"number"},"setupOperatorCount":{"format":"int32","type":"integer"},"setupOperatorUsage":{"format":"double","type":"number"},"workMachineCount":{"format":"int32","type":"integer"},"workMachineUsage":{"format":"double","type":"number"},"workOperatorCount":{"format":"int32","type":"integer"},"workOperatorUsage":{"format":"double","type":"number"},"instructions":{"type":"string"},"notes":{"type":"string"},"machines":{"type":"array","items":{"$ref":"#/definitions/ProductionOrderJobMachine"}},"departments":{"type":"array","items":{"type":"string"}},"operators":{"type":"array","items":{"$ref":"#/definitions/ProductionOrderJobOperator"}}}},"ProductionOrderJobMachine":{"type":"object","properties":{"machine":{"type":"string"},"bonusTime":{"format":"double","type":"number"},"priority":{"format":"int32","type":"integer"},"inefficiency":{"format":"int32","type":"integer"},"preferential":{"type":"boolean"},"workTime":{"format":"double","type":"number"},"workTimeType":{"type":"string"},"setSize":{"format":"int32","type":"integer"}}},"ProductionOrderJobOperator":{"type":"object","properties":{"operator":{"type":"string"},"bonusTime":{"format":"double","type":"number"},"priority":{"format":"int32","type":"integer"},"inefficiency":{"format":"int32","type":"integer"},"isSetupEnabled":{"type":"boolean"}}},"ProgramService":{"type":"object","properties":{"amada_object":{"$ref":"#/definitions/ProgramServiceAmadaObject"}}},"ProgramServiceAmadaObject":{"type":"object","properties":{"header":{"$ref":"#/definitions/ProgramServiceAmadaObjectHeader"},"attributes":{"$ref":"#/definitions/ProgramServiceAmadaObjectAttributes"},"toolsList":{"type":"array","items":{"$ref":"#/definitions/ProgramServiceAmadaObjectTool"}}}},"ProgramServiceAmadaObjectHeader":{"type":"object","properties":{"isoDateTime":{"format":"date-time","type":"string"},"productID":{"type":"string"},"mlMachineName":{"type":"string"},"mlMachineSerialNumber":{"type":"string"},"programName":{"type":"string"},"programStartTime":{"format":"date-time","type":"string"},"programEndTime":{"format":"date-time","type":"string"},"programRepetition":{"format":"int32","type":"integer"}}},"ProgramServiceAmadaObjectAttributes":{"type":"object","properties":{"materialName":{"type":"string"},"materialNameForLaser":{"type":"string"},"materialThickness":{"format":"double","type":"number"},"materialTypeName":{"type":"string"},"materialTypeNumber":{"format":"int32","type":"integer"},"materialCode":{"type":"string"},"materialBatchNumber":{"type":"string"}}},"ProgramServiceAmadaObjectTool":{"type":"object","properties":{"punchNumber":{"type":"string"},"dieNumber":{"type":"string"}}},"Event":{"type":"object","properties":{"amada_object":{"$ref":"#/definitions/AmadaObjectEvent","readOnly":true}}},"AmadaObjectEvent":{"type":"object","properties":{"header":{"$ref":"#/definitions/Iheader","readOnly":true},"event":{"$ref":"#/definitions/Ievent","readOnly":true},"attributes":{"$ref":"#/definitions/Iattributes","readOnly":true},"toolsList":{"type":"array","items":{"$ref":"#/definitions/Tools"},"readOnly":true}}},"Iheader":{"type":"object","properties":{"isoDatetime":{"format":"date-time","type":"string"},"productID":{"type":"string"},"mlMachineName":{"type":"string"},"mlMachineSerialNumber":{"type":"string"}}},"Ievent":{"type":"object","properties":{"eventType":{"type":"string"},"programName":{"type":"string"},"eventTime":{"format":"date-time","type":"string"}}},"Iattributes":{"type":"object","properties":{"materialName":{"type":"string"},"materialNameForLaser":{"type":"string"},"materialThickness":{"format":"double","type":"number"},"materialTypeName":{"type":"string"},"materialTypeNumber":{"format":"int32","type":"integer"},"materialCode":{"type":"string"},"materialBatchNumber":{"type":"string"}}},"Tools":{"type":"object","properties":{"punchNumber":{"type":"string"},"dieNumber":{"type":"string"}}},"CurrentMachineStatus":{"type":"object","properties":{"amada_object":{"$ref":"#/definitions/AmadaObjectCurrentMachineStatus","readOnly":true}}},"AmadaObjectCurrentMachineStatus":{"type":"object","properties":{"isoDatetime":{"format":"date-time","type":"string"},"productID":{"type":"string"},"mlMachineName":{"type":"string"},"mlMachineSerialNumber":{"type":"string"},"currentStatus":{"type":"string"},"powerOnUntilNowTime":{"format":"int32","type":"integer"},"powerOffUntilNowTime":{"format":"int32","type":"integer"},"idlingUntilNowTime":{"format":"int32","type":"integer"},"setUpUntilNowTime":{"format":"int32","type":"integer"},"workingUntilNowTime":{"format":"int32","type":"integer"},"stopAlarmUntilNowTime":{"format":"int32","type":"integer"},"alarmList":{"type":"array","items":{"$ref":"#/definitions/Alarm"},"readOnly":true}}},"Alarm":{"type":"object","properties":{"code":{"type":"string"},"description":{"type":"string"},"startedTime":{"format":"date-time","type":"string"}}},"MaintenanceModeStatusDTO":{"type":"object","properties":{"key":{"type":"string"}}},"MessageNotificationDTO":{"type":"object","properties":{"entityCode":{"type":"string"},"source":{"type":"string"},"logLevel":{"format":"int32","type":"integer"},"entityType":{"type":"string"},"synchronizationDirection":{"format":"int32","enum":[0,1],"type":"integer"},"synchronizationStatus":{"format":"int32","enum":[0,1],"type":"integer"},"message":{"type":"string"}}},"PartCycle":{"type":"object","properties":{"partCode":{"type":"string"},"cycles":{"type":"array","items":{"$ref":"#/definitions/Cycle"}}}},"Cycle":{"type":"object","properties":{"cycleCode":{"type":"string"},"preferential":{"type":"boolean"},"phases":{"type":"array","items":{"$ref":"#/definitions/CyclePhase"}}}},"CyclePhase":{"type":"object","properties":{"phaseCode":{"type":"string"},"comment":{"type":"string"},"sequence":{"format":"int32","type":"integer"},"setupTime":{"format":"int32","type":"integer"},"workTime":{"format":"int32","type":"integer"},"machines":{"type":"array","items":{"$ref":"#/definitions/Machine"}}}},"Machine":{"type":"object","properties":{"machineCode":{"type":"string"},"workTime":{"format":"double","type":"number"},"workTimeType":{"type":"string"},"setSize":{"format":"int32","type":"integer"}}},"DataResource":{"type":"object","properties":{"name":{"type":"string"},"type":{"type":"string"},"content":{"type":"string"}}},"WorkPlan":{"type":"object","properties":{"code":{"type":"string"},"description":{"type":"string"},"comment":{"type":"string"},"machineCode":{"type":"string"},"phaseTypeCode":{"type":"string"},"isTemplate":{"type":"boolean"},"rows":{"type":"array","items":{"$ref":"#/definitions/WorkplanPart"}},"formats":{"type":"array","items":{"$ref":"#/definitions/WorkplanFormat"}},"nestings":{"type":"array","items":{"$ref":"#/definitions/WorkplanNesting"}}}},"WorkplanPart":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"orderJobID":{"format":"int32","type":"integer"},"partCode":{"type":"string"},"quantity":{"format":"int32","type":"integer"},"materialCode":{"type":"string"},"dimension1":{"format":"double","type":"number"},"dimension2":{"format":"double","type":"number"},"dimension3":{"format":"double","type":"number"}}},"WorkplanFormat":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"partCode":{"type":"string"},"quantity":{"format":"double","type":"number"},"materialCode":{"type":"string"},"dimension1":{"format":"double","type":"number"},"dimension2":{"format":"double","type":"number"},"dimension3":{"format":"double","type":"number"},"trackingCode":{"type":"string"},"weight":{"format":"double","type":"number"}}},"WorkplanNesting":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"code":{"type":"string"},"sheetID":{"format":"int32","type":"integer"},"repetitions":{"format":"int32","type":"integer"},"nestedParts":{"type":"array","items":{"$ref":"#/definitions/WorkplanNestedPart"}},"scraps":{"type":"array","items":{"$ref":"#/definitions/WorkplanScrap"}},"workTime":{"format":"int32","type":"integer"},"weight":{"format":"double","type":"number"},"area":{"format":"double","type":"number"},"document":{"$ref":"#/definitions/Document"}}},"WorkplanNestedPart":{"type":"object","properties":{"partID":{"format":"int32","type":"integer"},"quantity":{"format":"int32","type":"integer"},"grossWeight":{"format":"double","type":"number"},"netWeight":{"format":"double","type":"number"},"boundingBoxWidth":{"format":"double","type":"number"},"boundingBoxHeight":{"format":"double","type":"number"}}},"WorkplanScrap":{"type":"object","properties":{"code":{"type":"string"},"quantity":{"format":"int32","type":"integer"},"type":{"type":"string"},"part":{"$ref":"#/definitions/Part"}}},"WorkplanProduction":{"type":"object","properties":{"workplanNestingCode":{"type":"string"},"repetitions":{"format":"int32","type":"integer"},"workTime":{"format":"int32","type":"integer"},"stopTime":{"format":"int32","type":"integer"},"result":{"type":"string"}}},"WorkplanCreationRequest":{"type":"object","properties":{"name":{"type":"string"},"comment":{"type":"string"},"machineName":{"type":"string"},"parts":{"type":"array","items":{"$ref":"#/definitions/WorkplanCreationPart"}}}},"WorkplanCreationPart":{"type":"object","properties":{"name":{"type":"string"},"materialName":{"type":"string"},"quantity":{"format":"int32","type":"integer"},"productionOrderJobId":{"format":"int32","type":"integer"}}}}}