POST api/CompanySalary/CreateOrEdit

新增,修改 保存

Request Information

URI Parameters

None.

Body Parameters

DAL.t_company_salary
NameDescriptionTypeAdditional information
Id

integer

None.

CompanyId

integer

None.

LevelGrade

integer

None.

LevelName

string

None.

Remark

string

None.

BasicMoney

decimal number

None.

WorkMoney

decimal number

None.

PerformanceMoney

decimal number

None.

SecrecyMoney

decimal number

None.

LiveMoney

decimal number

None.

MobileMoney

decimal number

None.

TrafficMoney

decimal number

None.

WorkMonthMoney

decimal number

None.

WorkYearMoney

decimal number

None.

RefreshTime

date

None.

WorkTool

decimal number

None.

SalarySum

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "CompanyId": 2,
  "LevelGrade": 1,
  "LevelName": "sample string 3",
  "Remark": "sample string 4",
  "BasicMoney": 1.1,
  "WorkMoney": 1.1,
  "PerformanceMoney": 1.1,
  "SecrecyMoney": 1.1,
  "LiveMoney": 1.1,
  "MobileMoney": 1.1,
  "TrafficMoney": 1.1,
  "WorkMonthMoney": 1.1,
  "WorkYearMoney": 1.1,
  "RefreshTime": "2026-06-09T21:13:41.9285128+08:00",
  "WorkTool": 1.1,
  "SalarySum": 1.1
}

application/xml, text/xml

Sample:
<t_company_salary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAL">
  <BasicMoney>1.1</BasicMoney>
  <CompanyId>2</CompanyId>
  <Id>1</Id>
  <LevelGrade>1</LevelGrade>
  <LevelName>sample string 3</LevelName>
  <LiveMoney>1.1</LiveMoney>
  <MobileMoney>1.1</MobileMoney>
  <PerformanceMoney>1.1</PerformanceMoney>
  <RefreshTime>2026-06-09T21:13:41.9285128+08:00</RefreshTime>
  <Remark>sample string 4</Remark>
  <SalarySum>1.1</SalarySum>
  <SecrecyMoney>1.1</SecrecyMoney>
  <TrafficMoney>1.1</TrafficMoney>
  <WorkMoney>1.1</WorkMoney>
  <WorkMonthMoney>1.1</WorkMonthMoney>
  <WorkTool>1.1</WorkTool>
  <WorkYearMoney>1.1</WorkYearMoney>
</t_company_salary>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

System.Web.Http.Results.JsonResultOfDAL.HandleResult
NameDescriptionTypeAdditional information
Content

DAL.HandleResult

None.

SerializerSettings

Newtonsoft.Json.JsonSerializerSettings

None.

Encoding

System.Text.Encoding

None.

Request

System.Net.Http.HttpRequestMessage

None.

Response Formats

application/json, text/json

Sample:

Sample not available.