POST api/inventory/AddInventoryList

Request Information

URI Parameters

None.

Body Parameters

InventoryHeader
NameDescriptionTypeAdditional information
InventoryYear

integer

None.

InventoryNumber

integer

None.

ShopID

string

None.

InventoryDate

date

None.

ConsignorID

string

None.

WarehouseID

string

None.

Note

string

None.

Status

string

None.

StatusDate

date

None.

InsertedBy

string

None.

InsertedTime

date

None.

ModifiedBy

string

None.

ModifiedTime

date

None.

SupplierID

string

None.

DataFromActualState

boolean

None.

InventoryItems

Collection of InventoryItem

None.

InventoryListsHeaders

InventoryListsHeaders

None.

Request Formats

application/xml, text/xml

Sample:
<InventoryHeader xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <InventoryYear>1</InventoryYear>
  <InventoryNumber>1</InventoryNumber>
  <ShopID>sample string 1</ShopID>
  <InventoryDate>2024-11-23T04:06:26.6029627+01:00</InventoryDate>
  <ConsignorID>sample string 2</ConsignorID>
  <WarehouseID>sample string 3</WarehouseID>
  <Note>sample string 4</Note>
  <Status>sample string 5</Status>
  <StatusDate>2024-11-23T04:06:26.6029627+01:00</StatusDate>
  <InsertedBy>sample string 6</InsertedBy>
  <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
  <ModifiedBy>sample string 7</ModifiedBy>
  <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
  <SupplierID>sample string 8</SupplierID>
  <DataFromActualState>true</DataFromActualState>
  <InventoryItems>
    <InventoryItem>
      <ItemID>sample string 1</ItemID>
      <AccountingQuantity>1</AccountingQuantity>
      <AccountingAmount>1</AccountingAmount>
      <AccountingAmountPurchase>1</AccountingAmountPurchase>
      <ActualQuantity>1</ActualQuantity>
      <ActualAmount>1</ActualAmount>
      <ActualAmountPurchase>1</ActualAmountPurchase>
      <QuantityDifference>1</QuantityDifference>
      <AmountSurplus>1</AmountSurplus>
      <AmountSurplusPurchase>1</AmountSurplusPurchase>
      <AmountLoss>1</AmountLoss>
      <AmountLossPurchase>1</AmountLossPurchase>
      <PurchasePriceLast>1</PurchasePriceLast>
      <StockPriceLast>1</StockPriceLast>
      <InsertedBy>sample string 2</InsertedBy>
      <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
      <ModifiedBy>sample string 3</ModifiedBy>
      <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
      <InventoryListOfSeries>
        <InventorySeries>
          <ItemID>sample string 1</ItemID>
          <SeriesID>sample string 2</SeriesID>
          <AccountingQuantity>1</AccountingQuantity>
          <ActualQuantity>1</ActualQuantity>
          <ActualAmount>1</ActualAmount>
          <QuantityDifference>1</QuantityDifference>
          <InsertedBy>sample string 3</InsertedBy>
          <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
          <ModifiedBy>sample string 4</ModifiedBy>
          <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
        </InventorySeries>
        <InventorySeries>
          <ItemID>sample string 1</ItemID>
          <SeriesID>sample string 2</SeriesID>
          <AccountingQuantity>1</AccountingQuantity>
          <ActualQuantity>1</ActualQuantity>
          <ActualAmount>1</ActualAmount>
          <QuantityDifference>1</QuantityDifference>
          <InsertedBy>sample string 3</InsertedBy>
          <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
          <ModifiedBy>sample string 4</ModifiedBy>
          <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
        </InventorySeries>
      </InventoryListOfSeries>
    </InventoryItem>
    <InventoryItem>
      <ItemID>sample string 1</ItemID>
      <AccountingQuantity>1</AccountingQuantity>
      <AccountingAmount>1</AccountingAmount>
      <AccountingAmountPurchase>1</AccountingAmountPurchase>
      <ActualQuantity>1</ActualQuantity>
      <ActualAmount>1</ActualAmount>
      <ActualAmountPurchase>1</ActualAmountPurchase>
      <QuantityDifference>1</QuantityDifference>
      <AmountSurplus>1</AmountSurplus>
      <AmountSurplusPurchase>1</AmountSurplusPurchase>
      <AmountLoss>1</AmountLoss>
      <AmountLossPurchase>1</AmountLossPurchase>
      <PurchasePriceLast>1</PurchasePriceLast>
      <StockPriceLast>1</StockPriceLast>
      <InsertedBy>sample string 2</InsertedBy>
      <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
      <ModifiedBy>sample string 3</ModifiedBy>
      <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
      <InventoryListOfSeries>
        <InventorySeries>
          <ItemID>sample string 1</ItemID>
          <SeriesID>sample string 2</SeriesID>
          <AccountingQuantity>1</AccountingQuantity>
          <ActualQuantity>1</ActualQuantity>
          <ActualAmount>1</ActualAmount>
          <QuantityDifference>1</QuantityDifference>
          <InsertedBy>sample string 3</InsertedBy>
          <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
          <ModifiedBy>sample string 4</ModifiedBy>
          <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
        </InventorySeries>
        <InventorySeries>
          <ItemID>sample string 1</ItemID>
          <SeriesID>sample string 2</SeriesID>
          <AccountingQuantity>1</AccountingQuantity>
          <ActualQuantity>1</ActualQuantity>
          <ActualAmount>1</ActualAmount>
          <QuantityDifference>1</QuantityDifference>
          <InsertedBy>sample string 3</InsertedBy>
          <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
          <ModifiedBy>sample string 4</ModifiedBy>
          <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
        </InventorySeries>
      </InventoryListOfSeries>
    </InventoryItem>
  </InventoryItems>
  <InventoryListsHeaders>
    <InventoryListsHeader>
      <ListID>1</ListID>
      <ClerkID>sample string 2</ClerkID>
      <PostingDate>2024-11-23T04:06:26.6029627+01:00</PostingDate>
      <Note>sample string 3</Note>
      <Status>sample string 4</Status>
      <StatusDate>2024-11-23T04:06:26.6029627+01:00</StatusDate>
      <InsertedBy>sample string 5</InsertedBy>
      <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
      <ModifiedBy>sample string 6</ModifiedBy>
      <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
      <InventoryListsLines>
        <InventoryListsLine>
          <LineNumber>1</LineNumber>
          <ItemID>sample string 2</ItemID>
          <ItemIDType>sample string 3</ItemIDType>
          <Series>sample string 4</Series>
          <QuantityActual>1</QuantityActual>
          <Error>true</Error>
          <InsertedBy>sample string 6</InsertedBy>
          <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
          <ModifiedBy>sample string 7</ModifiedBy>
          <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
          <AlternateEAN>sample string 8</AlternateEAN>
          <AlternateUnitOfMeasurment>sample string 9</AlternateUnitOfMeasurment>
          <AlternateConvertFactor>1</AlternateConvertFactor>
          <AlternateQuantity>1</AlternateQuantity>
        </InventoryListsLine>
        <InventoryListsLine>
          <LineNumber>1</LineNumber>
          <ItemID>sample string 2</ItemID>
          <ItemIDType>sample string 3</ItemIDType>
          <Series>sample string 4</Series>
          <QuantityActual>1</QuantityActual>
          <Error>true</Error>
          <InsertedBy>sample string 6</InsertedBy>
          <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
          <ModifiedBy>sample string 7</ModifiedBy>
          <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
          <AlternateEAN>sample string 8</AlternateEAN>
          <AlternateUnitOfMeasurment>sample string 9</AlternateUnitOfMeasurment>
          <AlternateConvertFactor>1</AlternateConvertFactor>
          <AlternateQuantity>1</AlternateQuantity>
        </InventoryListsLine>
      </InventoryListsLines>
    </InventoryListsHeader>
    <InventoryListsHeader>
      <ListID>1</ListID>
      <ClerkID>sample string 2</ClerkID>
      <PostingDate>2024-11-23T04:06:26.6029627+01:00</PostingDate>
      <Note>sample string 3</Note>
      <Status>sample string 4</Status>
      <StatusDate>2024-11-23T04:06:26.6029627+01:00</StatusDate>
      <InsertedBy>sample string 5</InsertedBy>
      <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
      <ModifiedBy>sample string 6</ModifiedBy>
      <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
      <InventoryListsLines>
        <InventoryListsLine>
          <LineNumber>1</LineNumber>
          <ItemID>sample string 2</ItemID>
          <ItemIDType>sample string 3</ItemIDType>
          <Series>sample string 4</Series>
          <QuantityActual>1</QuantityActual>
          <Error>true</Error>
          <InsertedBy>sample string 6</InsertedBy>
          <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
          <ModifiedBy>sample string 7</ModifiedBy>
          <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
          <AlternateEAN>sample string 8</AlternateEAN>
          <AlternateUnitOfMeasurment>sample string 9</AlternateUnitOfMeasurment>
          <AlternateConvertFactor>1</AlternateConvertFactor>
          <AlternateQuantity>1</AlternateQuantity>
        </InventoryListsLine>
        <InventoryListsLine>
          <LineNumber>1</LineNumber>
          <ItemID>sample string 2</ItemID>
          <ItemIDType>sample string 3</ItemIDType>
          <Series>sample string 4</Series>
          <QuantityActual>1</QuantityActual>
          <Error>true</Error>
          <InsertedBy>sample string 6</InsertedBy>
          <InsertedTime>2024-11-23T04:06:26.6029627+01:00</InsertedTime>
          <ModifiedBy>sample string 7</ModifiedBy>
          <ModifiedTime>2024-11-23T04:06:26.6029627+01:00</ModifiedTime>
          <AlternateEAN>sample string 8</AlternateEAN>
          <AlternateUnitOfMeasurment>sample string 9</AlternateUnitOfMeasurment>
          <AlternateConvertFactor>1</AlternateConvertFactor>
          <AlternateQuantity>1</AlternateQuantity>
        </InventoryListsLine>
      </InventoryListsLines>
    </InventoryListsHeader>
  </InventoryListsHeaders>
</InventoryHeader>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

CreateResult
NameDescriptionTypeAdditional information
Keys

Collection of EntityKeyField

None.

ResultCode

ExternalResultCode

None.

Errors

Collection of Error

None.

Response Formats

application/xml, text/xml

Sample:
<CreateResult xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
  <Keys>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
    <Key>
      <Name>sample string 1</Name>
      <Value>sample string 2</Value>
    </Key>
  </Keys>
  <ResultCode>None</ResultCode>
  <Errors>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
    <Error>
      <Level>Warning</Level>
      <Message>sample string 1</Message>
    </Error>
  </Errors>
</CreateResult>