POST api/masterdata/PrintingStation

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 PrintingStation
NameDescriptionTypeAdditional information
OldId

integer

None.

RowVersionNumeric

integer

None.

RowVersion

Collection of byte

None.

ValidationErrors

Collection of string

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:
[
  null,
  {
    "OldId": 1,
    "RowVersionNumeric": 1,
    "ValidationErrors": [],
    "Id": 0,
    "Code": null,
    "Description": null,
    "DeletedDate": "0001-01-01T00:00:00",
    "ConcurTimeStamp": "QEA="
  }
]

application/xml, text/xml

Sample:
<ArrayOfPrintingStation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MasterDataModels">
  <PrintingStation i:nil="true" />
  <PrintingStation>
    <_x003C_Code_x003E_k__BackingField i:nil="true" />
    <_x003C_ConcurTimeStamp_x003E_k__BackingField>QEA=</_x003C_ConcurTimeStamp_x003E_k__BackingField>
    <_x003C_DeletedDate_x003E_k__BackingField>0001-01-01T00:00:00</_x003C_DeletedDate_x003E_k__BackingField>
    <_x003C_Description_x003E_k__BackingField i:nil="true" />
    <_x003C_Id_x003E_k__BackingField>0</_x003C_Id_x003E_k__BackingField>
    <OldId xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MobileModels">1</OldId>
    <RowVersionNumeric xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MobileModels">1</RowVersionNumeric>
    <ValidationErrors xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/FreshPackMultiProduce.WebApi.Models.MobileModels" />
  </PrintingStation>
</ArrayOfPrintingStation>