PUT api/TimeCard/{id}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
id
No documentation available.

Define this parameter in the request URI.

objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "TIME_CARD_ID": 1,
  "TIME_CARD_DATE": "2025-01-11T12:52:57.2753506+03:00",
  "TIME_CARD_MONTH": 1,
  "TIME_CARD_YEAR": 1,
  "EMP_ID": 1,
  "MAIN_APPROVER_ID": 1,
  "PREV_MONTH_COMMENTS": "sample string 2",
  "CUR_MONTH_COMMENTS": "sample string 3",
  "STATUS_ID": 1,
  "CREATE_DATE": "2025-01-11T12:52:57.2753506+03:00",
  "UPDATE_DATE": "2025-01-11T12:52:57.2753506+03:00",
  "CREATE_USER": 1,
  "UPDATE_USER": 1,
  "IS_FORECAST_OVERWRITTEN": true,
  "EMP_NAME": "sample string 4",
  "FILE_NO": 1,
  "PREV_PAY_PERIOD": 1,
  "PAY_PERIOD_ID": 1,
  "RES_STATUS": "sample string 5",
  "STATUS_NAME": "sample string 6",
  "APPROVER_ID": 1,
  "APPROVER_COMMENTS": "sample string 7",
  "APPROVER_STATUS_ID": 1,
  "WORK_FLOW_ID": 1,
  "APPROVER_TYPE": "sample string 8",
  "APPROVER_IS_SUPER_POWER": true,
  "MONTH_NAME": "2025-01-11T12:52:57.2753506+03:00",
  "OT_ELIGIBLE": true,
  "BU_NAME": "sample string 9",
  "JOB_TITLE": "sample string 10",
  "DEPARTMENT_NAME": "sample string 11"
}

application/xml, text/xml

Sample:
<TimeCard xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.TimeCardSummary">
  <APPROVER_COMMENTS>sample string 7</APPROVER_COMMENTS>
  <APPROVER_ID>1</APPROVER_ID>
  <APPROVER_IS_SUPER_POWER>true</APPROVER_IS_SUPER_POWER>
  <APPROVER_STATUS_ID>1</APPROVER_STATUS_ID>
  <APPROVER_TYPE>sample string 8</APPROVER_TYPE>
  <BU_NAME>sample string 9</BU_NAME>
  <CREATE_DATE>2025-01-11T12:52:57.2753506+03:00</CREATE_DATE>
  <CREATE_USER>1</CREATE_USER>
  <CUR_MONTH_COMMENTS>sample string 3</CUR_MONTH_COMMENTS>
  <DEPARTMENT_NAME>sample string 11</DEPARTMENT_NAME>
  <EMP_ID>1</EMP_ID>
  <EMP_NAME>sample string 4</EMP_NAME>
  <FILE_NO>1</FILE_NO>
  <IS_FORECAST_OVERWRITTEN>true</IS_FORECAST_OVERWRITTEN>
  <JOB_TITLE>sample string 10</JOB_TITLE>
  <MAIN_APPROVER_ID>1</MAIN_APPROVER_ID>
  <MONTH_NAME>2025-01-11T12:52:57.2753506+03:00</MONTH_NAME>
  <OT_ELIGIBLE>true</OT_ELIGIBLE>
  <PAY_PERIOD_ID>1</PAY_PERIOD_ID>
  <PREV_MONTH_COMMENTS>sample string 2</PREV_MONTH_COMMENTS>
  <PREV_PAY_PERIOD>1</PREV_PAY_PERIOD>
  <RES_STATUS>sample string 5</RES_STATUS>
  <STATUS_ID>1</STATUS_ID>
  <STATUS_NAME>sample string 6</STATUS_NAME>
  <TIME_CARD_DATE>2025-01-11T12:52:57.2753506+03:00</TIME_CARD_DATE>
  <TIME_CARD_ID>1</TIME_CARD_ID>
  <TIME_CARD_MONTH>1</TIME_CARD_MONTH>
  <TIME_CARD_YEAR>1</TIME_CARD_YEAR>
  <UPDATE_DATE>2025-01-11T12:52:57.2753506+03:00</UPDATE_DATE>
  <UPDATE_USER>1</UPDATE_USER>
  <WORK_FLOW_ID>1</WORK_FLOW_ID>
</TimeCard>

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