PUT api/RequestOfEmployes/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

RequestOfEmploye
NameDescriptionTypeAdditional information
RequestOfEmployeId

integer

None.

Name

string

None.

LastName

string

None.

Mail

string

None.

Phone

string

None.

CompanyId

integer

None.

SiteId

integer

None.

WorkFamillyId

integer

None.

WorkFunctionId

integer

None.

Role

string

None.

Status

string

None.

Comment

string

None.

LastChanged

date

None.

LastChange_AuthorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "RequestOfEmployeId": 1,
  "Name": "sample string 2",
  "LastName": "sample string 3",
  "Mail": "sample string 4",
  "Phone": "sample string 5",
  "CompanyId": 6,
  "SiteId": 7,
  "WorkFamillyId": 8,
  "WorkFunctionId": 9,
  "Role": "sample string 10",
  "Status": "sample string 11",
  "Comment": "sample string 12",
  "LastChanged": "2025-08-14T03:17:21.0497471+00:00",
  "LastChange_AuthorId": 1
}

application/xml, text/xml

Sample:
<RequestOfEmploye xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ELO_IdentityAPI_Eloapp.net.Models">
  <Comment>sample string 12</Comment>
  <CompanyId>6</CompanyId>
  <LastChange_AuthorId>1</LastChange_AuthorId>
  <LastChanged>2025-08-14T03:17:21.0497471+00:00</LastChanged>
  <LastName>sample string 3</LastName>
  <Mail>sample string 4</Mail>
  <Name>sample string 2</Name>
  <Phone>sample string 5</Phone>
  <RequestOfEmployeId>1</RequestOfEmployeId>
  <Role>sample string 10</Role>
  <SiteId>7</SiteId>
  <Status>sample string 11</Status>
  <WorkFamillyId>8</WorkFamillyId>
  <WorkFunctionId>9</WorkFunctionId>
</RequestOfEmploye>

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

Response Information

Resource Description

None.