Skip to content

Send Inventory Movements

Endpoints

https://app.passelimerit.fi/api/v1/sendinvmovement

Query Payload

json
{     
  "DocDate":"20200831",     
  "DocNo":"LL-4",     
  "Location1Code":"1",     
  "Location2Code":"2",
  "DepartmentCode":"Netti",     
  "Type":3,     
  "Rows": [     
    {       
      "ArticleCode":"lamp",
      "UOMName": "tk",
      "ItemUnitCost": 1.50,       
      "Quantity": 10     
    },     
    {       
    "ArticleCode":"pirn60w",
    "UOMName": "tk",
    "ItemUnitCost": 2.00,       
    "Quantity": 10     
    }    
  ] 
}
Click to see the query parameters
FieldTypeCommentRequired
DocDateDate
DocNoStr 35
Location1CodeStr 20Stock code
Location2CodeStr 20Destination Stock code for Type 3
DepartmentCodeStr 20if used then must be found in the database
Typeint1 - in,
2 - out,
3 - between Stocks
RowsArray of Row objects

Rows Object

FieldTypeCommentRequired
ArticleCodeStr 20Must be found in the database
UOMNameStr 64
ItemUnitCostDecimal 18.3Required for Type 1
QuantityDecimal 18.2

Successful Result

json