POST api/WorkingHours

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:
{
  "WH_ID": 1,
  "LOCATION_ID": 1,
  "DAY_NO": 1,
  "WH_DAY": true,
  "MIN_HR_PER_DAY": 1.0,
  "ALLOW_ADD_OT": 1.0,
  "RES_STATUS": "sample string 1",
  "CREATE_DATE": "2025-01-11T12:46:23.3114517+03:00",
  "CREATE_USER": 1,
  "UPDATE_DATE": "2025-01-11T12:46:23.3114517+03:00",
  "UPDATE_USER": 1,
  "LOCATION_NAME": "sample string 2",
  "DAY_NAME": "sample string 3"
}

application/xml, text/xml

Sample:
<WorkingHours xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.Resource">
  <ALLOW_ADD_OT>1</ALLOW_ADD_OT>
  <CREATE_DATE>2025-01-11T12:46:23.3114517+03:00</CREATE_DATE>
  <CREATE_USER>1</CREATE_USER>
  <DAY_NAME>sample string 3</DAY_NAME>
  <DAY_NO>1</DAY_NO>
  <LOCATION_ID>1</LOCATION_ID>
  <LOCATION_NAME>sample string 2</LOCATION_NAME>
  <MIN_HR_PER_DAY>1</MIN_HR_PER_DAY>
  <RES_STATUS>sample string 1</RES_STATUS>
  <UPDATE_DATE>2025-01-11T12:46:23.3114517+03:00</UPDATE_DATE>
  <UPDATE_USER>1</UPDATE_USER>
  <WH_DAY>true</WH_DAY>
  <WH_ID>1</WH_ID>
</WorkingHours>

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