POST api/TaxCalculator/GetHeads

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
model
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "Year": "sample string 1",
  "Chapter": "sample string 2",
  "Topic": "sample string 3"
}

application/xml, text/xml

Sample:
<InwardSalaryhead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TB_TaxCalculator.Models">
  <Chapter>sample string 2</Chapter>
  <Topic>sample string 3</Topic>
  <Year>sample string 1</Year>
</InwardSalaryhead>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'InwardSalaryhead'.

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "message": "sample string 1",
  "Salary": {
    "SalarySubs": [
      {
        "Name_salary_sub": "sample string 1"
      },
      {
        "Name_salary_sub": "sample string 1"
      },
      {
        "Name_salary_sub": "sample string 1"
      }
    ],
    "Others": [
      {
        "Name_of_other": "sample string 1"
      },
      {
        "Name_of_other": "sample string 1"
      },
      {
        "Name_of_other": "sample string 1"
      }
    ],
    "perquisites": [
      {
        "Name_of_perquisites": "sample string 1"
      },
      {
        "Name_of_perquisites": "sample string 1"
      },
      {
        "Name_of_perquisites": "sample string 1"
      }
    ],
    "lieu": [
      {
        "Name_of_lieu": "sample string 1"
      },
      {
        "Name_of_lieu": "sample string 1"
      },
      {
        "Name_of_lieu": "sample string 1"
      }
    ]
  }
}

application/xml, text/xml

Sample:
<OutwardHead xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ServiceLibrary">
  <Salary>
    <Others>
      <Other>
        <Name_of_other>sample string 1</Name_of_other>
      </Other>
      <Other>
        <Name_of_other>sample string 1</Name_of_other>
      </Other>
      <Other>
        <Name_of_other>sample string 1</Name_of_other>
      </Other>
    </Others>
    <SalarySubs>
      <SalarySub>
        <Name_salary_sub>sample string 1</Name_salary_sub>
      </SalarySub>
      <SalarySub>
        <Name_salary_sub>sample string 1</Name_salary_sub>
      </SalarySub>
      <SalarySub>
        <Name_salary_sub>sample string 1</Name_salary_sub>
      </SalarySub>
    </SalarySubs>
    <lieu>
      <lieu>
        <Name_of_lieu>sample string 1</Name_of_lieu>
      </lieu>
      <lieu>
        <Name_of_lieu>sample string 1</Name_of_lieu>
      </lieu>
      <lieu>
        <Name_of_lieu>sample string 1</Name_of_lieu>
      </lieu>
    </lieu>
    <perquisites>
      <perquisites>
        <Name_of_perquisites>sample string 1</Name_of_perquisites>
      </perquisites>
      <perquisites>
        <Name_of_perquisites>sample string 1</Name_of_perquisites>
      </perquisites>
      <perquisites>
        <Name_of_perquisites>sample string 1</Name_of_perquisites>
      </perquisites>
    </perquisites>
  </Salary>
  <message>sample string 1</message>
</OutwardHead>