External Production API - User Documentation
This documentation is about the APIs in the External Production addon in Wisefish.
Main Features of this API Extension
Reading master files from Wisefish, such as:
Reading Sales Agreements
Reading Production Agreements
Read Items,
Read Lots, both origin lots and production lots
Writing transactions in real time (post) into Wisefish, such as:
Receiving raw material (into fishing trip or Receipt Agreement).
Recording consumption (of raw material or WIP products)
Production transactions (by far the most used feature of this API). This can be production to stock; with or without an order (production or sales order).
Most of these endpoints only read data from the Business Central Wisefish system, but do not allow any data modifications.
Identification for the Wisefish API:
Publisher : wisefish
API Group : wiFiEP
Version: v1.0
Table of Contents
Endpoint Overview
Endpoint | Description | Details | Methods | Read / Insert / Modify / Delete |
| Company Information |
| READONLY | |
| Raw Material official reporting codes. |
| READONLY | |
| Items with units and variants and the most important Wisefish fields. |
| READONLY | |
| Item units. |
| READONLY | |
| Translations for the item table. |
| READONLY | |
| External item numbers. |
| READONLY | |
| External item label selection. The list is filtered on "Type of Ext. Party" = Customer. |
| READONLY | |
| Origin lots.
|
| READONLY | |
| Lots with Production Type = Production. |
| READONLY | |
| Processing methods | |||
| Sales Agreements, with type = Delivery Lines are returned as child objects with |
| READONLY | |
| Sales Agreement Lines, with type = Delivery Existing lines, can be modified, but insert and delete is not allowed. |
| RM | |
| Production Agreements. Lines are returned as child objects with |
| READONLY | |
| Production Agreement Lines. |
| READONLY | |
| This endpoint is used to import data into Wisefish in order to post items either as consumed or produced. |
| RI |
Example Usage
Request
GET
[server]/api/wisefish/wiFiEP/v1.0/companies([CompanyGUID])/[endpoint]
Example:
To get the origin Lots:
https://containers.wisefish.com/BC24BjarteyW1CU1rest/api/wisefish/wiFiEP/v1.0/companies(cf9f7b85-dd11-ef11-9f8b-6045bde9cc61)/lots
Filtering
A filter is added with $filter. An example of how a filter is added:
https://containers.wisefish.com/BC24BjarteyW1CU1rest/api/wisefish/wiFiEP/v1.0/companies(cf9f7b85-dd11-ef11-9f8b-6045bde9cc61)/itemUnitOfMeasures?$filter=itemNo eq '70070'
Response
The data is returned as JSON.
$body