POST api/prepacks/import

Request Information

URI Parameters

None.

Body Parameters

Collection of ProductPrePack
NameDescriptionTypeAdditional information
ID

integer

None.

CustomerOrderNo

integer

None.

PLU

integer

None.

PLUG_UID

Collection of byte

None.

PluGuid

globally unique identifier

None.

StoreID

integer

None.

PackedOn

date

None.

PackedOnUtc

date

None.

Barcode

string

None.

Quantity

integer

None.

SoldByWeight

boolean

None.

Value

integer

None.

UnitPrice

integer

None.

UseBy

date

None.

ScaleLocation

integer

None.

ZoneID

integer

None.

OperatorID

integer

None.

OperatorG_UID

Collection of byte

None.

OperatorGuid

globally unique identifier

None.

MachineID

integer

None.

SequenceNo

integer

None.

Processed

integer

None.

PrePack

boolean

None.

MachineName

Used to set MachineID as intended

string

Relation. This field may not always be loaded or used for updates.

Request Formats

application/json, text/json

Sample:
[
  {
    "$id": "1",
    "id": 1,
    "customerOrderNo": 1,
    "plu": 1,
    "pluG_UID": "r0fJBFSN9EaYlWRS48VCgQ==",
    "pluGuid": "04c947af-8d54-46f4-9895-6452e3c54281",
    "storeID": 1,
    "packedOn": "2025-08-02T23:14:59.1288802",
    "packedOnUtc": "2025-08-02T23:14:59.1288802",
    "barcode": "sample string 4",
    "quantity": 5,
    "soldByWeight": true,
    "value": 7,
    "unitPrice": 8,
    "useBy": "2025-08-02T23:14:59.1288802",
    "scaleLocation": 9,
    "zoneID": 10,
    "operatorID": 1,
    "operatorG_UID": "JjniWXpJo0OvNJ98xH/aLQ==",
    "operatorGuid": "59e23926-497a-43a3-af34-9f7cc47fda2d",
    "machineID": 1,
    "sequenceNo": 1,
    "processed": 1,
    "prePack": true,
    "machineName": "sample string 12"
  },
  {
    "$ref": "1"
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductPrePack xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://gapsolutions.com.au/schema/ezimanager">
  <ProductPrePack>
    <Barcode>sample string 4</Barcode>
    <CustomerOrderNo>1</CustomerOrderNo>
    <ID>1</ID>
    <MachineID>1</MachineID>
    <MachineName>sample string 12</MachineName>
    <OperatorG_UID>JjniWXpJo0OvNJ98xH/aLQ==</OperatorG_UID>
    <OperatorGuid>59e23926-497a-43a3-af34-9f7cc47fda2d</OperatorGuid>
    <OperatorID>1</OperatorID>
    <PLU>1</PLU>
    <PLUG_UID>r0fJBFSN9EaYlWRS48VCgQ==</PLUG_UID>
    <PackedOn>2025-08-02T23:14:59.1288802+00:00</PackedOn>
    <PackedOnUtc>2025-08-02T23:14:59.1288802+00:00</PackedOnUtc>
    <PluGuid>04c947af-8d54-46f4-9895-6452e3c54281</PluGuid>
    <PrePack>true</PrePack>
    <Processed>1</Processed>
    <Quantity>5</Quantity>
    <ScaleLocation>9</ScaleLocation>
    <SequenceNo>1</SequenceNo>
    <SoldByWeight>true</SoldByWeight>
    <StoreID>1</StoreID>
    <UnitPrice>8</UnitPrice>
    <UseBy>2025-08-02T23:14:59.1288802+00:00</UseBy>
    <Value>7</Value>
    <ZoneID>10</ZoneID>
  </ProductPrePack>
  <ProductPrePack>
    <Barcode>sample string 4</Barcode>
    <CustomerOrderNo>1</CustomerOrderNo>
    <ID>1</ID>
    <MachineID>1</MachineID>
    <MachineName>sample string 12</MachineName>
    <OperatorG_UID>JjniWXpJo0OvNJ98xH/aLQ==</OperatorG_UID>
    <OperatorGuid>59e23926-497a-43a3-af34-9f7cc47fda2d</OperatorGuid>
    <OperatorID>1</OperatorID>
    <PLU>1</PLU>
    <PLUG_UID>r0fJBFSN9EaYlWRS48VCgQ==</PLUG_UID>
    <PackedOn>2025-08-02T23:14:59.1288802+00:00</PackedOn>
    <PackedOnUtc>2025-08-02T23:14:59.1288802+00:00</PackedOnUtc>
    <PluGuid>04c947af-8d54-46f4-9895-6452e3c54281</PluGuid>
    <PrePack>true</PrePack>
    <Processed>1</Processed>
    <Quantity>5</Quantity>
    <ScaleLocation>9</ScaleLocation>
    <SequenceNo>1</SequenceNo>
    <SoldByWeight>true</SoldByWeight>
    <StoreID>1</StoreID>
    <UnitPrice>8</UnitPrice>
    <UseBy>2025-08-02T23:14:59.1288802+00:00</UseBy>
    <Value>7</Value>
    <ZoneID>10</ZoneID>
  </ProductPrePack>
</ArrayOfProductPrePack>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.