POST api/XmhHr/LoadRegularContract

Request Information

URI Parameters

None.

Body Parameters

BaseModel
NameDescriptionTypeAdditional information
openId

string

None.

Request Formats

application/json, text/json

Sample:
{
  "openId": "sample string 1"
}

application/xml, text/xml

Sample:
<BaseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels">
  <openId>sample string 1</openId>
</BaseModel>

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

Response Information

Resource Description

BaseModelResponseOfoa_peo_regularcontract
NameDescriptionTypeAdditional information
row

oa_peo_regularcontract

None.

errcode

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

ErrCode

None.

message

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "row": {
    "id": 1,
    "openId": "sample string 2",
    "name": "sample string 3",
    "ID_number": "sample string 4",
    "dept_name": "sample string 5",
    "company_id": 1,
    "company_name": "sample string 6",
    "year": 1,
    "ht_year": 1,
    "ht_month": 1,
    "ht_day": 1,
    "sign_file": "sample string 7",
    "select_year": 1,
    "select_month": 1,
    "select_day": 1,
    "create_time": "2024-11-25T17:34:17.2500387+08:00",
    "is_delete": 1,
    "pic_name": "sample string 8",
    "file_path": "sample string 9",
    "doc_pic_name": "sample string 10",
    "sign_pic_name": "sample string 11"
  },
  "errcode": 2,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<BaseModelResponseOfoa_peo_regularcontractHDKY1VSU xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels">
  <errcode>Error</errcode>
  <message>sample string 1</message>
  <row xmlns:d2p1="http://schemas.datacontract.org/2004/07/Xinminghui.Entity">
    <d2p1:ID_number>sample string 4</d2p1:ID_number>
    <d2p1:company_id>1</d2p1:company_id>
    <d2p1:company_name>sample string 6</d2p1:company_name>
    <d2p1:create_time>2024-11-25T17:34:17.2500387+08:00</d2p1:create_time>
    <d2p1:dept_name>sample string 5</d2p1:dept_name>
    <d2p1:doc_pic_name>sample string 10</d2p1:doc_pic_name>
    <d2p1:file_path>sample string 9</d2p1:file_path>
    <d2p1:ht_day>1</d2p1:ht_day>
    <d2p1:ht_month>1</d2p1:ht_month>
    <d2p1:ht_year>1</d2p1:ht_year>
    <d2p1:id>1</d2p1:id>
    <d2p1:is_delete>1</d2p1:is_delete>
    <d2p1:name>sample string 3</d2p1:name>
    <d2p1:openId>sample string 2</d2p1:openId>
    <d2p1:pic_name>sample string 8</d2p1:pic_name>
    <d2p1:select_day>1</d2p1:select_day>
    <d2p1:select_month>1</d2p1:select_month>
    <d2p1:select_year>1</d2p1:select_year>
    <d2p1:sign_file>sample string 7</d2p1:sign_file>
    <d2p1:sign_pic_name>sample string 11</d2p1:sign_pic_name>
    <d2p1:year>1</d2p1:year>
  </row>
</BaseModelResponseOfoa_peo_regularcontractHDKY1VSU>