POST api/Employees/SaveEmployeeExperience

Request Information

URI Parameters

None.

Body Parameters

ExperienceCreateUpdateDto
NameDescriptionTypeAdditional information
Id

integer

None.

EmployeeId

integer

Required

JobTitle

string

Required

JobCategory

string

Required

CompanyName

string

Required

FromDate

date

Required

ToDate

date

Required

CountryId

integer

Required

CityId

integer

Required

CompanySizeId

integer

Required

Salary

decimal number

Required

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "EmployeeId": 1,
  "JobTitle": "sample string 2",
  "JobCategory": "sample string 3",
  "CompanyName": "sample string 4",
  "FromDate": "2024-12-23T17:35:32.6632353+02:00",
  "ToDate": "2024-12-23T17:35:32.6632353+02:00",
  "CountryId": 1,
  "CityId": 1,
  "CompanySizeId": 1,
  "Salary": 1.1,
  "Description": "sample string 5"
}

application/xml, text/xml

Sample:
<ExperienceCreateUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkadHR.HRAPI.Dtos">
  <CityId>1</CityId>
  <CompanyName>sample string 4</CompanyName>
  <CompanySizeId>1</CompanySizeId>
  <CountryId>1</CountryId>
  <Description>sample string 5</Description>
  <EmployeeId>1</EmployeeId>
  <FromDate>2024-12-23T17:35:32.6632353+02:00</FromDate>
  <Id>1</Id>
  <JobCategory>sample string 3</JobCategory>
  <JobTitle>sample string 2</JobTitle>
  <Salary>1.1</Salary>
  <ToDate>2024-12-23T17:35:32.6632353+02:00</ToDate>
</ExperienceCreateUpdateDto>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.