URL: api/inventories
HTTP metoda klica: PUT
Parametri glave klica (Request headers): FindApiKey, FindApiAuthenticationToken
HTTP koda rezultata: 200, 400, 401, 403
Format vhodnih podatkov: application/json

Vhodni podatki:

  • id (string); ID inventure, v primeru če tega podatka ni se kreira nova inventura,
  • description (string); naziv inventure,
  • date (string); datum inventure, 

Primer vhodnih podatkov:

{
  "id": "",
  "description": "Inventory TEST",
  "date": "2020-01-31T00:00:00Z"
}


Izhodni podatki:

Vsi podatki kreirane ali posodobljene Inventure.

  • id (string); id inventure,
  • description (string); naziv inventure,
  • date (string); datum inventure,
  • lock_date (string); datum zaklepa inventure,
  • is_active (bool); status inventure

Primer izhodnih podatkov:

{
  "row_count": 1,
  "total_count": 1,
  "data": [
    {
      "id": "a005dd33-b816-48a3-2ce4-08d7d0bcf793",
      "description": "Inventory TEST",
      "date": "2020-01-31T01:00:00+01:00",
      "lock_date": null,
      "is_active": false
    }
  ]
}

Ali ste našli svoj odgovor?