POST api/WorkHistories

Request Information

URI Parameters

None.

Body Parameters

WorkHistory
NameDescriptionTypeAdditional information
WorkHistoryID

integer

None.

AgencyID

integer

None.

EmployerName

string

None.

StartDate

date

None.

StopDate

date

None.

StartRate

decimal number

None.

StopRate

decimal number

None.

Position

string

None.

Description

string

None.

ShowOnResume

boolean

None.

ShowOnWorkHistory

boolean

None.

CreatedDate

date

None.

Location

string

None.

Request Formats

application/json, text/json

Sample:
{
  "WorkHistoryID": 1,
  "AgencyID": 2,
  "EmployerName": "sample string 3",
  "StartDate": "2019-04-21T05:18:23.8010898-07:00",
  "StopDate": "2019-04-21T05:18:23.8010898-07:00",
  "StartRate": 5.0,
  "StopRate": 1.0,
  "Position": "sample string 6",
  "Description": "sample string 7",
  "ShowOnResume": true,
  "ShowOnWorkHistory": true,
  "CreatedDate": "2019-04-21T05:18:23.8010898-07:00",
  "Location": "sample string 11"
}

application/xml, text/xml

Sample:
<WorkHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_API.Entities">
  <AgencyID>2</AgencyID>
  <CreatedDate>2019-04-21T05:18:23.8010898-07:00</CreatedDate>
  <Description>sample string 7</Description>
  <EmployerName>sample string 3</EmployerName>
  <Location>sample string 11</Location>
  <Position>sample string 6</Position>
  <ShowOnResume>true</ShowOnResume>
  <ShowOnWorkHistory>true</ShowOnWorkHistory>
  <StartDate>2019-04-21T05:18:23.8010898-07:00</StartDate>
  <StartRate>5</StartRate>
  <StopDate>2019-04-21T05:18:23.8010898-07:00</StopDate>
  <StopRate>1</StopRate>
  <WorkHistoryID>1</WorkHistoryID>
</WorkHistory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

WorkHistory
NameDescriptionTypeAdditional information
WorkHistoryID

integer

None.

AgencyID

integer

None.

EmployerName

string

None.

StartDate

date

None.

StopDate

date

None.

StartRate

decimal number

None.

StopRate

decimal number

None.

Position

string

None.

Description

string

None.

ShowOnResume

boolean

None.

ShowOnWorkHistory

boolean

None.

CreatedDate

date

None.

Location

string

None.

Response Formats

application/json, text/json

Sample:
{
  "WorkHistoryID": 1,
  "AgencyID": 2,
  "EmployerName": "sample string 3",
  "StartDate": "2019-04-21T05:18:24.3323388-07:00",
  "StopDate": "2019-04-21T05:18:24.3323388-07:00",
  "StartRate": 5.0,
  "StopRate": 1.0,
  "Position": "sample string 6",
  "Description": "sample string 7",
  "ShowOnResume": true,
  "ShowOnWorkHistory": true,
  "CreatedDate": "2019-04-21T05:18:24.3323388-07:00",
  "Location": "sample string 11"
}

application/xml, text/xml

Sample:
<WorkHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Web_API.Entities">
  <AgencyID>2</AgencyID>
  <CreatedDate>2019-04-21T05:18:24.3323388-07:00</CreatedDate>
  <Description>sample string 7</Description>
  <EmployerName>sample string 3</EmployerName>
  <Location>sample string 11</Location>
  <Position>sample string 6</Position>
  <ShowOnResume>true</ShowOnResume>
  <ShowOnWorkHistory>true</ShowOnWorkHistory>
  <StartDate>2019-04-21T05:18:24.3323388-07:00</StartDate>
  <StartRate>5</StartRate>
  <StopDate>2019-04-21T05:18:24.3323388-07:00</StopDate>
  <StopRate>1</StopRate>
  <WorkHistoryID>1</WorkHistoryID>
</WorkHistory>