POST api/DateLock/Save

Request Information

URI Parameters

None.

Body Parameters

DateLock
NameDescriptionTypeAdditional information
id

integer

None.

Date

date

None.

Status

boolean

None.

OrganizationId

integer

None.

CompanyId

integer

None.

BranchesId

integer

None.

ProjectsId

integer

None.

EntryUserId

integer

None.

EntryDate

date

None.

ModifyUserId

integer

None.

ModifyDate

date

None.

IsApproved

boolean

None.

ApprovedUserId

integer

None.

ApprovedDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "Date": "2025-10-29T13:17:21.166254+05:00",
  "Status": true,
  "OrganizationId": 4,
  "CompanyId": 5,
  "BranchesId": 6,
  "ProjectsId": 7,
  "EntryUserId": 8,
  "EntryDate": "2025-10-29T13:17:21.166254+05:00",
  "ModifyUserId": 10,
  "ModifyDate": "2025-10-29T13:17:21.166254+05:00",
  "IsApproved": true,
  "ApprovedUserId": 13,
  "ApprovedDate": "2025-10-29T13:17:21.166254+05:00"
}

application/xml, text/xml

Sample:
<DateLock xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Architecture.Model">
  <ApprovedDate>2025-10-29T13:17:21.166254+05:00</ApprovedDate>
  <ApprovedUserId>13</ApprovedUserId>
  <BranchesId>6</BranchesId>
  <CompanyId>5</CompanyId>
  <Date>2025-10-29T13:17:21.166254+05:00</Date>
  <EntryDate>2025-10-29T13:17:21.166254+05:00</EntryDate>
  <EntryUserId>8</EntryUserId>
  <IsApproved>true</IsApproved>
  <ModifyDate>2025-10-29T13:17:21.166254+05:00</ModifyDate>
  <ModifyUserId>10</ModifyUserId>
  <OrganizationId>4</OrganizationId>
  <ProjectsId>7</ProjectsId>
  <Status>true</Status>
  <id>1</id>
</DateLock>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.