PUT api/OvertimeRequest/{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:
{
  "objOTReq": {
    "OT_REQ_ID": 1,
    "OT_REQ_CODE": "sample string 1",
    "OT_REQ_DATE": "2025-01-11T12:52:14.1011639+03:00",
    "PROJ_TYPE_ID": 1,
    "PROJ_ID": 1,
    "OT_YEAR": 1,
    "OT_MONTH": 1,
    "REASON": "sample string 2",
    "CREATE_DATE": "2025-01-11T12:52:14.1011639+03:00",
    "CREATE_USER": 1,
    "UPDATE_DATE": "2025-01-11T12:52:14.1011639+03:00",
    "UPDATE_USER": 1,
    "STATUS_NAME": "sample string 3",
    "RES_STATUS": "sample string 4",
    "PROJ_NAME": "sample string 5",
    "PROJ_TYPE_NAME": "sample string 6",
    "PROJ_MANAGER": "sample string 7",
    "APPROVER_ID": 1,
    "APPROVER_COMMENTS": "sample string 8",
    "APPROVER_STATUS_ID": 1,
    "WORK_FLOW_ID": 1,
    "APPROVER_TYPE": "sample string 9",
    "APPROVER_IS_SUPER_POWER": true,
    "PROJ_CODE": "sample string 10",
    "APPROVED_DATE": "2025-01-11T12:52:14.1011639+03:00",
    "FILE_NO": 1,
    "FIRST_NAME": "sample string 11",
    "LAST_NAME": "sample string 12"
  },
  "objOTEmp": [
    {
      "SL_ID": 1,
      "OT_REQ_ID": 1,
      "EMP_ID": 1,
      "C1": 1.0,
      "C1_IS_APPROVED": true,
      "C2": 1.0,
      "C2_IS_APPROVED": true,
      "C3": 1.0,
      "C3_IS_APPROVED": true,
      "C4": 1.0,
      "C4_IS_APPROVED": true,
      "C5": 1.0,
      "C5_IS_APPROVED": true,
      "C6": 1.0,
      "C6_IS_APPROVED": true,
      "C7": 1.0,
      "C7_IS_APPROVED": true,
      "C8": 1.0,
      "C8_IS_APPROVED": true,
      "C9": 1.0,
      "C9_IS_APPROVED": true,
      "C10": 1.0,
      "C10_IS_APPROVED": true,
      "C11": 1.0,
      "C11_IS_APPROVED": true,
      "C12": 1.0,
      "C12_IS_APPROVED": true,
      "C13": 1.0,
      "C13_IS_APPROVED": true,
      "C14": 1.0,
      "C14_IS_APPROVED": true,
      "C15": 1.0,
      "C15_IS_APPROVED": true,
      "C16": 1.0,
      "C16_IS_APPROVED": true,
      "C17": 1.0,
      "C17_IS_APPROVED": true,
      "C18": 1.0,
      "C18_IS_APPROVED": true,
      "C19": 1.0,
      "C19_IS_APPROVED": true,
      "C20": 1.0,
      "C20_IS_APPROVED": true,
      "C21": 1.0,
      "C21_IS_APPROVED": true,
      "C22": 1.0,
      "C22_IS_APPROVED": true,
      "C23": 1.0,
      "C23_IS_APPROVED": true,
      "C24": 1.0,
      "C24_IS_APPROVED": true,
      "C25": 1.0,
      "C25_IS_APPROVED": true,
      "C26": 1.0,
      "C26_IS_APPROVED": true,
      "C27": 1.0,
      "C27_IS_APPROVED": true,
      "C28": 1.0,
      "C28_IS_APPROVED": true,
      "C29": 1.0,
      "C29_IS_APPROVED": true,
      "C30": 1.0,
      "C30_IS_APPROVED": true,
      "C31": 1.0,
      "C31_IS_APPROVED": true,
      "FILE_NO": 1,
      "FIRST_NAME": "sample string 1",
      "LAST_NAME": "sample string 2",
      "DESIGNATION": "sample string 3",
      "LOCATION_ID": 1,
      "PROJ_ID": 1,
      "STATUS_ID": 1,
      "TOTAL_HOURS": 1.0
    },
    {
      "SL_ID": 1,
      "OT_REQ_ID": 1,
      "EMP_ID": 1,
      "C1": 1.0,
      "C1_IS_APPROVED": true,
      "C2": 1.0,
      "C2_IS_APPROVED": true,
      "C3": 1.0,
      "C3_IS_APPROVED": true,
      "C4": 1.0,
      "C4_IS_APPROVED": true,
      "C5": 1.0,
      "C5_IS_APPROVED": true,
      "C6": 1.0,
      "C6_IS_APPROVED": true,
      "C7": 1.0,
      "C7_IS_APPROVED": true,
      "C8": 1.0,
      "C8_IS_APPROVED": true,
      "C9": 1.0,
      "C9_IS_APPROVED": true,
      "C10": 1.0,
      "C10_IS_APPROVED": true,
      "C11": 1.0,
      "C11_IS_APPROVED": true,
      "C12": 1.0,
      "C12_IS_APPROVED": true,
      "C13": 1.0,
      "C13_IS_APPROVED": true,
      "C14": 1.0,
      "C14_IS_APPROVED": true,
      "C15": 1.0,
      "C15_IS_APPROVED": true,
      "C16": 1.0,
      "C16_IS_APPROVED": true,
      "C17": 1.0,
      "C17_IS_APPROVED": true,
      "C18": 1.0,
      "C18_IS_APPROVED": true,
      "C19": 1.0,
      "C19_IS_APPROVED": true,
      "C20": 1.0,
      "C20_IS_APPROVED": true,
      "C21": 1.0,
      "C21_IS_APPROVED": true,
      "C22": 1.0,
      "C22_IS_APPROVED": true,
      "C23": 1.0,
      "C23_IS_APPROVED": true,
      "C24": 1.0,
      "C24_IS_APPROVED": true,
      "C25": 1.0,
      "C25_IS_APPROVED": true,
      "C26": 1.0,
      "C26_IS_APPROVED": true,
      "C27": 1.0,
      "C27_IS_APPROVED": true,
      "C28": 1.0,
      "C28_IS_APPROVED": true,
      "C29": 1.0,
      "C29_IS_APPROVED": true,
      "C30": 1.0,
      "C30_IS_APPROVED": true,
      "C31": 1.0,
      "C31_IS_APPROVED": true,
      "FILE_NO": 1,
      "FIRST_NAME": "sample string 1",
      "LAST_NAME": "sample string 2",
      "DESIGNATION": "sample string 3",
      "LOCATION_ID": 1,
      "PROJ_ID": 1,
      "STATUS_ID": 1,
      "TOTAL_HOURS": 1.0
    },
    {
      "SL_ID": 1,
      "OT_REQ_ID": 1,
      "EMP_ID": 1,
      "C1": 1.0,
      "C1_IS_APPROVED": true,
      "C2": 1.0,
      "C2_IS_APPROVED": true,
      "C3": 1.0,
      "C3_IS_APPROVED": true,
      "C4": 1.0,
      "C4_IS_APPROVED": true,
      "C5": 1.0,
      "C5_IS_APPROVED": true,
      "C6": 1.0,
      "C6_IS_APPROVED": true,
      "C7": 1.0,
      "C7_IS_APPROVED": true,
      "C8": 1.0,
      "C8_IS_APPROVED": true,
      "C9": 1.0,
      "C9_IS_APPROVED": true,
      "C10": 1.0,
      "C10_IS_APPROVED": true,
      "C11": 1.0,
      "C11_IS_APPROVED": true,
      "C12": 1.0,
      "C12_IS_APPROVED": true,
      "C13": 1.0,
      "C13_IS_APPROVED": true,
      "C14": 1.0,
      "C14_IS_APPROVED": true,
      "C15": 1.0,
      "C15_IS_APPROVED": true,
      "C16": 1.0,
      "C16_IS_APPROVED": true,
      "C17": 1.0,
      "C17_IS_APPROVED": true,
      "C18": 1.0,
      "C18_IS_APPROVED": true,
      "C19": 1.0,
      "C19_IS_APPROVED": true,
      "C20": 1.0,
      "C20_IS_APPROVED": true,
      "C21": 1.0,
      "C21_IS_APPROVED": true,
      "C22": 1.0,
      "C22_IS_APPROVED": true,
      "C23": 1.0,
      "C23_IS_APPROVED": true,
      "C24": 1.0,
      "C24_IS_APPROVED": true,
      "C25": 1.0,
      "C25_IS_APPROVED": true,
      "C26": 1.0,
      "C26_IS_APPROVED": true,
      "C27": 1.0,
      "C27_IS_APPROVED": true,
      "C28": 1.0,
      "C28_IS_APPROVED": true,
      "C29": 1.0,
      "C29_IS_APPROVED": true,
      "C30": 1.0,
      "C30_IS_APPROVED": true,
      "C31": 1.0,
      "C31_IS_APPROVED": true,
      "FILE_NO": 1,
      "FIRST_NAME": "sample string 1",
      "LAST_NAME": "sample string 2",
      "DESIGNATION": "sample string 3",
      "LOCATION_ID": 1,
      "PROJ_ID": 1,
      "STATUS_ID": 1,
      "TOTAL_HOURS": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<OvertimeReqSummary xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.TimeCard">
  <objOTEmp>
    <OvertimeReqEmployee>
      <C1>1</C1>
      <C10>1</C10>
      <C10_IS_APPROVED>true</C10_IS_APPROVED>
      <C11>1</C11>
      <C11_IS_APPROVED>true</C11_IS_APPROVED>
      <C12>1</C12>
      <C12_IS_APPROVED>true</C12_IS_APPROVED>
      <C13>1</C13>
      <C13_IS_APPROVED>true</C13_IS_APPROVED>
      <C14>1</C14>
      <C14_IS_APPROVED>true</C14_IS_APPROVED>
      <C15>1</C15>
      <C15_IS_APPROVED>true</C15_IS_APPROVED>
      <C16>1</C16>
      <C16_IS_APPROVED>true</C16_IS_APPROVED>
      <C17>1</C17>
      <C17_IS_APPROVED>true</C17_IS_APPROVED>
      <C18>1</C18>
      <C18_IS_APPROVED>true</C18_IS_APPROVED>
      <C19>1</C19>
      <C19_IS_APPROVED>true</C19_IS_APPROVED>
      <C1_IS_APPROVED>true</C1_IS_APPROVED>
      <C2>1</C2>
      <C20>1</C20>
      <C20_IS_APPROVED>true</C20_IS_APPROVED>
      <C21>1</C21>
      <C21_IS_APPROVED>true</C21_IS_APPROVED>
      <C22>1</C22>
      <C22_IS_APPROVED>true</C22_IS_APPROVED>
      <C23>1</C23>
      <C23_IS_APPROVED>true</C23_IS_APPROVED>
      <C24>1</C24>
      <C24_IS_APPROVED>true</C24_IS_APPROVED>
      <C25>1</C25>
      <C25_IS_APPROVED>true</C25_IS_APPROVED>
      <C26>1</C26>
      <C26_IS_APPROVED>true</C26_IS_APPROVED>
      <C27>1</C27>
      <C27_IS_APPROVED>true</C27_IS_APPROVED>
      <C28>1</C28>
      <C28_IS_APPROVED>true</C28_IS_APPROVED>
      <C29>1</C29>
      <C29_IS_APPROVED>true</C29_IS_APPROVED>
      <C2_IS_APPROVED>true</C2_IS_APPROVED>
      <C3>1</C3>
      <C30>1</C30>
      <C30_IS_APPROVED>true</C30_IS_APPROVED>
      <C31>1</C31>
      <C31_IS_APPROVED>true</C31_IS_APPROVED>
      <C3_IS_APPROVED>true</C3_IS_APPROVED>
      <C4>1</C4>
      <C4_IS_APPROVED>true</C4_IS_APPROVED>
      <C5>1</C5>
      <C5_IS_APPROVED>true</C5_IS_APPROVED>
      <C6>1</C6>
      <C6_IS_APPROVED>true</C6_IS_APPROVED>
      <C7>1</C7>
      <C7_IS_APPROVED>true</C7_IS_APPROVED>
      <C8>1</C8>
      <C8_IS_APPROVED>true</C8_IS_APPROVED>
      <C9>1</C9>
      <C9_IS_APPROVED>true</C9_IS_APPROVED>
      <DESIGNATION>sample string 3</DESIGNATION>
      <EMP_ID>1</EMP_ID>
      <FILE_NO>1</FILE_NO>
      <FIRST_NAME>sample string 1</FIRST_NAME>
      <LAST_NAME>sample string 2</LAST_NAME>
      <LOCATION_ID>1</LOCATION_ID>
      <OT_REQ_ID>1</OT_REQ_ID>
      <PROJ_ID>1</PROJ_ID>
      <SL_ID>1</SL_ID>
      <STATUS_ID>1</STATUS_ID>
      <TOTAL_HOURS>1</TOTAL_HOURS>
    </OvertimeReqEmployee>
    <OvertimeReqEmployee>
      <C1>1</C1>
      <C10>1</C10>
      <C10_IS_APPROVED>true</C10_IS_APPROVED>
      <C11>1</C11>
      <C11_IS_APPROVED>true</C11_IS_APPROVED>
      <C12>1</C12>
      <C12_IS_APPROVED>true</C12_IS_APPROVED>
      <C13>1</C13>
      <C13_IS_APPROVED>true</C13_IS_APPROVED>
      <C14>1</C14>
      <C14_IS_APPROVED>true</C14_IS_APPROVED>
      <C15>1</C15>
      <C15_IS_APPROVED>true</C15_IS_APPROVED>
      <C16>1</C16>
      <C16_IS_APPROVED>true</C16_IS_APPROVED>
      <C17>1</C17>
      <C17_IS_APPROVED>true</C17_IS_APPROVED>
      <C18>1</C18>
      <C18_IS_APPROVED>true</C18_IS_APPROVED>
      <C19>1</C19>
      <C19_IS_APPROVED>true</C19_IS_APPROVED>
      <C1_IS_APPROVED>true</C1_IS_APPROVED>
      <C2>1</C2>
      <C20>1</C20>
      <C20_IS_APPROVED>true</C20_IS_APPROVED>
      <C21>1</C21>
      <C21_IS_APPROVED>true</C21_IS_APPROVED>
      <C22>1</C22>
      <C22_IS_APPROVED>true</C22_IS_APPROVED>
      <C23>1</C23>
      <C23_IS_APPROVED>true</C23_IS_APPROVED>
      <C24>1</C24>
      <C24_IS_APPROVED>true</C24_IS_APPROVED>
      <C25>1</C25>
      <C25_IS_APPROVED>true</C25_IS_APPROVED>
      <C26>1</C26>
      <C26_IS_APPROVED>true</C26_IS_APPROVED>
      <C27>1</C27>
      <C27_IS_APPROVED>true</C27_IS_APPROVED>
      <C28>1</C28>
      <C28_IS_APPROVED>true</C28_IS_APPROVED>
      <C29>1</C29>
      <C29_IS_APPROVED>true</C29_IS_APPROVED>
      <C2_IS_APPROVED>true</C2_IS_APPROVED>
      <C3>1</C3>
      <C30>1</C30>
      <C30_IS_APPROVED>true</C30_IS_APPROVED>
      <C31>1</C31>
      <C31_IS_APPROVED>true</C31_IS_APPROVED>
      <C3_IS_APPROVED>true</C3_IS_APPROVED>
      <C4>1</C4>
      <C4_IS_APPROVED>true</C4_IS_APPROVED>
      <C5>1</C5>
      <C5_IS_APPROVED>true</C5_IS_APPROVED>
      <C6>1</C6>
      <C6_IS_APPROVED>true</C6_IS_APPROVED>
      <C7>1</C7>
      <C7_IS_APPROVED>true</C7_IS_APPROVED>
      <C8>1</C8>
      <C8_IS_APPROVED>true</C8_IS_APPROVED>
      <C9>1</C9>
      <C9_IS_APPROVED>true</C9_IS_APPROVED>
      <DESIGNATION>sample string 3</DESIGNATION>
      <EMP_ID>1</EMP_ID>
      <FILE_NO>1</FILE_NO>
      <FIRST_NAME>sample string 1</FIRST_NAME>
      <LAST_NAME>sample string 2</LAST_NAME>
      <LOCATION_ID>1</LOCATION_ID>
      <OT_REQ_ID>1</OT_REQ_ID>
      <PROJ_ID>1</PROJ_ID>
      <SL_ID>1</SL_ID>
      <STATUS_ID>1</STATUS_ID>
      <TOTAL_HOURS>1</TOTAL_HOURS>
    </OvertimeReqEmployee>
    <OvertimeReqEmployee>
      <C1>1</C1>
      <C10>1</C10>
      <C10_IS_APPROVED>true</C10_IS_APPROVED>
      <C11>1</C11>
      <C11_IS_APPROVED>true</C11_IS_APPROVED>
      <C12>1</C12>
      <C12_IS_APPROVED>true</C12_IS_APPROVED>
      <C13>1</C13>
      <C13_IS_APPROVED>true</C13_IS_APPROVED>
      <C14>1</C14>
      <C14_IS_APPROVED>true</C14_IS_APPROVED>
      <C15>1</C15>
      <C15_IS_APPROVED>true</C15_IS_APPROVED>
      <C16>1</C16>
      <C16_IS_APPROVED>true</C16_IS_APPROVED>
      <C17>1</C17>
      <C17_IS_APPROVED>true</C17_IS_APPROVED>
      <C18>1</C18>
      <C18_IS_APPROVED>true</C18_IS_APPROVED>
      <C19>1</C19>
      <C19_IS_APPROVED>true</C19_IS_APPROVED>
      <C1_IS_APPROVED>true</C1_IS_APPROVED>
      <C2>1</C2>
      <C20>1</C20>
      <C20_IS_APPROVED>true</C20_IS_APPROVED>
      <C21>1</C21>
      <C21_IS_APPROVED>true</C21_IS_APPROVED>
      <C22>1</C22>
      <C22_IS_APPROVED>true</C22_IS_APPROVED>
      <C23>1</C23>
      <C23_IS_APPROVED>true</C23_IS_APPROVED>
      <C24>1</C24>
      <C24_IS_APPROVED>true</C24_IS_APPROVED>
      <C25>1</C25>
      <C25_IS_APPROVED>true</C25_IS_APPROVED>
      <C26>1</C26>
      <C26_IS_APPROVED>true</C26_IS_APPROVED>
      <C27>1</C27>
      <C27_IS_APPROVED>true</C27_IS_APPROVED>
      <C28>1</C28>
      <C28_IS_APPROVED>true</C28_IS_APPROVED>
      <C29>1</C29>
      <C29_IS_APPROVED>true</C29_IS_APPROVED>
      <C2_IS_APPROVED>true</C2_IS_APPROVED>
      <C3>1</C3>
      <C30>1</C30>
      <C30_IS_APPROVED>true</C30_IS_APPROVED>
      <C31>1</C31>
      <C31_IS_APPROVED>true</C31_IS_APPROVED>
      <C3_IS_APPROVED>true</C3_IS_APPROVED>
      <C4>1</C4>
      <C4_IS_APPROVED>true</C4_IS_APPROVED>
      <C5>1</C5>
      <C5_IS_APPROVED>true</C5_IS_APPROVED>
      <C6>1</C6>
      <C6_IS_APPROVED>true</C6_IS_APPROVED>
      <C7>1</C7>
      <C7_IS_APPROVED>true</C7_IS_APPROVED>
      <C8>1</C8>
      <C8_IS_APPROVED>true</C8_IS_APPROVED>
      <C9>1</C9>
      <C9_IS_APPROVED>true</C9_IS_APPROVED>
      <DESIGNATION>sample string 3</DESIGNATION>
      <EMP_ID>1</EMP_ID>
      <FILE_NO>1</FILE_NO>
      <FIRST_NAME>sample string 1</FIRST_NAME>
      <LAST_NAME>sample string 2</LAST_NAME>
      <LOCATION_ID>1</LOCATION_ID>
      <OT_REQ_ID>1</OT_REQ_ID>
      <PROJ_ID>1</PROJ_ID>
      <SL_ID>1</SL_ID>
      <STATUS_ID>1</STATUS_ID>
      <TOTAL_HOURS>1</TOTAL_HOURS>
    </OvertimeReqEmployee>
  </objOTEmp>
  <objOTReq>
    <APPROVED_DATE>2025-01-11T12:52:14.1011639+03:00</APPROVED_DATE>
    <APPROVER_COMMENTS>sample string 8</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 9</APPROVER_TYPE>
    <CREATE_DATE>2025-01-11T12:52:14.1011639+03:00</CREATE_DATE>
    <CREATE_USER>1</CREATE_USER>
    <FILE_NO>1</FILE_NO>
    <FIRST_NAME>sample string 11</FIRST_NAME>
    <LAST_NAME>sample string 12</LAST_NAME>
    <OT_MONTH>1</OT_MONTH>
    <OT_REQ_CODE>sample string 1</OT_REQ_CODE>
    <OT_REQ_DATE>2025-01-11T12:52:14.1011639+03:00</OT_REQ_DATE>
    <OT_REQ_ID>1</OT_REQ_ID>
    <OT_YEAR>1</OT_YEAR>
    <PROJ_CODE>sample string 10</PROJ_CODE>
    <PROJ_ID>1</PROJ_ID>
    <PROJ_MANAGER>sample string 7</PROJ_MANAGER>
    <PROJ_NAME>sample string 5</PROJ_NAME>
    <PROJ_TYPE_ID>1</PROJ_TYPE_ID>
    <PROJ_TYPE_NAME>sample string 6</PROJ_TYPE_NAME>
    <REASON>sample string 2</REASON>
    <RES_STATUS>sample string 4</RES_STATUS>
    <STATUS_NAME>sample string 3</STATUS_NAME>
    <UPDATE_DATE>2025-01-11T12:52:14.1011639+03:00</UPDATE_DATE>
    <UPDATE_USER>1</UPDATE_USER>
    <WORK_FLOW_ID>1</WORK_FLOW_ID>
  </objOTReq>
</OvertimeReqSummary>

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