POST api/Employments

Request Information

URI Parameters

None.

Body Parameters

EmploymentModel
NameDescriptionTypeAdditional information
EmploymentID

integer

None.

PeopleID

integer

None.

DepartmentID

integer

None.

PositionID

integer

None.

PositionVariant

integer

None.

SupervisorID

integer

None.

boolIsSupervisor

integer

None.

ClientID

integer

None.

DivisionID

integer

None.

dateSelfRate

date

None.

dateSR

date

None.

dateJC

date

None.

dateFTE

date

None.

datelastPX12Email

date

None.

datePX12assigned

date

None.

datePX12completed

date

None.

dateNotice1

date

None.

dateNotice2

date

None.

dateNotice3

date

None.

dateCompleted

date

None.

dateTPCstart

date

None.

dateTPCLastEmail

date

None.

dateTPCcomplete

date

None.

dateLastStep

date

None.

strLastStep

string

None.

bNeed2bCoached

boolean

None.

currFTE

decimal number

None.

dateHired

date

None.

CertificationID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "EmploymentID": 1,
  "PeopleID": 2,
  "DepartmentID": 3,
  "PositionID": 4,
  "PositionVariant": 1,
  "SupervisorID": 5,
  "boolIsSupervisor": 6,
  "ClientID": 7,
  "DivisionID": 1,
  "dateSelfRate": "2021-06-18T20:08:20.8556438-07:00",
  "dateSR": "2021-06-18T20:08:20.8556438-07:00",
  "dateJC": "2021-06-18T20:08:20.8556438-07:00",
  "dateFTE": "2021-06-18T20:08:20.8556438-07:00",
  "datelastPX12Email": "2021-06-18T20:08:20.8556438-07:00",
  "datePX12assigned": "2021-06-18T20:08:20.8556438-07:00",
  "datePX12completed": "2021-06-18T20:08:20.8556438-07:00",
  "dateNotice1": "2021-06-18T20:08:20.8556438-07:00",
  "dateNotice2": "2021-06-18T20:08:20.8556438-07:00",
  "dateNotice3": "2021-06-18T20:08:20.8556438-07:00",
  "dateCompleted": "2021-06-18T20:08:20.8556438-07:00",
  "dateTPCstart": "2021-06-18T20:08:20.8556438-07:00",
  "dateTPCLastEmail": "2021-06-18T20:08:20.8556438-07:00",
  "dateTPCcomplete": "2021-06-18T20:08:20.8556438-07:00",
  "dateLastStep": "2021-06-18T20:08:20.8556438-07:00",
  "strLastStep": "sample string 8",
  "bNeed2bCoached": true,
  "currFTE": 10.0,
  "dateHired": "2021-06-18T20:08:20.8556438-07:00",
  "CertificationID": 1
}

application/xml, text/xml

Sample:
<EmploymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Employment">
  <CertificationID>1</CertificationID>
  <ClientID>7</ClientID>
  <DepartmentID>3</DepartmentID>
  <DivisionID>1</DivisionID>
  <EmploymentID>1</EmploymentID>
  <PeopleID>2</PeopleID>
  <PositionID>4</PositionID>
  <PositionVariant>1</PositionVariant>
  <SupervisorID>5</SupervisorID>
  <bNeed2bCoached>true</bNeed2bCoached>
  <boolIsSupervisor>6</boolIsSupervisor>
  <currFTE>10</currFTE>
  <dateCompleted>2021-06-18T20:08:20.8556438-07:00</dateCompleted>
  <dateFTE>2021-06-18T20:08:20.8556438-07:00</dateFTE>
  <dateHired>2021-06-18T20:08:20.8556438-07:00</dateHired>
  <dateJC>2021-06-18T20:08:20.8556438-07:00</dateJC>
  <dateLastStep>2021-06-18T20:08:20.8556438-07:00</dateLastStep>
  <dateNotice1>2021-06-18T20:08:20.8556438-07:00</dateNotice1>
  <dateNotice2>2021-06-18T20:08:20.8556438-07:00</dateNotice2>
  <dateNotice3>2021-06-18T20:08:20.8556438-07:00</dateNotice3>
  <datePX12assigned>2021-06-18T20:08:20.8556438-07:00</datePX12assigned>
  <datePX12completed>2021-06-18T20:08:20.8556438-07:00</datePX12completed>
  <dateSR>2021-06-18T20:08:20.8556438-07:00</dateSR>
  <dateSelfRate>2021-06-18T20:08:20.8556438-07:00</dateSelfRate>
  <dateTPCLastEmail>2021-06-18T20:08:20.8556438-07:00</dateTPCLastEmail>
  <dateTPCcomplete>2021-06-18T20:08:20.8556438-07:00</dateTPCcomplete>
  <dateTPCstart>2021-06-18T20:08:20.8556438-07:00</dateTPCstart>
  <datelastPX12Email>2021-06-18T20:08:20.8556438-07:00</datelastPX12Email>
  <strLastStep>sample string 8</strLastStep>
</EmploymentModel>

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

