POST api/XmhHr/SaveEntry

Request Information

URI Parameters

None.

Body Parameters

oa_peo_entry
NameDescriptionTypeAdditional information
id

integer

None.

openId

string

None.

sign_info

string

None.

sign_file

string

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",
  "sign_info": "sample string 3",
  "sign_file": "sample string 4",
  "create_time": "2024-11-25T17:54:51.8662496+08:00",
  "is_delete": 1,
  "pic_name": "sample string 5",
  "file_path": "sample string 6",
  "doc_pic_name": "sample string 7",
  "sign_pic_name": "sample string 8"
}

application/xml, text/xml

Sample:
<oa_peo_entry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xinminghui.Entity">
  <create_time>2024-11-25T17:54:51.8662496+08:00</create_time>
  <doc_pic_name>sample string 7</doc_pic_name>
  <file_path>sample string 6</file_path>
  <id>1</id>
  <is_delete>1</is_delete>
  <openId>sample string 2</openId>
  <pic_name>sample string 5</pic_name>
  <sign_file>sample string 4</sign_file>
  <sign_info>sample string 3</sign_info>
  <sign_pic_name>sample string 8</sign_pic_name>
</oa_peo_entry>

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

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>