POST api/XmhHr/SaveCertificate
Request Information
URI Parameters
None.
Body Parameters
oa_peo_certificateName | Description | Type | Additional information |
---|---|---|---|
id | integer |
None. |
|
openId | string |
None. |
|
name | string |
None. |
|
ID_number | string |
None. |
|
phone | string |
None. |
|
company_id | integer |
None. |
|
company_name | string |
None. |
|
leave_year | integer |
None. |
|
leave_month | integer |
None. |
|
leave_day | integer |
None. |
|
create_year | integer |
None. |
|
create_month | integer |
None. |
|
create_day | integer |
None. |
|
reason | string |
None. |
|
sign_file | string |
None. |
|
select_time | date |
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", "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:44:03.450234+08:00", "select_year": 1, "select_month": 1, "select_day": 1, "create_time": "2024-11-25T17:44:03.450234+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" }
application/xml, text/xml
Sample:
<oa_peo_certificate 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> <company_id>1</company_id> <company_name>sample string 6</company_name> <create_day>1</create_day> <create_month>1</create_month> <create_time>2024-11-25T17:44:03.450234+08:00</create_time> <create_year>1</create_year> <doc_pic_name>sample string 11</doc_pic_name> <file_path>sample string 10</file_path> <id>1</id> <is_delete>1</is_delete> <leave_day>1</leave_day> <leave_month>1</leave_month> <leave_year>1</leave_year> <name>sample string 3</name> <openId>sample string 2</openId> <phone>sample string 5</phone> <pic_name>sample string 9</pic_name> <reason>sample string 7</reason> <select_day>1</select_day> <select_month>1</select_month> <select_time>2024-11-25T17:44:03.450234+08:00</select_time> <select_year>1</select_year> <sign_file>sample string 8</sign_file> <sign_pic_name>sample string 12</sign_pic_name> </oa_peo_certificate>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
UploadFileResponseName | Description | Type | Additional 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>