POST v1/api/HrQu/GetPostName

获取职位

Request Information

URI Parameters

None.

Body Parameters

GetPostName
NameDescriptionTypeAdditional information
postName

职位名称

string

None.

Request Formats

application/json, text/json

Sample:
{
  "postName": "sample string 1"
}

application/xml, text/xml

Sample:
<GetPostName xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrQuestions">
  <postName>sample string 1</postName>
</GetPostName>

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

Response Information

Resource Description

Collection of PostNameDto
NameDescriptionTypeAdditional information
postId

职位id

integer

None.

postName

职位

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "postId": 1,
    "postName": "sample string 2"
  },
  {
    "postId": 1,
    "postName": "sample string 2"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPostNameDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WXProgramApi.Models.HrQuestions">
  <PostNameDto>
    <postId>1</postId>
    <postName>sample string 2</postName>
  </PostNameDto>
  <PostNameDto>
    <postId>1</postId>
    <postName>sample string 2</postName>
  </PostNameDto>
</ArrayOfPostNameDto>