POST api/JobCompany/UpdateResumeCollect

企管中心--更新收藏简历与否

Request Information

URI Parameters

None.

Body Parameters

JobCompanyUpdateCollectDto
NameDescriptionTypeAdditional information
CompanyId

公司标识,如果不填,将尝试用用户标识查找一次

integer

None.

ResumeId

简历标识

integer

None.

CollectOrNot

True标识收藏,False标识取消收藏

boolean

None.

Request Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

application/xml, text/xml

Sample:
<JobCompanyUpdateCollectDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Mh.Job.Service.Dto.Company">
  <CollectOrNot>true</CollectOrNot>
  <CompanyId>1</CompanyId>
  <ResumeId>2</ResumeId>
</JobCompanyUpdateCollectDto>

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

Response Information

Resource Description

企管中心--更新收藏简历与否

Object

None.

Response Formats

application/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'application/json'. Exception message: 无法访问已关闭的流。

text/json

Sample:

An exception has occurred while using the formatter 'JsonpMediaTypeFormatter' to generate sample for media type 'text/json'. Exception message: 无法访问已关闭的流。

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/" />