POST api/inventory/AddInventory

Request Information

URI Parameters

None.

Body Parameters

InventoryHeaderDetail
NameDescriptionTypeAdditional information
InventoryYear

integer

None.

InventoryNumber

integer

None.

ShopID

string

None.

WarehouseID

string

None.

ConsignorID

string

None.

SupplierID

string

None.

InventoryDate

date

None.

DataFromActualState

boolean

None.

AddListFromActualState

boolean

None.

ItemIDFrom

string

None.

ItemIDTo

string

None.

LedgerAccountIdFrom

string

None.

LedgerAccountIdTo

string

None.

ItemGroupIDFrom

string

None.

ItemGroupIDTo

string

None.

ItemClasificationFrom

string

None.

ItemClasificationTo

string

None.

ItemDepartmentFrom

string

None.

ItemDepartmentTo

string

None.

Note

string

None.

Status

string

None.

StatusDate

date

None.

InsertedBy

string

None.

InsertedTime

date

None.

ModifiedBy

string

None.

ModifiedTime

date

None.

Request Formats

application/xml, text/xml

Sample:
<InventoryHeaderDetail 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>
  <WarehouseID>sample string 2</WarehouseID>
  <ConsignorID>sample string 3</ConsignorID>
  <SupplierID>sample string 4</SupplierID>
  <InventoryDate>2024-11-21T15:04:59.8802288+01:00</InventoryDate>
  <DataFromActualState>true</DataFromActualState>
  <AddListFromActualState>true</AddListFromActualState>
  <ItemIDFrom>sample string 5</ItemIDFrom>
  <ItemIDTo>sample string 6</ItemIDTo>
  <LedgerAccountIdFrom>sample string 7</LedgerAccountIdFrom>
  <LedgerAccountIdTo>sample string 8</LedgerAccountIdTo>
  <ItemGroupIDFrom>sample string 9</ItemGroupIDFrom>
  <ItemGroupIDTo>sample string 10</ItemGroupIDTo>
  <ItemClasificationFrom>sample string 11</ItemClasificationFrom>
  <ItemClasificationTo>sample string 12</ItemClasificationTo>
  <ItemDepartmentFrom>sample string 13</ItemDepartmentFrom>
  <ItemDepartmentTo>sample string 14</ItemDepartmentTo>
  <Note>sample string 15</Note>
  <Status>sample string 16</Status>
  <StatusDate>2024-11-21T15:04:59.8802288+01:00</StatusDate>
  <InsertedBy>sample string 17</InsertedBy>
  <InsertedTime>2024-11-21T15:04:59.8802288+01:00</InsertedTime>
  <ModifiedBy>sample string 18</ModifiedBy>
  <ModifiedTime>2024-11-21T15:04:59.8802288+01:00</ModifiedTime>
</InventoryHeaderDetail>

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>