POST api/MobilePreprintedReceipt/GetPreprintedReceipts

Request Information

URI Parameters

None.

Body Parameters

MobileRequestModel
NameDescriptionTypeAdditional information
AppUserId

integer

None.

DeviceName

string

None.

Parameters

Collection of MobileRequestParameter

None.

ListParameters

Collection of MobileRequestListParameter

None.

Parameters

Object

None.

Request Formats

application/json, text/json

Sample:
{
  "_AppUserId": 1,
  "_DeviceName": "sample string 2",
  "_Parameters": [
    {
      "_Key": "sample string 1",
      "_Value": {}
    },
    {
      "_Key": "sample string 1",
      "_Value": {}
    }
  ],
  "_ListParameters": [
    {
      "_Key": "sample string 1",
      "_Value": [
        {},
        {}
      ]
    },
    {
      "_Key": "sample string 1",
      "_Value": [
        {},
        {}
      ]
    }
  ]
}

application/xml, text/xml

Sample:
<MobileRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.BusinessObjects">
  <_AppUserId>1</_AppUserId>
  <_DeviceName>sample string 2</_DeviceName>
  <_ListParameters>
    <MobileRequestListParameter>
      <_Key>sample string 1</_Key>
      <_Value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:anyType />
        <d4p1:anyType />
      </_Value>
    </MobileRequestListParameter>
    <MobileRequestListParameter>
      <_Key>sample string 1</_Key>
      <_Value xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:anyType />
        <d4p1:anyType />
      </_Value>
    </MobileRequestListParameter>
  </_ListParameters>
  <_Parameters>
    <MobileRequestParameter>
      <_Key>sample string 1</_Key>
      <_Value />
    </MobileRequestParameter>
    <MobileRequestParameter>
      <_Key>sample string 1</_Key>
      <_Value />
    </MobileRequestParameter>
  </_Parameters>
</MobileRequestModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'MobileRequestModel'.

Response Information

Resource Description

Collection of MobilePreprintedReceiptModel
NameDescriptionTypeAdditional information
ReceiptId

integer

None.

PreprintedReceiptCode

string

None.

SupplierId

integer

None.

Supplier

string

None.

DestinationFacilityId

integer

None.

DestinationFacility

string

None.

TransportCompanyId

integer

None.

TransportCompany

string

None.

RunTypeId

integer

None.

ExternalLoadNumber

string

None.

PalletQty

integer

None.

HarvestDate

date

None.

ReceiptedDate

date

None.

Online

boolean

None.

PickGangId

integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ReceiptId": 1,
    "PreprintedReceiptCode": "sample string 2",
    "SupplierId": 3,
    "Supplier": "sample string 4",
    "DestinationFacilityId": 5,
    "DestinationFacility": "sample string 6",
    "TransportCompanyId": 7,
    "TransportCompany": "sample string 8",
    "RunTypeId": 9,
    "ExternalLoadNumber": "sample string 10",
    "PalletQty": 11,
    "HarvestDate": "2025-12-06T14:35:10.6231124+10:30",
    "ReceiptedDate": "2025-12-06T14:35:10.6231124+10:30",
    "Online": true,
    "PickGangId": 15
  },
  {
    "ReceiptId": 1,
    "PreprintedReceiptCode": "sample string 2",
    "SupplierId": 3,
    "Supplier": "sample string 4",
    "DestinationFacilityId": 5,
    "DestinationFacility": "sample string 6",
    "TransportCompanyId": 7,
    "TransportCompany": "sample string 8",
    "RunTypeId": 9,
    "ExternalLoadNumber": "sample string 10",
    "PalletQty": 11,
    "HarvestDate": "2025-12-06T14:35:10.6231124+10:30",
    "ReceiptedDate": "2025-12-06T14:35:10.6231124+10:30",
    "Online": true,
    "PickGangId": 15
  }
]

application/xml, text/xml

Sample:
<ArrayOfMobilePreprintedReceiptModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.BusinessObjects">
  <MobilePreprintedReceiptModel>
    <DestinationFacility>sample string 6</DestinationFacility>
    <DestinationFacilityId>5</DestinationFacilityId>
    <ExternalLoadNumber>sample string 10</ExternalLoadNumber>
    <HarvestDate>2025-12-06T14:35:10.6231124+10:30</HarvestDate>
    <Online>true</Online>
    <PalletQty>11</PalletQty>
    <PickGangId>15</PickGangId>
    <PreprintedReceiptCode>sample string 2</PreprintedReceiptCode>
    <ReceiptId>1</ReceiptId>
    <ReceiptedDate>2025-12-06T14:35:10.6231124+10:30</ReceiptedDate>
    <RunTypeId>9</RunTypeId>
    <Supplier>sample string 4</Supplier>
    <SupplierId>3</SupplierId>
    <TransportCompany>sample string 8</TransportCompany>
    <TransportCompanyId>7</TransportCompanyId>
  </MobilePreprintedReceiptModel>
  <MobilePreprintedReceiptModel>
    <DestinationFacility>sample string 6</DestinationFacility>
    <DestinationFacilityId>5</DestinationFacilityId>
    <ExternalLoadNumber>sample string 10</ExternalLoadNumber>
    <HarvestDate>2025-12-06T14:35:10.6231124+10:30</HarvestDate>
    <Online>true</Online>
    <PalletQty>11</PalletQty>
    <PickGangId>15</PickGangId>
    <PreprintedReceiptCode>sample string 2</PreprintedReceiptCode>
    <ReceiptId>1</ReceiptId>
    <ReceiptedDate>2025-12-06T14:35:10.6231124+10:30</ReceiptedDate>
    <RunTypeId>9</RunTypeId>
    <Supplier>sample string 4</Supplier>
    <SupplierId>3</SupplierId>
    <TransportCompany>sample string 8</TransportCompany>
    <TransportCompanyId>7</TransportCompanyId>
  </MobilePreprintedReceiptModel>
</ArrayOfMobilePreprintedReceiptModel>