POST api/PM/EditTimeSheet

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
item
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "WeekDate": "2024-11-28T12:37:09.5691015+02:00",
  "EmpId": 2,
  "ProjectId": 3,
  "TaskId": 4,
  "TimeSheetId": 5,
  "ProjectName": "sample string 6",
  "TaskName": "sample string 7",
  "Id": 8,
  "Day": 9,
  "RecorededTime": 10.1,
  "Submitted": true,
  "Approved": true,
  "InCT": "sample string 13"
}

application/xml, text/xml

Sample:
<Pro_VM_TimeSheetDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERPPlus_MOdel">
  <Approved>true</Approved>
  <Day>9</Day>
  <EmpId>2</EmpId>
  <Id>8</Id>
  <InCT>sample string 13</InCT>
  <ProjectId>3</ProjectId>
  <ProjectName>sample string 6</ProjectName>
  <RecorededTime>10.1</RecorededTime>
  <Submitted>true</Submitted>
  <TaskId>4</TaskId>
  <TaskName>sample string 7</TaskName>
  <TimeSheetId>5</TimeSheetId>
  <WeekDate>2024-11-28T12:37:09.5691015+02:00</WeekDate>
</Pro_VM_TimeSheetDetails>

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

Response Information

No documentation available.

Response body formats

application/json, text/json

Sample:
{
  "Result": true,
  "ErrorMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<GeneralErrors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP_Plus">
  <ErrorMessage>sample string 2</ErrorMessage>
  <Result>true</Result>
</GeneralErrors>