POST api/MobileMasterData/GetProductToPalletTypes

Request Information

URI Parameters

None.

Body Parameters

MasterDataParameter
NameDescriptionTypeAdditional information
Timestamp

string

None.

ConcurTimeStamp

Collection of byte

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: Error getting value from 'ConcurTimeStamp' on 'FreshPackMultiProduce.WebApi.Models.MasterDataParameter'.

text/json

Sample:

An exception has occurred while using the formatter 'JsonMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: Error getting value from 'ConcurTimeStamp' on 'FreshPackMultiProduce.WebApi.Models.MasterDataParameter'.

application/xml, text/xml

Sample:
<MasterDataParameter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models">
  <Timestamp>sample string 1</Timestamp>
</MasterDataParameter>

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 'MasterDataParameter'.

Response Information

Resource Description

Collection of MobileProductToPalletTypeModel
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.

OldId

integer

None.

ConcurTimeStamp

Collection of byte

None.

RowVersion

Object

None.

RowVersionNumeric

integer

None.

DeletedDate

date

None.

ValidationErrors

Collection of string

None.

Response Formats

application/json, text/json

Sample:
[
  null,
  {
    "_ProductId": 1,
    "_PalletTypeId": 2,
    "_NettWeight": 3.0,
    "_UnitsPerPallet": 4.0,
    "_IsBin": true,
    "_GrossWeight": 6.0,
    "_PalletSpace": 7.0,
    "_DefaultPalletType": true,
    "_Id": 9,
    "_OldId": 10,
    "_ConcurTimeStamp": "QEA=",
    "_RowVersionNumeric": null,
    "_DeletedDate": "2099-12-31T00:00:00",
    "_ValidationErrors": []
  }
]

application/xml, text/xml

Sample:
<ArrayOfMobileProductToPalletTypeModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.BusinessObjects">
  <MobileProductToPalletTypeModel i:nil="true" />
  <MobileProductToPalletTypeModel>
    <_ConcurTimeStamp>QEA=</_ConcurTimeStamp>
    <_DeletedDate>2099-12-31T00:00:00</_DeletedDate>
    <_Id>9</_Id>
    <_OldId>10</_OldId>
    <_RowVersionNumeric i:nil="true" />
    <_ValidationErrors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" />
    <_DefaultPalletType>true</_DefaultPalletType>
    <_GrossWeight>6</_GrossWeight>
    <_IsBin>true</_IsBin>
    <_NettWeight>3</_NettWeight>
    <_PalletSpace>7</_PalletSpace>
    <_PalletTypeId>2</_PalletTypeId>
    <_ProductId>1</_ProductId>
    <_UnitsPerPallet>4</_UnitsPerPallet>
  </MobileProductToPalletTypeModel>
</ArrayOfMobileProductToPalletTypeModel>