GET v1/Company

Get company detail (first company for current login user)

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

ApiResponseOfAppCompanyMaster
NameDescriptionTypeAdditional information
Result

AppCompanyMaster

None.

Status

boolean

None.

Message

string

None.

Errors

Errors occures while processing request

Collection of ApiError

None.

Response Formats

application/json, text/json

Sample:
{
  "Result": {
    "Id": 1.0,
    "Name": "sample string 2",
    "CompanyType": "sample string 3",
    "IsVATEnabled": true,
    "VATCodes": [
      {
        "Id": 1.0,
        "Name": "sample string 2",
        "Rate": 3.0
      },
      {
        "Id": 1.0,
        "Name": "sample string 2",
        "Rate": 3.0
      }
    ],
    "Submissions": {
      "PAYE": {
        "ForPeriod": 1.0,
        "TaxAmount": 1.0,
        "IsNewReturn": true,
        "IsPaid": true,
        "PaymentDate": "2025-04-19",
        "Id": 2.0,
        "PeriodFrom": "2025-04-19",
        "PeriodTo": "2025-04-19",
        "Status": 1,
        "SubmitDate": "2025-04-19"
      },
      "VAT": {
        "TaxAmount": 1.0,
        "IsNewReturn": true,
        "IsPaid": true,
        "PaymentDate": "2025-04-19",
        "Id": 1.0,
        "PeriodFrom": "2025-04-19",
        "PeriodTo": "2025-04-19",
        "Status": 1,
        "SubmitDate": "2025-04-19"
      },
      "CT": {
        "TaxAmount": 1.0,
        "IsNewReturn": true,
        "IsPaid": true,
        "PaymentDate": "2025-04-19",
        "Id": 1.0,
        "PeriodFrom": "2025-04-19",
        "PeriodTo": "2025-04-19",
        "Status": 1,
        "SubmitDate": "2025-04-19"
      },
      "AP": {
        "Id": 1.0,
        "PeriodFrom": "2025-04-19",
        "PeriodTo": "2025-04-19",
        "Status": 1,
        "SubmitDate": "2025-04-19"
      },
      "SA": {
        "TaxAmount": 1.0,
        "IsNewReturn": true,
        "IsPaid": true,
        "PaymentDate": "2025-04-19",
        "Id": 1.0,
        "PeriodFrom": "2025-04-19",
        "PeriodTo": "2025-04-19",
        "Status": 1,
        "SubmitDate": "2025-04-19"
      }
    },
    "Accounts": {
      "Income": [
        {
          "Id": 1.0,
          "Name": "sample string 2",
          "TypeName": "sample string 3"
        },
        {
          "Id": 1.0,
          "Name": "sample string 2",
          "TypeName": "sample string 3"
        }
      ],
      "Expenses": [
        {
          "Id": 1.0,
          "Name": "sample string 2",
          "TypeName": "sample string 3"
        },
        {
          "Id": 1.0,
          "Name": "sample string 2",
          "TypeName": "sample string 3"
        }
      ],
      "CashBank": [
        {
          "Id": 1.0,
          "Name": "sample string 2",
          "TypeName": "sample string 3"
        },
        {
          "Id": 1.0,
          "Name": "sample string 2",
          "TypeName": "sample string 3"
        }
      ]
    },
    "StartDate": "2025-04-19",
    "EndDate": "2025-04-19"
  },
  "Status": true,
  "Message": "sample string 2",
  "Errors": [
    {
      "Number": 1,
      "Message": "sample string 2",
      "Exception": {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      }
    },
    {
      "Number": 1,
      "Message": "sample string 2",
      "Exception": {
        "ClassName": "System.Exception",
        "Message": null,
        "Data": null,
        "InnerException": null,
        "HelpURL": "sample string 1",
        "StackTraceString": null,
        "RemoteStackTraceString": null,
        "RemoteStackIndex": 0,
        "ExceptionMethod": null,
        "HResult": 3,
        "Source": "sample string 2",
        "WatsonBuckets": null
      }
    }
  ]
}