POST api/TaxSimmulate

Request Information

URI Parameters

None.

Body Parameters

TaxSimmulateParam
NameDescriptionTypeAdditional information
EmployeeID

string

None.

Year

string

None.

CalName

string

None.

incomes

Collection of TSimIncomeParam

None.

modulations

Collection of TaxModulationParam

None.

paid

TaxPaidParam

None.

SysCreateUserID

string

None.

SysCreateIP

string

None.

Request Formats

application/json, text/json

Sample:
{
  "EmployeeID": "sample string 1",
  "Year": "sample string 2",
  "CalName": "sample string 3",
  "incomes": [
    {
      "TaxSimIncomeTypeID": 1,
      "IncomeValue": 2.0,
      "CostPayTypeID": 3,
      "CostValue": 4.0
    },
    {
      "TaxSimIncomeTypeID": 1,
      "IncomeValue": 2.0,
      "CostPayTypeID": 3,
      "CostValue": 4.0
    }
  ],
  "modulations": [
    {
      "ModulationTypeID": 1,
      "MoneyValue": 2.0,
      "ChildCountAll": 3,
      "PersonCount": 4,
      "EmpFather": "sample string 5",
      "EmpMother": "sample string 6",
      "MaritalFather": "sample string 7",
      "MaritalMother": "sample string 8",
      "NameText": "sample string 9"
    },
    {
      "ModulationTypeID": 1,
      "MoneyValue": 2.0,
      "ChildCountAll": 3,
      "PersonCount": 4,
      "EmpFather": "sample string 5",
      "EmpMother": "sample string 6",
      "MaritalFather": "sample string 7",
      "MaritalMother": "sample string 8",
      "NameText": "sample string 9"
    }
  ],
  "paid": {
    "TaxYearPaid": 1.0,
    "TaxMidYearPaid": 2.0,
    "TaxPrePaid": 3.0,
    "TaxCreditPaid": 4.0
  },
  "SysCreateUserID": "sample string 4",
  "SysCreateIP": "sample string 5"
}

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 'TaxSimmulateParam'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.