POST api/applicant/onboard/my-workhistory/update/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

OnboardingWorkhistoryDTOW
NameDescriptionTypeAdditional information
session_id

string

Required

Max length: 100

record_type

integer

Required

employer

string

Required

Max length: 100

employment_date

date

Required

exit_date

date

Required

postheld_at_employment

string

Required

Max length: 100

reason_4_exit

string

Required

Max length: 100

company_address

string

Required

Max length: 500

country_code

string

Required

Max length: 100

business_type_code

string

Required

Max length: 100

starting_salary

decimal number

None.

salary_before_exit

decimal number

None.

position_before_exit

string

Max length: 100

department

string

Max length: 100

tenant_id

integer

Required

Request Formats

application/json, text/json

Sample:
{
  "session_id": "sample string 1",
  "record_type": 2,
  "employer": "sample string 3",
  "employment_date": "2025-09-07T13:37:32.0888103+00:00",
  "exit_date": "2025-09-07T13:37:32.0888103+00:00",
  "postheld_at_employment": "sample string 6",
  "reason_4_exit": "sample string 7",
  "company_address": "sample string 8",
  "country_code": "sample string 9",
  "business_type_code": "sample string 10",
  "starting_salary": 1.0,
  "salary_before_exit": 1.0,
  "position_before_exit": "sample string 11",
  "department": "sample string 12",
  "tenant_id": 13
}

application/xml, text/xml

Sample:
<OnboardingWorkhistoryDTOW xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Xceed365EngageApi.core.DTOs.Writable">
  <business_type_code>sample string 10</business_type_code>
  <company_address>sample string 8</company_address>
  <country_code>sample string 9</country_code>
  <department>sample string 12</department>
  <employer>sample string 3</employer>
  <employment_date>2025-09-07T13:37:32.0888103+00:00</employment_date>
  <exit_date>2025-09-07T13:37:32.0888103+00:00</exit_date>
  <position_before_exit>sample string 11</position_before_exit>
  <postheld_at_employment>sample string 6</postheld_at_employment>
  <reason_4_exit>sample string 7</reason_4_exit>
  <record_type>2</record_type>
  <salary_before_exit>1</salary_before_exit>
  <session_id>sample string 1</session_id>
  <starting_salary>1</starting_salary>
  <tenant_id>13</tenant_id>
</OnboardingWorkhistoryDTOW>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.