POST api/inventory/AddInventory

Request Information

URI Parameters

None.

Body Parameters

InventoryHeaderDetail
NameDescriptionTypeAdditional information
InventoryYear

integer

None.

InventoryNumber

integer

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>
  <WarehouseID>sample string 1</WarehouseID>
  <ConsignorID>sample string 2</ConsignorID>
  <SupplierID>sample string 3</SupplierID>
  <InventoryDate>2024-04-23T17:41:19.0862397+02:00</InventoryDate>
  <DataFromActualState>true</DataFromActualState>
  <AddListFromActualState>true</AddListFromActualState>
  <ItemIDFrom>sample string 4</ItemIDFrom>
  <ItemIDTo>sample string 5</ItemIDTo>
  <LedgerAccountIdFrom>sample string 6</LedgerAccountIdFrom>
  <LedgerAccountIdTo>sample string 7</LedgerAccountIdTo>
  <ItemGroupIDFrom>sample string 8</ItemGroupIDFrom>
  <ItemGroupIDTo>sample string 9</ItemGroupIDTo>
  <ItemClasificationFrom>sample string 10</ItemClasificationFrom>
  <ItemClasificationTo>sample string 11</ItemClasificationTo>
  <ItemDepartmentFrom>sample string 12</ItemDepartmentFrom>
  <ItemDepartmentTo>sample string 13</ItemDepartmentTo>
  <Note>sample string 14</Note>
  <Status>sample string 15</Status>
  <StatusDate>2024-04-23T17:41:19.0872365+02:00</StatusDate>
  <InsertedBy>sample string 16</InsertedBy>
  <InsertedTime>2024-04-23T17:41:19.0872365+02:00</InsertedTime>
  <ModifiedBy>sample string 17</ModifiedBy>
  <ModifiedTime>2024-04-23T17:41:19.0872365+02: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>