POST api/Employees/SaveEmployeeCertificate

Request Information

URI Parameters

None.

Body Parameters

CertificateCreateUpdateDto
NameDescriptionTypeAdditional information
ID

integer

None.

EmployeeId

integer

Required

CertificateName

string

Required

CertificateSource

string

Required

CertificateDate

date

None.

CertificatePeriod

string

None.

Description

string

None.

CertificateFile

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "EmployeeId": 2,
  "CertificateName": "sample string 3",
  "CertificateSource": "sample string 4",
  "CertificateDate": "2024-12-23T18:08:14.1108642+02:00",
  "CertificatePeriod": "sample string 5",
  "Description": "sample string 6",
  "CertificateFile": "sample string 7"
}

application/xml, text/xml

Sample:
<CertificateCreateUpdateDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EkadHR.HRAPI.Dtos">
  <CertificateDate>2024-12-23T18:08:14.1108642+02:00</CertificateDate>
  <CertificateFile>sample string 7</CertificateFile>
  <CertificateName>sample string 3</CertificateName>
  <CertificatePeriod>sample string 5</CertificatePeriod>
  <CertificateSource>sample string 4</CertificateSource>
  <Description>sample string 6</Description>
  <EmployeeId>2</EmployeeId>
  <ID>1</ID>
</CertificateCreateUpdateDto>

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.