POST spsapi/SalaryBusiness/AddSalaryTerminalSettingBaseMoney

新增终端绩效统计-产品政策基数任务配置

Request Information

URI Parameters

None.

Body Parameters

AddSalaryTerminalSettingBaseMoneyRequest
NameDescriptionTypeAdditional information
emp_id

员工Id

integer

None.

base_money

基数任务

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "emp_id": 1,
  "base_money": 2.0
}

application/xml, text/xml

Sample:
<AddSalaryTerminalSettingBaseMoneyRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels">
  <base_money>2</base_money>
  <emp_id>1</emp_id>
</AddSalaryTerminalSettingBaseMoneyRequest>

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

Response Information

Resource Description

SalaryBaseResponse
NameDescriptionTypeAdditional information
errcode

错误编码 100:error 401:鉴权失败;200:成功;500:内部错误;

ErrCode

None.

message

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "errcode": 2,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<SalaryBaseResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels">
  <errcode>Error</errcode>
  <message>sample string 1</message>
</SalaryBaseResponse>