Response Information

Resource Description

EmploymentModel
NameDescriptionTypeAdditional information
EmploymentID

integer

None.

PeopleID

integer

None.

DepartmentID

integer

None.

PositionID

integer

None.

PositionVariant

integer

None.

SupervisorID

integer

None.

boolIsSupervisor

integer

None.

ClientID

integer

None.

DivisionID

integer

None.

dateSelfRate

date

None.

dateSR

date

None.

dateJC

date

None.

dateFTE

date

None.

datelastPX12Email

date

None.

datePX12assigned

date

None.

datePX12completed

date

None.

dateNotice1

date

None.

dateNotice2

date

None.

dateNotice3

date

None.

dateCompleted

date

None.

dateTPCstart

date

None.

dateTPCLastEmail

date

None.

dateTPCcomplete

date

None.

dateLastStep

date

None.

strLastStep

string

None.

bNeed2bCoached

boolean

None.

currFTE

decimal number

None.

dateHired

date

None.

CertificationID

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "EmploymentID": 1,
  "PeopleID": 2,
  "DepartmentID": 3,
  "PositionID": 4,
  "PositionVariant": 1,
  "SupervisorID": 5,
  "boolIsSupervisor": 6,
  "ClientID": 7,
  "DivisionID": 1,
  "dateSelfRate": "2021-06-18T20:08:20.8556438-07:00",
  "dateSR": "2021-06-18T20:08:20.8556438-07:00",
  "dateJC": "2021-06-18T20:08:20.8556438-07:00",
  "dateFTE": "2021-06-18T20:08:20.8556438-07:00",
  "datelastPX12Email": "2021-06-18T20:08:20.8556438-07:00",
  "datePX12assigned": "2021-06-18T20:08:20.8556438-07:00",
  "datePX12completed": "2021-06-18T20:08:20.8556438-07:00",
  "dateNotice1": "2021-06-18T20:08:20.8556438-07:00",
  "dateNotice2": "2021-06-18T20:08:20.8556438-07:00",
  "dateNotice3": "2021-06-18T20:08:20.8556438-07:00",
  "dateCompleted": "2021-06-18T20:08:20.8556438-07:00",
  "dateTPCstart": "2021-06-18T20:08:20.8556438-07:00",
  "dateTPCLastEmail": "2021-06-18T20:08:20.8556438-07:00",
  "dateTPCcomplete": "2021-06-18T20:08:20.8556438-07:00",
  "dateLastStep": "2021-06-18T20:08:20.8556438-07:00",
  "strLastStep": "sample string 8",
  "bNeed2bCoached": true,
  "currFTE": 10.0,
  "dateHired": "2021-06-18T20:08:20.8556438-07:00",
  "CertificationID": 1
}

application/xml, text/xml

Sample:
<EmploymentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/_10RuleAPI.Models.Employment">
  <CertificationID>1</CertificationID>
  <ClientID>7</ClientID>
  <DepartmentID>3</DepartmentID>
  <DivisionID>1</DivisionID>
  <EmploymentID>1</EmploymentID>
  <PeopleID>2</PeopleID>
  <PositionID>4</PositionID>
  <PositionVariant>1</PositionVariant>
  <SupervisorID>5</SupervisorID>
  <bNeed2bCoached>true</bNeed2bCoached>
  <boolIsSupervisor>6</boolIsSupervisor>
  <currFTE>10</currFTE>
  <dateCompleted>2021-06-18T20:08:20.8556438-07:00</dateCompleted>
  <dateFTE>2021-06-18T20:08:20.8556438-07:00</dateFTE>
  <dateHired>2021-06-18T20:08:20.8556438-07:00</dateHired>
  <dateJC>2021-06-18T20:08:20.8556438-07:00</dateJC>
  <dateLastStep>2021-06-18T20:08:20.8556438-07:00</dateLastStep>
  <dateNotice1>2021-06-18T20:08:20.8556438-07:00</dateNotice1>
  <dateNotice2>2021-06-18T20:08:20.8556438-07:00</dateNotice2>
  <dateNotice3>2021-06-18T20:08:20.8556438-07:00</dateNotice3>
  <datePX12assigned>2021-06-18T20:08:20.8556438-07:00</datePX12assigned>
  <datePX12completed>2021-06-18T20:08:20.8556438-07:00</datePX12completed>
  <dateSR>2021-06-18T20:08:20.8556438-07:00</dateSR>
  <dateSelfRate>2021-06-18T20:08:20.8556438-07:00</dateSelfRate>
  <dateTPCLastEmail>2021-06-18T20:08:20.8556438-07:00</dateTPCLastEmail>
  <dateTPCcomplete>2021-06-18T20:08:20.8556438-07:00</dateTPCcomplete>
  <dateTPCstart>2021-06-18T20:08:20.8556438-07:00</dateTPCstart>
  <datelastPX12Email>2021-06-18T20:08:20.8556438-07:00</datelastPX12Email>
  <strLastStep>sample string 8</strLastStep>
</EmploymentModel>