POST api/OverTimeSetup

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "OT_ID": 1,
  "YEARS": 2,
  "PROJECT_NAME": "sample string 3",
  "PROJECT_CODE": "sample string 4",
  "WEEK_DAYS_ALLOWED_WORKING_HOURS": 5.0,
  "REST_DAYS_ALLOWED_WORKING_HOURS": 6.0,
  "MAXIMUM_WEEK_DAYS_WORKING_HOURS": 1.0,
  "MAXIMUM_REST_DAYS_WORKING_HOURS": 1.0
}

application/xml, text/xml

Sample:
<OverTimeSetupObjects xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.TimeCard">
  <MAXIMUM_REST_DAYS_WORKING_HOURS>1</MAXIMUM_REST_DAYS_WORKING_HOURS>
  <MAXIMUM_WEEK_DAYS_WORKING_HOURS>1</MAXIMUM_WEEK_DAYS_WORKING_HOURS>
  <OT_ID>1</OT_ID>
  <PROJECT_CODE>sample string 4</PROJECT_CODE>
  <PROJECT_NAME>sample string 3</PROJECT_NAME>
  <REST_DAYS_ALLOWED_WORKING_HOURS>6</REST_DAYS_ALLOWED_WORKING_HOURS>
  <WEEK_DAYS_ALLOWED_WORKING_HOURS>5</WEEK_DAYS_ALLOWED_WORKING_HOURS>
  <YEARS>2</YEARS>
</OverTimeSetupObjects>

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