POST api/Positions

Request Information

URI Parameters

None.

Body Parameters

PositionModel
NameDescriptionTypeAdditional information
PositionID

integer

None.

isWebEnabled

boolean

None.

hasApplications

boolean

None.

ClientID

integer

None.

PositionName

string

None.

HiringManager

integer

None.

HiringManagerName

string

None.

bGeneralPosition

boolean

None.

JobID

string

None.

JobDescription

string

None.

JobRequirements

string

None.

dateJobPosted

date

None.

dateJobExpires

date

None.

TotalApplications

integer

None.

DepartmentID

integer

None.

DeptName

string

None.

AuditInProgress

boolean

None.

DateAuditStart

date

None.

Request Formats

application/json, text/json

Sample:
{
  "PositionID": 1,
  "isWebEnabled": true,
  "hasApplications": true,
  "ClientID": 1,
  "PositionName": "sample string 4",
  "HiringManager": 1,
  "HiringManagerName": "sample string 5",
  "bGeneralPosition": true,
  "JobID": "sample string 7",
  "JobDescription": "sample string 8",
  "JobRequirements": "sample string 9",
  "dateJobPosted": "2021-10-16T16:59:30.6487323-07:00",
  "dateJobExpires": "2021-10-16T16:59:30.6487323-07:00",
  "TotalApplications": 10,
  "DepartmentID": 1,
  "DeptName": "sample string 11",
  "AuditInProgress": true,
  "DateAuditStart": "2021-10-16T16:59:30.6487323-07:00"
}

application/xml, text/xml

Sample:
<PositionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Employment">
  <AuditInProgress>true</AuditInProgress>
  <ClientID>1</ClientID>
  <DateAuditStart>2021-10-16T16:59:30.6487323-07:00</DateAuditStart>
  <DepartmentID>1</DepartmentID>
  <DeptName>sample string 11</DeptName>
  <HiringManager>1</HiringManager>
  <HiringManagerName>sample string 5</HiringManagerName>
  <JobDescription>sample string 8</JobDescription>
  <JobID>sample string 7</JobID>
  <JobRequirements>sample string 9</JobRequirements>
  <PositionID>1</PositionID>
  <PositionName>sample string 4</PositionName>
  <TotalApplications>10</TotalApplications>
  <bGeneralPosition>true</bGeneralPosition>
  <dateJobExpires>2021-10-16T16:59:30.6487323-07:00</dateJobExpires>
  <dateJobPosted>2021-10-16T16:59:30.6487323-07:00</dateJobPosted>
  <hasApplications>true</hasApplications>
  <isWebEnabled>true</isWebEnabled>
</PositionModel>

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

Response Information

Resource Description

PositionModel
NameDescriptionTypeAdditional information
PositionID

integer

None.

isWebEnabled

boolean

None.

hasApplications

boolean

None.

ClientID

integer

None.

PositionName

string

None.

HiringManager

integer

None.

HiringManagerName

string

None.

bGeneralPosition

boolean

None.

JobID

string

None.

JobDescription

string

None.

JobRequirements

string

None.

dateJobPosted

date

None.

dateJobExpires

date

None.

TotalApplications

integer

None.

DepartmentID

integer

None.

DeptName

string

None.

AuditInProgress

boolean

None.

DateAuditStart

date

None.

Response Formats

application/json, text/json

Sample:
{
  "PositionID": 1,
  "isWebEnabled": true,
  "hasApplications": true,
  "ClientID": 1,
  "PositionName": "sample string 4",
  "HiringManager": 1,
  "HiringManagerName": "sample string 5",
  "bGeneralPosition": true,
  "JobID": "sample string 7",
  "JobDescription": "sample string 8",
  "JobRequirements": "sample string 9",
  "dateJobPosted": "2021-10-16T16:59:30.6487323-07:00",
  "dateJobExpires": "2021-10-16T16:59:30.6487323-07:00",
  "TotalApplications": 10,
  "DepartmentID": 1,
  "DeptName": "sample string 11",
  "AuditInProgress": true,
  "DateAuditStart": "2021-10-16T16:59:30.6487323-07:00"
}

application/xml, text/xml

Sample:
<PositionModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Employment">
  <AuditInProgress>true</AuditInProgress>
  <ClientID>1</ClientID>
  <DateAuditStart>2021-10-16T16:59:30.6487323-07:00</DateAuditStart>
  <DepartmentID>1</DepartmentID>
  <DeptName>sample string 11</DeptName>
  <HiringManager>1</HiringManager>
  <HiringManagerName>sample string 5</HiringManagerName>
  <JobDescription>sample string 8</JobDescription>
  <JobID>sample string 7</JobID>
  <JobRequirements>sample string 9</JobRequirements>
  <PositionID>1</PositionID>
  <PositionName>sample string 4</PositionName>
  <TotalApplications>10</TotalApplications>
  <bGeneralPosition>true</bGeneralPosition>
  <dateJobExpires>2021-10-16T16:59:30.6487323-07:00</dateJobExpires>
  <dateJobPosted>2021-10-16T16:59:30.6487323-07:00</dateJobPosted>
  <hasApplications>true</hasApplications>
  <isWebEnabled>true</isWebEnabled>
</PositionModel>