POST api/Tax/Organization/{userOrganizationID}/{EmployeeSubTypeIDListString}/{OrganizationLevel1}/{OrganizationLevel2}/{Year}/{Month}/{Url}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userOrganizationID

string

Required

EmployeeSubTypeIDListString

string

Required

OrganizationLevel1

string

Required

OrganizationLevel2

string

Required

Year

string

None.

Month

integer

Default value is 0

Url

string

None.

Body Parameters

Collection of TaxByOrganization
NameDescriptionTypeAdditional information
NetID

integer

None.

MonthYear

string

None.

Year

string

None.

Month

integer

None.

EmployeeID

string

None.

PrenameTha

string

None.

FirstNameTha

string

None.

LastNameTha

string

None.

HRPositionNumber

string

None.

SSONumber

string

None.

RDNumber

string

None.

EmployeeOrganizationID

string

None.

EmployeeOrganizationName

string

None.

EmployeeOrganizationLevel1ID

string

None.

EmployeeOrganizationLevel1Name

string

None.

EmployeeOrganizationLevel2ID

string

None.

EmployeeOrganizationLevel2Name

string

None.

TaxCalInMonthRound

decimal number

None.

TaxCalInMonthString

string

None.

Tax

decimal number

None.

TaxString

string

None.

TaxMonth

decimal number

None.

TaxBackPay

decimal number

None.

TaxSegmentExpenseID

integer

None.

TaxSegmentExpenseName

string

None.

UserOrganizationID

string

None.

UserOrganizationName

string

None.

EditStatus

boolean

None.

TaxCalInMonthBackPay

decimal number

None.

TaxInMonthBackPayString

string

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "NetID": 1,
    "MonthYear": "sample string 2",
    "Year": "sample string 3",
    "Month": 4,
    "EmployeeID": "sample string 5",
    "PrenameTha": "sample string 6",
    "FirstNameTha": "sample string 7",
    "LastNameTha": "sample string 8",
    "HRPositionNumber": "sample string 9",
    "SSONumber": "sample string 10",
    "RDNumber": "sample string 11",
    "EmployeeOrganizationID": "sample string 12",
    "EmployeeOrganizationName": "sample string 13",
    "EmployeeOrganizationLevel1ID": "sample string 14",
    "EmployeeOrganizationLevel1Name": "sample string 15",
    "EmployeeOrganizationLevel2ID": "sample string 16",
    "EmployeeOrganizationLevel2Name": "sample string 17",
    "TaxCalInMonthRound": 1.0,
    "TaxCalInMonthString": "sample string 18",
    "Tax": 1.0,
    "TaxString": "sample string 19",
    "TaxMonth": 1.0,
    "TaxBackPay": 1.0,
    "TaxSegmentExpenseID": 1,
    "TaxSegmentExpenseName": "sample string 20",
    "UserOrganizationID": "sample string 21",
    "UserOrganizationName": "sample string 22",
    "EditStatus": true,
    "TaxCalInMonthBackPay": 1.0,
    "TaxInMonthBackPayString": "sample string 24"
  },
  {
    "NetID": 1,
    "MonthYear": "sample string 2",
    "Year": "sample string 3",
    "Month": 4,
    "EmployeeID": "sample string 5",
    "PrenameTha": "sample string 6",
    "FirstNameTha": "sample string 7",
    "LastNameTha": "sample string 8",
    "HRPositionNumber": "sample string 9",
    "SSONumber": "sample string 10",
    "RDNumber": "sample string 11",
    "EmployeeOrganizationID": "sample string 12",
    "EmployeeOrganizationName": "sample string 13",
    "EmployeeOrganizationLevel1ID": "sample string 14",
    "EmployeeOrganizationLevel1Name": "sample string 15",
    "EmployeeOrganizationLevel2ID": "sample string 16",
    "EmployeeOrganizationLevel2Name": "sample string 17",
    "TaxCalInMonthRound": 1.0,
    "TaxCalInMonthString": "sample string 18",
    "Tax": 1.0,
    "TaxString": "sample string 19",
    "TaxMonth": 1.0,
    "TaxBackPay": 1.0,
    "TaxSegmentExpenseID": 1,
    "TaxSegmentExpenseName": "sample string 20",
    "UserOrganizationID": "sample string 21",
    "UserOrganizationName": "sample string 22",
    "EditStatus": true,
    "TaxCalInMonthBackPay": 1.0,
    "TaxInMonthBackPayString": "sample string 24"
  }
]

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 'TaxByOrganization[]'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.