POST api/WorkHours/DateExists?emp_code={emp_code}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
emp_code

integer

Default value is 0

Body Parameters

WorkHours
NameDescriptionTypeAdditional information
line_code

integer

None.

month_code

integer

None.

enter_time

date

None.

exit_time

date

None.

remark

string

String length: inclusive between 0 and 254

date

date

None.

opers

string

None.

branch_code

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "line_code": 1,
  "month_code": 2,
  "enter_time": "2025-09-09T17:50:21.4669078+03:00",
  "exit_time": "2025-09-09T17:50:21.4669078+03:00",
  "remark": "sample string 4",
  "date": "2025-09-09T17:50:21.4669078+03:00",
  "opers": "sample string 6",
  "branch_code": 1
}

application/xml, text/xml

Sample:
<WorkHours xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
  <branch_code>1</branch_code>
  <date>2025-09-09T17:50:21.4669078+03:00</date>
  <enter_time>2025-09-09T17:50:21.4669078+03:00</enter_time>
  <exit_time>2025-09-09T17:50:21.4669078+03:00</exit_time>
  <line_code>1</line_code>
  <month_code>2</month_code>
  <opers>sample string 6</opers>
  <remark>sample string 4</remark>
</WorkHours>

application/x-www-form-urlencoded

Sample:

Sample not available.

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

application/xml, text/xml

Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>

application/bson

Sample:
Binary JSON content. See http://bsonspec.org for details.