POST api/XmhHr/LoadCertificate

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_certificate
NameDescriptionTypeAdditional information
row

oa_peo_certificate

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",
    "phone": "sample string 5",
    "company_id": 1,
    "company_name": "sample string 6",
    "leave_year": 1,
    "leave_month": 1,
    "leave_day": 1,
    "create_year": 1,
    "create_month": 1,
    "create_day": 1,
    "reason": "sample string 7",
    "sign_file": "sample string 8",
    "select_time": "2024-11-25T17:22:58.7519918+08:00",
    "select_year": 1,
    "select_month": 1,
    "select_day": 1,
    "create_time": "2024-11-25T17:22:58.7529684+08:00",
    "is_delete": 1,
    "pic_name": "sample string 9",
    "file_path": "sample string 10",
    "doc_pic_name": "sample string 11",
    "sign_pic_name": "sample string 12"
  },
  "errcode": 2,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<BaseModelResponseOfoa_peo_certificateHDKY1VSU 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_day>1</d2p1:create_day>
    <d2p1:create_month>1</d2p1:create_month>
    <d2p1:create_time>2024-11-25T17:22:58.7529684+08:00</d2p1:create_time>
    <d2p1:create_year>1</d2p1:create_year>
    <d2p1:doc_pic_name>sample string 11</d2p1:doc_pic_name>
    <d2p1:file_path>sample string 10</d2p1:file_path>
    <d2p1:id>1</d2p1:id>
    <d2p1:is_delete>1</d2p1:is_delete>
    <d2p1:leave_day>1</d2p1:leave_day>
    <d2p1:leave_month>1</d2p1:leave_month>
    <d2p1:leave_year>1</d2p1:leave_year>
    <d2p1:name>sample string 3</d2p1:name>
    <d2p1:openId>sample string 2</d2p1:openId>
    <d2p1:phone>sample string 5</d2p1:phone>
    <d2p1:pic_name>sample string 9</d2p1:pic_name>
    <d2p1:reason>sample string 7</d2p1:reason>
    <d2p1:select_day>1</d2p1:select_day>
    <d2p1:select_month>1</d2p1:select_month>
    <d2p1:select_time>2024-11-25T17:22:58.7519918+08:00</d2p1:select_time>
    <d2p1:select_year>1</d2p1:select_year>
    <d2p1:sign_file>sample string 8</d2p1:sign_file>
    <d2p1:sign_pic_name>sample string 12</d2p1:sign_pic_name>
  </row>
</BaseModelResponseOfoa_peo_certificateHDKY1VSU>