POST api/masterdata/ProductToPalletType

Request Information

URI Parameters

None.

Body Parameters

Collection of byte

Request Formats

application/json, text/json

Sample:
"QEA="

application/xml, text/xml

Sample:
<base64Binary xmlns="http://schemas.microsoft.com/2003/10/Serialization/">QEA=</base64Binary>

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 'Byte[]'.

Response Information

Resource Description

Collection of ProductToPalletTypeModel
NameDescriptionTypeAdditional information
ProductId

integer

None.

PalletTypeId

integer

None.

NettWeight

decimal number

None.

UnitsPerPallet

decimal number

None.

IsBin

boolean

None.

GrossWeight

decimal number

None.

PalletSpace

decimal number

None.

DefaultPalletType

boolean

None.

Id

integer

None.

Code

string

None.

Description

string

None.

DeletedDate

date

None.

ConcurTimeStamp

Collection of byte

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ProductId": 1,
    "PalletTypeId": 2,
    "NettWeight": 3.0,
    "UnitsPerPallet": 4.0,
    "IsBin": true,
    "GrossWeight": 6.0,
    "PalletSpace": 7.0,
    "DefaultPalletType": true,
    "Id": 9,
    "Code": "sample string 10",
    "Description": "sample string 11",
    "DeletedDate": "2025-12-06T14:34:17.4477062+10:30",
    "ConcurTimeStamp": "QEA="
  },
  {
    "ProductId": 1,
    "PalletTypeId": 2,
    "NettWeight": 3.0,
    "UnitsPerPallet": 4.0,
    "IsBin": true,
    "GrossWeight": 6.0,
    "PalletSpace": 7.0,
    "DefaultPalletType": true,
    "Id": 9,
    "Code": "sample string 10",
    "Description": "sample string 11",
    "DeletedDate": "2025-12-06T14:34:17.4477062+10:30",
    "ConcurTimeStamp": "QEA="
  }
]

application/xml, text/xml

Sample:
<ArrayOfProductToPalletTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MasterDataModels">
  <ProductToPalletTypeModel>
    <_x003C_Code_x003E_k__BackingField>sample string 10</_x003C_Code_x003E_k__BackingField>
    <_x003C_ConcurTimeStamp_x003E_k__BackingField>QEA=</_x003C_ConcurTimeStamp_x003E_k__BackingField>
    <_x003C_DeletedDate_x003E_k__BackingField>2025-12-06T14:34:17.4477062+10:30</_x003C_DeletedDate_x003E_k__BackingField>
    <_x003C_Description_x003E_k__BackingField>sample string 11</_x003C_Description_x003E_k__BackingField>
    <_x003C_Id_x003E_k__BackingField>9</_x003C_Id_x003E_k__BackingField>
    <DefaultPalletType>true</DefaultPalletType>
    <GrossWeight>6</GrossWeight>
    <IsBin>true</IsBin>
    <NettWeight>3</NettWeight>
    <PalletSpace>7</PalletSpace>
    <PalletTypeId>2</PalletTypeId>
    <ProductId>1</ProductId>
    <UnitsPerPallet>4</UnitsPerPallet>
  </ProductToPalletTypeModel>
  <ProductToPalletTypeModel>
    <_x003C_Code_x003E_k__BackingField>sample string 10</_x003C_Code_x003E_k__BackingField>
    <_x003C_ConcurTimeStamp_x003E_k__BackingField>QEA=</_x003C_ConcurTimeStamp_x003E_k__BackingField>
    <_x003C_DeletedDate_x003E_k__BackingField>2025-12-06T14:34:17.4477062+10:30</_x003C_DeletedDate_x003E_k__BackingField>
    <_x003C_Description_x003E_k__BackingField>sample string 11</_x003C_Description_x003E_k__BackingField>
    <_x003C_Id_x003E_k__BackingField>9</_x003C_Id_x003E_k__BackingField>
    <DefaultPalletType>true</DefaultPalletType>
    <GrossWeight>6</GrossWeight>
    <IsBin>true</IsBin>
    <NettWeight>3</NettWeight>
    <PalletSpace>7</PalletSpace>
    <PalletTypeId>2</PalletTypeId>
    <ProductId>1</ProductId>
    <UnitsPerPallet>4</UnitsPerPallet>
  </ProductToPalletTypeModel>
</ArrayOfProductToPalletTypeModel>