POST api/CaseCartConsumableStorage?token={token}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
token

string

Required

Body Parameters

MDLCaseCartMoveConsumable
NameDescriptionTypeAdditional information
SourceStorageLayer4ConsumablesId

integer

None.

DestinationStorageLayer4Id

integer

None.

ConsumableId

integer

None.

Amount

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SourceStorageLayer4ConsumablesId": 1,
  "DestinationStorageLayer4Id": 2,
  "ConsumableId": 3,
  "Amount": 4
}

application/xml, text/xml

Sample:
<MDLCaseCartMoveConsumable xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Asanus.BarCon.Middleware.Shared">
  <Amount>4</Amount>
  <ConsumableId>3</ConsumableId>
  <DestinationStorageLayer4Id>2</DestinationStorageLayer4Id>
  <SourceStorageLayer4ConsumablesId>1</SourceStorageLayer4ConsumablesId>
</MDLCaseCartMoveConsumable>

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>