API - Processing Stages


Overview

The list page that contains the Processing Stages.

Endpoint name

processingStages

Source table

WiFi Processing Stage

Fixed view


Requests allowed

GET, POST, PATCH, DELETE

Primary key

Stage

Record ID

stage

Procedures

None


Data

Field List

Property

Type

Format

Description


systemId

string

uuid

SystemId

non-editable

stage

string

max 20

The unique id of this entry.

Record ID

primary key

description

string

max 50

Description

optional

excludeFromNAVInvPosting

boolean


Exclude from BC Inv. Posting

optional

variantCodeForWIPPosting

string

max 10

Variant Code for WIP Posting

optional

systemRowVersion

integer


System row version. Increments every time the record is modified.

non-editable

lastModified

string

date-time

SystemModifiedAt (date and time of last change)

non-editable


Object Example

An example of one object:

JSON
{
    "stage": "PRODUCTION",
    "systemId": "8d4cd55e-b7a5-ef11-b017-bd6349c859ee",
    "description": "Production",
    "excludeFromNAVInvPosting": false,
    "variantCodeForWIPPosting": "SV-0001",
    "systemRowVersion": 2577021,
    "lastModified": "2025-02-04T10:54:13.567Z"
}


Examples

Read processing stages

Read all processing stages

Reads all processing stages. The response is a list of processing stage objects, as shown in Object Example.

JSON
GET .../processingStages

Read one processing stage

The Record ID is the stage code itself, so one processing stage is read with a GET request on the following format:

JSON
GET .../processingStages('PRODUCTION')

Read stages excluded from BC inventory posting

Reads only the processing stages that are excluded from Business Central inventory posting, and returns only the stage and description with $select.

Request:

JSON
GET .../processingStages?$filter=excludeFromNAVInvPosting eq true&$select=stage,description

Response:

JSON
{
    "@odata.context": "https://containers.wisefish.com/BC/api/wisefish/base/v1.0/$metadata#companies(cf9f7b85-dd11-ef11-9f8b-6045bde9cc61)/processingStages(stage,description)",
    "value": [
        {
            "@odata.etag": "W/\"JzE5OzQ1MjE4ODc3MzQwMTI5ODU2MzExOzAwOyc=\"",
            "stage": "PACKING",
            "description": "Packing"
        }
    ]
}


Create, change and delete processing stages

Create a new processing stage

Creates the processing stage FREEZING, which is not excluded from Business Central inventory posting.

Request:

JSON
POST .../processingStages

Body:
{
    "stage": "FREEZING",
    "description": "Freezing",
    "excludeFromNAVInvPosting": false,
    "variantCodeForWIPPosting": ""
}

Response:

JSON
{
    "@odata.context": "https://containers.wisefish.com/BC/api/wisefish/base/v1.0/$metadata#companies(cf9f7b85-dd11-ef11-9f8b-6045bde9cc61)/processingStages/$entity",
    "@odata.etag": "W/\"JzE5OzI2NTQ4MTkwMzM3NzEyMDQ4ODQxOzAwOyc=\"",
    "systemId": "3f6a2b10-9c4e-f011-b01d-f992b2580806",
    "stage": "FREEZING",
    "description": "Freezing",
    "excludeFromNAVInvPosting": false,
    "variantCodeForWIPPosting": "",
    "systemRowVersion": 2581910,
    "lastModified": "2025-12-18T14:20:05.113Z"
}

Change a processing stage

Changes the description of processing stage FREEZING. A PATCH request needs the If-Match header with the @odata.etag of the record (or *).

Request:

JSON
PATCH .../processingStages('FREEZING')
If-Match: *

Body:
{
    "description": "Freezing and glazing"
}

Response:

JSON
{
    "@odata.context": "https://containers.wisefish.com/BC/api/wisefish/base/v1.0/$metadata#companies(cf9f7b85-dd11-ef11-9f8b-6045bde9cc61)/processingStages/$entity",
    "@odata.etag": "W/\"JzE5OzkwMTI3MzQ1NjYxMjM0NTk4NzEyOzAwOyc=\"",
    "systemId": "3f6a2b10-9c4e-f011-b01d-f992b2580806",
    "stage": "FREEZING",
    "description": "Freezing and glazing",
    "excludeFromNAVInvPosting": false,
    "variantCodeForWIPPosting": "",
    "systemRowVersion": 2581934,
    "lastModified": "2025-12-18T14:31:47.402Z"
}

Delete a processing stage

Deletes processing stage FREEZING. On success the response is empty (HTTP status 204 No Content).

JSON
DELETE .../processingStages('FREEZING')