Codelayer API Documentation

  • Introduction

    • General Information
  • API Reference

    • Fetch

      • Account Group
      • Account Heads
      • Firm Details
      • Purchase
      • Sales Invoice
      • Stock Item
      • UOM
      • Vouchers
    • Purchase

      • Purchase Invoice
    • Sales

      • Invoice
      • StockItem
      • UOM
    • System

      • Authentication
    • Accounts

      • Account Group
      • Account Heads
      • Firm Details
      • Vouchers
    • Response Codes
Codelayer API Documentation
UOM

Unit Of Measurement

URL

fetch/uom

Method

POST

Request Media type

application/json

Response Media type

application/json

Request Parameters
Parameter Data Type Min Max M/O Sample Value Comments
key String 32 32 M BH9ki9KStBZLkCGSFQwhmnBesqxpn5tN Key obtained from authentiaction.
clientid String M CTPL Client ID

 

Response Values
Name Data Type Min Length Max Length M/O Sample Value Comments
tuom Array M List of Unit of Measurements
tuom String M Kgs Unit of Measurement
gstrepuom String M KGS-KILOGRAMS GST UOM
tfirmid Integer M 1 Tally Firm ID
clientid String M CTPL Client ID
uomid Integer M 1 UOM Id from Tally
uomdet String M Kilograms Description of UOM

 

Sample Request
{
    "key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
    "clientid": "CTPL"
}
Sample Success Response
{
    "tuom": [
        {
            "tuom": "Kgs",
            "gstrepuom": "KGS-KILOGRAMS",
            "tfirmid": "1",
            "clientid": "CTPL",
            "uomid": "1",
            "uomdet": "Kilograms"
        }
    ],
    "e": 200,
    "msg": "Success"
}