POST api/XmhHr/SubmitContrat

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

BackInfo
NameDescriptionTypeAdditional information
company_id

integer

None.

company_name

string

None.

info_list

Collection of StatusInfo

None.

msg

消息

string

None.

result

是否成功

boolean

None.

Response Formats

application/json, text/json

Sample:
{
  "company_id": 1,
  "company_name": "sample string 2",
  "info_list": [
    {
      "id": 1,
      "name": "sample string 2",
      "is_write": 3
    },
    {
      "id": 1,
      "name": "sample string 2",
      "is_write": 3
    }
  ],
  "msg": "sample string 3",
  "result": true
}

application/xml, text/xml

Sample:
<BackInfo xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrWxModels">
  <msg xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">sample string 3</msg>
  <result xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi">true</result>
  <company_id>1</company_id>
  <company_name>sample string 2</company_name>
  <info_list>
    <StatusInfo>
      <id>1</id>
      <is_write>3</is_write>
      <name>sample string 2</name>
    </StatusInfo>
    <StatusInfo>
      <id>1</id>
      <is_write>3</is_write>
      <name>sample string 2</name>
    </StatusInfo>
  </info_list>
</BackInfo>