POST api/Project_Clock_Management/CheckAndSetClockInOutTime

Request Information

URI Parameters

None.

Body Parameters

Project_Clock_ManagementModel
NameDescriptionTypeAdditional information
ID

integer

None.

ProjectID

integer

None.

ProjectName

string

None.

UserID

integer

None.

UserName

string

None.

ClockInTime

date

None.

ClockOutTime

date

None.

CreatedDate

date

None.

UpdatedDate

date

None.

UpdatedBy

integer

None.

CreatedBy

integer

None.

Projectisclosed

boolean

None.

IsExtratime

boolean

None.

ExtraTimeReason

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "ProjectID": 1,
  "ProjectName": "sample string 2",
  "UserID": 1,
  "UserName": "sample string 3",
  "ClockInTime": "2026-06-30T14:13:29.1484741+01:00",
  "ClockOutTime": "2026-06-30T14:13:29.1484741+01:00",
  "CreatedDate": "2026-06-30T14:13:29.1484741+01:00",
  "UpdatedDate": "2026-06-30T14:13:29.1484741+01:00",
  "UpdatedBy": 1,
  "CreatedBy": 1,
  "Projectisclosed": true,
  "IsExtratime": true,
  "ExtraTimeReason": "sample string 4"
}

text/xml

Sample:
<Project_Clock_ManagementModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessEntities.Models">
  <ClockInTime>2026-06-30T14:13:29.1484741+01:00</ClockInTime>
  <ClockOutTime>2026-06-30T14:13:29.1484741+01:00</ClockOutTime>
  <CreatedBy>1</CreatedBy>
  <CreatedDate>2026-06-30T14:13:29.1484741+01:00</CreatedDate>
  <ExtraTimeReason>sample string 4</ExtraTimeReason>
  <ID>1</ID>
  <IsExtratime>true</IsExtratime>
  <ProjectID>1</ProjectID>
  <ProjectName>sample string 2</ProjectName>
  <Projectisclosed>true</Projectisclosed>
  <UpdatedBy>1</UpdatedBy>
  <UpdatedDate>2026-06-30T14:13:29.1484741+01:00</UpdatedDate>
  <UserID>1</UserID>
  <UserName>sample string 3</UserName>
</Project_Clock_ManagementModel>

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

Response Information

Resource Description

boolean

Response Formats

application/json, text/json

Sample:
true

text/xml

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