POST v1/api/HrQu/GetPostName
获取职位
Request Information
URI Parameters
None.
Body Parameters
GetPostNameName | Description | Type | Additional 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:
Response Information
Resource Description
Collection of PostNameDtoName | Description | Type | Additional 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>