Namespace OrnithonAPI
Classes
- AstralERP
The AstralERP class is a web service that provides methods for posting data to an ERP system and retrieving data from it. It includes methods for processing different types of XML input, such as purchase orders, customer and supplier master data, item master data, and more. The class also includes methods for retrieving balance information, ERP records, flock information, and KPI monthly reports. The class uses a clsSQL object to interact with the database and includes error handling to log any issues that arise during processing. The web service is designed to be consumed by external systems, such as the Astral API, to facilitate integration with the ERP system.
- Aviagen
The Aviagen class is a web service that provides various endpoints for retrieving performance data related to pullet, breeder, and broiler flocks. It includes methods for fetching paginated performance data, as well as filtering the data based on specific date criteria such as hatch date and last update date. The class handles authentication, data retrieval from the database, and formatting the output as JSON for easy consumption by clients. Each method is designed to return structured performance data in a consistent format, allowing clients to integrate this information into their applications effectively.
- IrvinesERP
The IrvinesERP class is a web service that processes incoming JSON data related to various ERP entities such as customers, sales orders, inventory receipts, and more. It validates the incoming data, determines the type of ERP entity being processed, and then calls the appropriate method to handle the data. The class also manages authentication, error handling, and logging of results for each processed file. It interacts with a SQL database to store the incoming data and the results of processing, allowing for tracking and troubleshooting of any issues that may arise during the processing of ERP data.