POST api/update/update-plan-ot-details

Request Information

URI Parameters

None.

Body Parameters

UpdatePlanOTdetails
NameDescriptionTypeAdditional information
PlanOtId

integer

None.

EmpId

integer

None.

StartDate

date

None.

EndDate

date

None.

StartTime

time interval

None.

EndTime

time interval

None.

PlanStartDate

date

None.

PlanEndDate

date

None.

CostCentre

string

None.

Description

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PlanOtId": 1,
  "EmpId": 2,
  "StartDate": "2025-12-05T21:11:02.5816675-08:00",
  "EndDate": "2025-12-05T21:11:02.5816675-08:00",
  "StartTime": "00:00:00.1234567",
  "EndTime": "00:00:00.1234567",
  "PlanStartDate": "2025-12-05T21:11:02.5816675-08:00",
  "PlanEndDate": "2025-12-05T21:11:02.5816675-08:00",
  "CostCentre": "sample string 9",
  "Description": "sample string 10"
}

application/xml, text/xml

Sample:
<UpdatePlanOTdetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/working_sample_mvc_api.Models">
  <CostCentre>sample string 9</CostCentre>
  <Description>sample string 10</Description>
  <EmpId>2</EmpId>
  <EndDate>2025-12-05T21:11:02.5816675-08:00</EndDate>
  <EndTime>PT0.1234567S</EndTime>
  <PlanEndDate>2025-12-05T21:11:02.5816675-08:00</PlanEndDate>
  <PlanOtId>1</PlanOtId>
  <PlanStartDate>2025-12-05T21:11:02.5816675-08:00</PlanStartDate>
  <StartDate>2025-12-05T21:11:02.5816675-08:00</StartDate>
  <StartTime>PT0.1234567S</StartTime>
</UpdatePlanOTdetails>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.