PATCH omsapi/PayStubFile/PayStub

修改工资条(单个)

Request Information

URI Parameters

None.

Body Parameters

d=[FID=[工资条文件ID,guid],PID=[职工工资条ID,guid],StaffID=[职工ID,long],FieldID=[字段ID,string,基础字段则填字段变量名],FieldValue=[字段值,string]]

UploadParameters
NameDescriptionTypeAdditional information
u

用户ID StaffID

integer

None.

t

全局数据(加密) 1.单点登陆格式:[[用户密码,加密]|[requestTime]|[设备标识],加密] 2.其他数据通讯格式:[[用户ID]|[用户密码,加密]|[requestTime]|[设备标识],加密]

string

Required

d

数据参数 加密(单点登陆除外) 不同API,参数格式不同

string

None.

Request Formats

application/json, text/json

Sample:
{
  "u": 1,
  "t": "sample string 2",
  "d": "sample string 3"
}

application/x-www-form-urlencoded

Sample:
u=Value&t=Value&d=Value

Response Information

Resource Description

修改工资条(单个)

ApiResult
NameDescriptionTypeAdditional information
Code

Http状态码

HttpStatusCode

None.

State

自定义状态

StateValue

None.

StateCode

自定义状态码

integer

None.

Message

说明

string

None.

ErrorInfo

错误信息

string

None.

Content

返回数据

Object

None.

Response Formats

application/json, text/json

Sample:

Sample not available.