PUT api/BCPackagingContainerTub/Update?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

MDLBCPackagingContainerTub
NameDescriptionTypeAdditional information
ID

integer

None.

Name

string

None.

AllocationType

integer

None.

AllocationTypeString

string

None.

Barcode

string

None.

Description

string

None.

MaintenanceInterval

integer

None.

HouseID

integer

None.

HouseName

string

None.

CostCenterID

integer

None.

CosteCenterIdentifier

string

None.

CostCenterName

string

None.

SetID

integer

None.

SetName

string

None.

SetNumber

string

None.

SetBarcode

string

None.

MaintenanceCycleCounter

integer

None.

TotalCycleCounter

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "Name": "sample string 2",
  "AllocationType": 3,
  "AllocationTypeString": "sample string 4",
  "Barcode": "sample string 5",
  "Description": "sample string 6",
  "MaintenanceInterval": 7,
  "HouseID": 8,
  "HouseName": "sample string 9",
  "CostCenterID": 10,
  "CosteCenterIdentifier": "sample string 11",
  "CostCenterName": "sample string 12",
  "SetID": 13,
  "SetName": "sample string 14",
  "SetNumber": "sample string 15",
  "SetBarcode": "sample string 16",
  "MaintenanceCycleCounter": 17,
  "TotalCycleCounter": 18
}

application/xml, text/xml

Sample:
<MDLBCPackagingContainerTub xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared">
  <AllocationType>3</AllocationType>
  <AllocationTypeString>sample string 4</AllocationTypeString>
  <Barcode>sample string 5</Barcode>
  <CostCenterID>10</CostCenterID>
  <CostCenterName>sample string 12</CostCenterName>
  <CosteCenterIdentifier>sample string 11</CosteCenterIdentifier>
  <Description>sample string 6</Description>
  <HouseID>8</HouseID>
  <HouseName>sample string 9</HouseName>
  <ID>1</ID>
  <MaintenanceCycleCounter>17</MaintenanceCycleCounter>
  <MaintenanceInterval>7</MaintenanceInterval>
  <Name>sample string 2</Name>
  <SetBarcode>sample string 16</SetBarcode>
  <SetID>13</SetID>
  <SetName>sample string 14</SetName>
  <SetNumber>sample string 15</SetNumber>
  <TotalCycleCounter>18</TotalCycleCounter>
</MDLBCPackagingContainerTub>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

MDLDefaultResponse
NameDescriptionTypeAdditional information
Successfull

boolean

None.

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Successfull": true,
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<MDLDefaultResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared">
  <Message>sample string 2</Message>
  <Successfull>true</Successfull>
</MDLDefaultResponse>