POST api/XmhHr/SaveContract

Request Information

URI Parameters

None.

Body Parameters

oa_peo_contract
NameDescriptionTypeAdditional information
id

integer

None.

openId

string

None.

name

string

None.

ID_number

string

None.

address

string

None.

company_id

integer

None.

company_name

string

None.

company_person

string

None.

company_address

string

None.

year

integer

None.

sy

integer

None.

sm

integer

None.

sd

integer

None.

ey

integer

None.

em

integer

None.

ed

integer

None.

sy_sy

integer

None.

sy_sm

integer

None.

sy_sd

integer

None.

sy_ey

integer

None.

sy_em

integer

None.

sy_ed

integer

None.

sy_m

integer

None.

sign_file

string

None.

seal_path

string

None.

select_year

integer

None.

select_month

integer

None.

select_day

integer

None.

create_time

date

None.

is_delete

integer

None.

pic_name

string

None.

file_path

string

None.

doc_pic_name

string

None.

sign_pic_name

string

None.

Request Formats

application/json, text/json

Sample:
{
  "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:36:12.2090231+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"
}

application/xml, text/xml

Sample:
<oa_peo_contract xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xinminghui.Entity">
  <ID_number>sample string 4</ID_number>
  <address>sample string 5</address>
  <company_address>sample string 8</company_address>
  <company_id>1</company_id>
  <company_name>sample string 6</company_name>
  <company_person>sample string 7</company_person>
  <create_time>2024-11-25T17:36:12.2090231+08:00</create_time>
  <doc_pic_name>sample string 13</doc_pic_name>
  <ed>1</ed>
  <em>1</em>
  <ey>1</ey>
  <file_path>sample string 12</file_path>
  <id>1</id>
  <is_delete>1</is_delete>
  <name>sample string 3</name>
  <openId>sample string 2</openId>
  <pic_name>sample string 11</pic_name>
  <sd>1</sd>
  <seal_path>sample string 10</seal_path>
  <select_day>1</select_day>
  <select_month>1</select_month>
  <select_year>1</select_year>
  <sign_file>sample string 9</sign_file>
  <sign_pic_name>sample string 14</sign_pic_name>
  <sm>1</sm>
  <sy>1</sy>
  <sy_ed>1</sy_ed>
  <sy_em>1</sy_em>
  <sy_ey>1</sy_ey>
  <sy_m>1</sy_m>
  <sy_sd>1</sy_sd>
  <sy_sm>1</sy_sm>
  <sy_sy>1</sy_sy>
  <year>1</year>
</oa_peo_contract>

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

Response Information

Resource Description

UploadFileResponse
NameDescriptionTypeAdditional information
filePath

保存路径

string

None.

picName

图片名称

string

None.

doc_picName

string

None.

msg

消息

string

None.

result

是否成功

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "filePath": "sample string 1",
  "picName": "sample string 2",
  "doc_picName": "sample string 3",
  "msg": "sample string 4",
  "result": true
}

application/xml, text/xml

Sample:
<UploadFileResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">
  <msg>sample string 4</msg>
  <result>true</result>
  <doc_picName>sample string 3</doc_picName>
  <filePath>sample string 1</filePath>
  <picName>sample string 2</picName>
</UploadFileResponse>