POST api/XmhHr/LoadContract

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

oa_peo_contract

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",
    "address": "sample string 5",
    "company_id": 1,
    "company_name": "sample string 6",
    "company_person": "sample string 7",
    "company_address": "sample string 8",
    "year": 1,
    "sy": 1,
    "sm": 1,
    "sd": 1,
    "ey": 1,
    "em": 1,
    "ed": 1,
    "sy_sy": 1,
    "sy_sm": 1,
    "sy_sd": 1,
    "sy_ey": 1,
    "sy_em": 1,
    "sy_ed": 1,
    "sy_m": 1,
    "sign_file": "sample string 9",
    "seal_path": "sample string 10",
    "select_year": 1,
    "select_month": 1,
    "select_day": 1,
    "create_time": "2024-11-25T17:32:53.2607809+08:00",
    "is_delete": 1,
    "pic_name": "sample string 11",
    "file_path": "sample string 12",
    "doc_pic_name": "sample string 13",
    "sign_pic_name": "sample string 14"
  },
  "errcode": 2,
  "message": "sample string 1"
}

application/xml, text/xml

Sample:
<BaseModelResponseOfoa_peo_contractHDKY1VSU 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:address>sample string 5</d2p1:address>
    <d2p1:company_address>sample string 8</d2p1:company_address>
    <d2p1:company_id>1</d2p1:company_id>
    <d2p1:company_name>sample string 6</d2p1:company_name>
    <d2p1:company_person>sample string 7</d2p1:company_person>
    <d2p1:create_time>2024-11-25T17:32:53.2607809+08:00</d2p1:create_time>
    <d2p1:doc_pic_name>sample string 13</d2p1:doc_pic_name>
    <d2p1:ed>1</d2p1:ed>
    <d2p1:em>1</d2p1:em>
    <d2p1:ey>1</d2p1:ey>
    <d2p1:file_path>sample string 12</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 11</d2p1:pic_name>
    <d2p1:sd>1</d2p1:sd>
    <d2p1:seal_path>sample string 10</d2p1:seal_path>
    <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 9</d2p1:sign_file>
    <d2p1:sign_pic_name>sample string 14</d2p1:sign_pic_name>
    <d2p1:sm>1</d2p1:sm>
    <d2p1:sy>1</d2p1:sy>
    <d2p1:sy_ed>1</d2p1:sy_ed>
    <d2p1:sy_em>1</d2p1:sy_em>
    <d2p1:sy_ey>1</d2p1:sy_ey>
    <d2p1:sy_m>1</d2p1:sy_m>
    <d2p1:sy_sd>1</d2p1:sy_sd>
    <d2p1:sy_sm>1</d2p1:sy_sm>
    <d2p1:sy_sy>1</d2p1:sy_sy>
    <d2p1:year>1</d2p1:year>
  </row>
</BaseModelResponseOfoa_peo_contractHDKY1VSU>