WebAPI - Record and Maintenance of Parts and Services

WebAPI - Record and Maintenance of Parts and Services

This method allows to manage the record and maintenance of parts and services. For the inventory (parts), besides recording the part, it is also possible to classify it in terms of inventory, by identifying: the default warehouse, the minimum and maximum stock quantities, the unitary cost, etc.

The method used is: POST /api/mytenant/myorganization/inventorycore/inventoryparts/extendinventoryparts.

Example (Json) for the record and maintenance of a part or service.
  1. {
      "partKey": "I-0001",
      "Description": "Oil",
      "ComplementaryDescription": null,
      "Keyword": "Oil",
      "Barcode": "ZKH268C77",
      "Family": "O",
      "Brand": "",
      "BrandModel": "",
      "PartType": 1,
      "BaseUnit": "LT",
      "Remarks": "",
      "PartSubType": "",
      "Warehouse": "W1",
      "MinStock": "100.000000",
      "MaxStock": "500.000000",
      "UnitCost": "8.500000"
    }
Description of the attributes available on the request:
  1. PartKey: Part/Service identifier (code). On the record, it depends on the applied sequence.
  2. Description: summary description of the Part/Service.
  3. ComplementaryDescription: additional Part/Service description.
  4. Keyword: Part/Service key term (applicable in searches).
  5. Barcode: Part/Service barcode.
  6. Family: Part/Service family identifier (code).
  7. Brand: Part/Service brand identifier (code).
  8. BrandModel: Part/Service model identifier (code).
  9. PartType: Part/Service typology identifier (code).
  10. Nome
    Valor
    1
    Item
    2
    Service
  11. BaseUnit: Part/Service base unit identifier (code).
  12. Remarks: other relevant Part/Service observations.
  13. PartSubType: Part/Service subtype identifier (code).
  14. Warehouse: Part warehouse (default) identifier (code).
  15. MinStock: Part minimum stock quantity.
  16. MaxStock: Part maximum stock quantity.
  17. UnitCost: Part unitary cost on the warehouse (classified by default).
When this method is executed successfully, it returns HttpStatusCode.OK.