POST api/Employment/SaveEmployment

Request Information

URI Parameters

None.

Body Parameters

EmploymentsModel
NameDescriptionTypeAdditional information
applicantEmploymentId

integer

None.

applicantId

integer

None.

employmentTypeId

byte

None.

applicantName

string

None.

employmentType

string

None.

employerName

string

None.

city

string

None.

addressLine1

string

None.

addressLine2

string

None.

stateId

byte

None.

zip

string

None.

grossMonthlyIncome

decimal number

None.

otherMonthlyIncome

decimal number

None.

employerId

integer

None.

otherEmployerName

string

None.

otherIncomeSource

string

None.

jobTitle

string

None.

workPhone

string

None.

supervisorPhone

string

None.

supervisorName

string

None.

jobStartDate

date

None.

jobEndDate

date

None.

lastUpdatedBy

integer

None.

incomeProof

Collection of byte

None.

incomeProofFileName

string

None.

EmployerSectorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "applicantEmploymentId": 1,
  "applicantId": 1,
  "employmentTypeId": 64,
  "applicantName": "sample string 2",
  "employmentType": "sample string 3",
  "employerName": "sample string 4",
  "city": "sample string 5",
  "addressLine1": "sample string 6",
  "addressLine2": "sample string 7",
  "stateId": 64,
  "zip": "sample string 9",
  "grossMonthlyIncome": 10.0,
  "otherMonthlyIncome": 11.0,
  "employerId": 1,
  "otherEmployerName": "sample string 12",
  "otherIncomeSource": "sample string 13",
  "jobTitle": "sample string 14",
  "workPhone": "sample string 15",
  "supervisorPhone": "sample string 16",
  "supervisorName": "sample string 17",
  "jobStartDate": "2025-05-10T18:26:24.3980951-05:00",
  "jobEndDate": "2025-05-10T18:26:24.3980951-05:00",
  "lastUpdatedBy": 1,
  "incomeProof": "QEA=",
  "incomeProofFileName": "sample string 18",
  "employerSectorId": 1
}

application/xml, text/xml

Sample:
<EmploymentsModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <applicantEmploymentId>1</applicantEmploymentId>
  <applicantId>1</applicantId>
  <employmentTypeId>64</employmentTypeId>
  <applicantName>sample string 2</applicantName>
  <employmentType>sample string 3</employmentType>
  <employerName>sample string 4</employerName>
  <city>sample string 5</city>
  <addressLine1>sample string 6</addressLine1>
  <addressLine2>sample string 7</addressLine2>
  <stateId>64</stateId>
  <zip>sample string 9</zip>
  <grossMonthlyIncome>10</grossMonthlyIncome>
  <otherMonthlyIncome>11</otherMonthlyIncome>
  <employerId>1</employerId>
  <otherEmployerName>sample string 12</otherEmployerName>
  <otherIncomeSource>sample string 13</otherIncomeSource>
  <jobTitle>sample string 14</jobTitle>
  <workPhone>sample string 15</workPhone>
  <supervisorPhone>sample string 16</supervisorPhone>
  <supervisorName>sample string 17</supervisorName>
  <jobStartDate>2025-05-10T18:26:24.3980951-05:00</jobStartDate>
  <jobEndDate>2025-05-10T18:26:24.3980951-05:00</jobEndDate>
  <lastUpdatedBy>1</lastUpdatedBy>
  <incomeProof>QEA=</incomeProof>
  <incomeProofFileName>sample string 18</incomeProofFileName>
  <EmployerSectorId>1</EmployerSectorId>
</EmploymentsModel>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json

Sample:

Sample not available.