POST api/JobPost/AddNewPartTimeJob
后台 - 添加新的兼职职位
Request Information
URI Parameters
None.
Body Parameters
新职位信息
ParttimeJobAddDto| Name | Description | Type | Additional information |
|---|---|---|---|
| ParttimeTypeId |
兼职分类标识 |
integer |
None. |
| SettleType |
结算类型 |
PartTimeSettleType |
None. |
| Salary |
工资 |
decimal number |
None. |
| SalaryUnit |
工资周期单位 |
PeriodUnitType |
None. |
| HasExpired |
是否过期 |
boolean |
None. |
| ExpiredTime |
过期时间 |
date |
None. |
| JobTitle |
职位标题 |
string |
None. |
| CompanyName |
用人单位名称 将使用登录用户验证其真实性 |
string |
None. |
| JobDescription |
职位描述 |
string |
None. |
| Welfares |
福利标识集合 |
Collection of integer |
None. |
| IsCustomerAddress |
是否默认地址 默认false 表示默认地址,从公司取 |
boolean |
None. |
| CustomerAddress |
自定义地址 |
string |
None. |
| CustomerAddressX |
自定义地址X坐标 |
decimal number |
None. |
| CustomerAddressY |
自定义地址Y坐标 |
decimal number |
None. |
| CustomerAddressRegionId |
自定义地址区域id |
integer |
None. |
| CustomerAddressSectionId |
自定义地址地段id |
integer |
None. |
Request Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<ParttimeJobAddDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Job.Admin">
<CompanyName xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Job.Admin.Base">sample string 6</CompanyName>
<CustomerAddress xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Job.Admin.Base">sample string 9</CustomerAddress>
<CustomerAddressRegionId xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Job.Admin.Base">12</CustomerAddressRegionId>
<CustomerAddressSectionId xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Job.Admin.Base">13</CustomerAddressSectionId>
<CustomerAddressX xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Job.Admin.Base">10.1</CustomerAddressX>
<CustomerAddressY xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Job.Admin.Base">11.1</CustomerAddressY>
<IsCustomerAddress xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Job.Admin.Base">true</IsCustomerAddress>
<JobDescription xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Job.Admin.Base">sample string 7</JobDescription>
<JobTitle xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Job.Admin.Base">sample string 5</JobTitle>
<Welfares xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Job.Admin.Base">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</Welfares>
<ExpiredTime>2025-12-16T15:51:15.0063492+08:00</ExpiredTime>
<HasExpired>true</HasExpired>
<ParttimeTypeId>1</ParttimeTypeId>
<Salary>2.1</Salary>
<SalaryUnit>Day</SalaryUnit>
<SettleType>Daily</SettleType>
</ParttimeJobAddDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
后台 - 添加新的兼职职位
ObjectNone.
Response Formats
application/json
Sample:
text/json
Sample:
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />