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
Firm Details

Firm Details

URL

fetch/firmdet

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 vX4dlLUYSKRu3hq7krb4rKJCoDPvCs81 Key obtained from authentiaction.
clientid String M CTPL

 

Response Values
Name Data Type Min Length Max Length M/O Sample Value Comments
tfirmdb Array M
firmname String M Firm Name Firm NAme
tfirmid Integer M 1 Firm ID
clientid String M CTPL Client ID
firmgstin String M GSTIN

 

Sample Request
{
    "key": "QH7LlQ3wQMK9oYEKjeG5QOIVJQT4emeq",
    "clientid": "CTPL"
}
Sample Success Response
{
    "tfirmdb": [
        {
            "firmname": "Firm Name",
            "tfirmid": "1",
            "clientid": "CTPL",
            "firmgstin": ""
        }
    ],
    "e": 200,
    "msg": "Success"
}