POST api/XmhHr/LoadProtocol

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

oa_peo_protocol

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",
    "company_id": 1,
    "company_name": "sample string 5",
    "create_year": 1,
    "create_month": 1,
    "create_day": 1,
    "sign_file": "sample string 6",
    "select_time": "2024-11-25T17:36:21.4267965+08:00",
    "select_year": 1,
    "select_month": 1,
    "select_day": 1,
    "create_time": "2024-11-25T17:36:21.4277731+08:00",
    "is_delete": 1,
    "pic_name": "sample string 7",
    "file_path": "sample string 8",
    "doc_pic_name": "sample string 9",
    "sign_pic_name": "sample string 10",
    "seal_path": "sample string 11"
  },
  "errcode": 2,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<BaseModelResponseOfoa_peo_protocolHDKY1VSU 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 5</d2p1:company_name>
    <d2p1:create_day>1</d2p1:create_day>
    <d2p1:create_month>1</d2p1:create_month>
    <d2p1:create_time>2024-11-25T17:36:21.4277731+08:00</d2p1:create_time>
    <d2p1:create_year>1</d2p1:create_year>
    <d2p1:doc_pic_name>sample string 9</d2p1:doc_pic_name>
    <d2p1:file_path>sample string 8</d2p1:file_path>
    <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 7</d2p1:pic_name>
    <d2p1:seal_path>sample string 11</d2p1:seal_path>
    <d2p1:select_day>1</d2p1:select_day>
    <d2p1:select_month>1</d2p1:select_month>
    <d2p1:select_time>2024-11-25T17:36:21.4267965+08:00</d2p1:select_time>
    <d2p1:select_year>1</d2p1:select_year>
    <d2p1:sign_file>sample string 6</d2p1:sign_file>
    <d2p1:sign_pic_name>sample string 10</d2p1:sign_pic_name>
  </row>
</BaseModelResponseOfoa_peo_protocolHDKY1VSU>