POST spsapi/SalarySale/UpdateTripartiteRunRatio

编辑三方运营岗位比例

Request Information

URI Parameters

None.

Body Parameters

UpdateSalarySaleRunRatioRequest
NameDescriptionTypeAdditional information
id

主键

integer

None.

key

修改项(emp_id,run_ratio_type,post_name,commission_ratio)

string

None.

value

修改值

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "key": "sample string 2",
  "value": "sample string 3"
}

application/xml, text/xml

Sample:
<UpdateSalarySaleRunRatioRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.SalaryModels">
  <id>1</id>
  <key>sample string 2</key>
  <value>sample string 3</value>
</UpdateSalarySaleRunRatioRequest>

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

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>