POST api/Inventory/Finalize

Request a specific inventory basis to be finalized.

Request Information

URI Parameters

None.

Body Parameters

These are all the parameters needed for finalizing the inventory basis.

FinalizeInventoryBasisRequest
NameDescriptionTypeAdditional information
InventoryBasisId

The id of the requested inventory basis to finalize.

globally unique identifier

Required

SetRemainingArticlesToZero

Set the not inventoried articles in the specific inventory basis to be have zero quantity.
If true articles will be set to zero in quantity.

boolean

Required

InventorySignee

The user who is finalizing the inventory basis.

string

Required

Max length: 50

Remarks

None.

Example

None.

Request Formats

application/json, text/json

Sample:
{
  "InventoryBasisId": "44f68cc9-5429-4aed-b63a-28f26dbbf508",
  "SetRemainingArticlesToZero": true,
  "InventorySignee": "sample string 3"
}

application/xml, text/xml

Sample:
<FinalizeInventoryBasisRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Compilator.DDAPI.DTO.Stock">
  <InventoryBasisId>44f68cc9-5429-4aed-b63a-28f26dbbf508</InventoryBasisId>
  <InventorySignee>sample string 3</InventorySignee>
  <SetRemainingArticlesToZero>true</SetRemainingArticlesToZero>
</FinalizeInventoryBasisRequest>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.