PUT api/EmployeeWorkZones

Request Information

URI Parameters

None.

Body Parameters

EmployeeWorkZone
NameDescriptionTypeAdditional information
employeeCode

string

None.

startedAt

date

None.

endAt

date

None.

type

string

None.

companyData

CompanyData

None.

Request Formats

application/json, text/json

Sample:
{
  "employeeCode": "sample string 1",
  "startedAt": "2025-11-08T13:34:35.4797025+01:00",
  "endAt": "2025-11-08T13:34:35.4797025+01:00",
  "type": "sample string 4",
  "companyData": {
    "companyName": "sample string 1",
    "databaseName": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<EmployeeWorkZone xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebApiOptima_v._2._0.Models">
  <companyData>
    <companyName>sample string 1</companyName>
    <databaseName>sample string 2</databaseName>
  </companyData>
  <employeeCode>sample string 1</employeeCode>
  <endAt>2025-11-08T13:34:35.4797025+01:00</endAt>
  <startedAt>2025-11-08T13:34:35.4797025+01:00</startedAt>
  <type>sample string 4</type>
</EmployeeWorkZone>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.