Breadcrumbs

API - Create Pallet

Overview

The endpoint is specifically designed to create a new Pallet.

Default values for the pallet can be derived from User Profile or Vessel.

After a pallet has been created, it can be used to post items on it.

Endpoint name

createPallet

Source table

WiFi Pallet Entry

Fixed view

If used with GET it will only show pallets with Status Precreated and Empty.

Requests allowed

POST

Primary key

barcode

Record ID

barcode

Procedures


Data

Field List

Property

Type

Max Len

Description


1

systemId

string uuid


SystemId

non-editable

2

barcode

string

20

Barcode

PRIMARY KEY Record ID

3

palletNo

string

20

Pallet No.

non-editable

4

physicalPalletId

string

20

Physical Pallet ID


5

locationCode

string

10

Location Code


6

stockCenterCode

string

20

Stock Center Code


7

vesselCode

string

20

Used when created for a Fishing Trip

Mandatory if Fishing TripNo used

8

fishingTripNo

string

20

Fishing Trip No.


9

grossWeight

decimal


Gross Weight (Manual)


10

palletStandardCode

string

20

Pallet Standard Code


11

keyItemNo

string

20

Key Item No. may be blank at creation, it will be populated when items are posted on the pallet.


12

itemCategoryCode

string

20

Item Category Code


13

status

Status


Status is usually Empty (Precreated is for an older feature).

non-editable

14

dateCreated

date


Date of creation

non-editable

15

zoneCode

string

10

Zone Code, if pallet warehouse is used.


16

binCode

string

10

Bin Code, if pallet warehouse is used.


17

lastModified

datetime



non-editable

Object Example

JSON
{
    "@odata.context": "https://containers.wisefish.com/BC/api/wisefish/base/v1.0/$metadata#companies(cf9f7b85-dd11-ef11-9f8b-6045bde9cc61)/createPallets/$entity",
    "@odata.etag": "W/\"JzIwOzExNTE2MTU3MjQ0MTA1NjAxODc0MTswMDsn\"",
    "systemId": "d2c2d8ae-f3d4-f011-b02a-d73020d2bf0c",
    "barcode": "00066666667000000049",
    "palletNo": "00000004",
    "physicalPalletId": "99066666667000000049",
    "vesselCode": "FREEZER",
    "fishingTripNo": "FT-26-07",
    "grossWeight": 0,
    "palletStandardCode": "",
    "keyItemNo": "",
    "itemCategoryCode": "",
    "locationCode": "BLUE",
    "stockCenterCode": "FROSTI",
    "status": "Empty",
    "dateCreated": "2025-12-09",
    "zoneCode": "",
    "binCode": "",
    "lastModified": "2025-12-09T11:39:13.407Z"
}

Usage

To create a pallet with default stock center and location taken from the User Profile:

JSON
POST .../createPallet

BODY: (empty)

To create a pallet for a specific Fishing Trip. In this case

  • the vesselCode is mandatory:

  • Stock Center will be taken from the Vessel

JSON
POST .../createPallet

{
    "fishingTripNo": "FT-26-07",
    "vesselCode": "FREEZER"
}

The response has all the properties of the object:

Expand to see the example json

The response is like this:

JSON
{
    "@odata.context": "https://containers.wisefish.com/BC/api/wisefish/base/v1.0/$metadata#companies(cf9f7b85-dd11-ef11-9f8b-6045bde9cc61)/createPallets/$entity",
    "@odata.etag": "W/\"JzIwOzExNTE2MTU3MjQ0MTA1NjAxODc0MTswMDsn\"",
    "systemId": "d2c2d8ae-f3d4-f011-b02a-d73020d2bf0c",
    "barcode": "00066666667000000049",
    "palletNo": "00000004",
    "physicalPalletId": "99066666667000000049",
    "vesselCode": "FREEZER",
    "fishingTripNo": "FT-26-07",
    "grossWeight": 0,
    "palletStandardCode": "",
    "keyItemNo": "",
    "itemCategoryCode": "",
    "locationCode": "BLUE",
    "stockCenterCode": "FROSTI",
    "status": "Empty",
    "dateCreated": "2025-12-09",
    "zoneCode": "",
    "binCode": "",
    "lastModified": "2025-12-09T11:39:13.407Z"
}