API - Create Pallet


Overview

The endpoint is specifically designed to register a Pallet into BC which already has a barcode.

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. Will be generated out of the barcode after insert.

non-editable

4

physicalPalletId

string

20

Physical Pallet ID


5

locationCode

string

10

Location Code

OPTIONAL

6

stockCenterCode

string

20

optionalStock Center Code

OPTIONAL

7

vesselCode

string

20

Used when created for a Fishing Trip

Mandatory if Fishing TripNo used

8

fishingTripNo

string

20

Fishing Trip No.

OPTIONAL

9

grossWeight

decimal


Gross Weight (Manual)

OPTIONAL

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.

OPTIONAL

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






18

lastModified

datetime



non-editable


Object Example

JSON
{
    "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": "",
    "systemRowVersion": 4583353,
    "lastModified": "2025-12-09T11:39:13.407Z"
}

Usage

Create a pallet with a specific barcode

Default stock center and location can be taken from the User Profile. Then the only required parameter is the barcode:

JSON
POST .../createPallets

BODY:
{
    "barcode": "00066666667000000049"
}


To create a pallet with a pre-defined barcode and other values required

JSON
POST .../createPallets

BODY:
{
    "barcode": "0000111122223333600",
    "stockCenterCode" : "011",
    "locationCode": "FREEZER_01"
}

The response contains all the properties in this API:

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(f5a90234-4e79-f111-b037-cca9ad943c7c)/createPallets/$entity",
    "@odata.etag": "W/\"JzE5Ozg0MTU4NTUxNzE0MjcwNzA3MjAxOzAwOyc=\"",
    "barcode": "0000111122223333600",
    "systemId": "3d3ddc24-14bc-f111-b03e-b5c36009a6b9",
    "palletNo": "33360",
    "physicalPalletId": "9900111122223333600",
    "locationCode": "FREEZER_01",
    "stockCenterCode": "011",
    "vesselCode": "",
    "fishingTripNo": "",
    "grossWeight": 0,
    "palletStandardCode": "",
    "keyItemNo": "",
    "itemCategoryCode": "",
    "status": "Empty",
    "dateCreated": "2026-09-29",
    "zoneCode": "",
    "binCode": "",
    "systemRowVersion": 4816953,
    "lastModified": "2026-09-29T14:43:33.897Z"
}


Create a pallet with a barcode for a specific Fishing Trip

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 .../createPallets

{
    "barcode": "00066666667000000049",
    "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": "",
    "systemRowVersion": 4816953,
    "lastModified": "2025-12-09T11:39:13.407Z"
}