PUT api/WorkingHours/{id}
No documentation available.
Request Information
Parameters
Name | Description | Additional 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:
{ "SL_ID": 1, "SITE_WD_MIN_HE_PER_DAY": 1.0, "SITE_WD_ALLOW_ADD_OT": 1.0, "SITE_RD_MIN_HE_PER_DAY": 1.0, "SITE_RD_ALLOW_ADD_OT": 1.0, "OFF_WD_MIN_HE_PER_DAY": 1.0, "OFF_WD_ALLOW_ADD_OT": 1.0, "OFF_RD_MIN_HE_PER_DAY": 1.0, "OFF_RD_ALLOW_ADD_OT": 1.0, "objWorkHours": [ { "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-11T13:01:43.3508303+03:00", "CREATE_USER": 1, "UPDATE_DATE": "2025-01-11T13:01:43.3508303+03:00", "UPDATE_USER": 1, "LOCATION_NAME": "sample string 2", "DAY_NAME": "sample string 3" }, { "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-11T13:01:43.3508303+03:00", "CREATE_USER": 1, "UPDATE_DATE": "2025-01-11T13:01:43.3508303+03:00", "UPDATE_USER": 1, "LOCATION_NAME": "sample string 2", "DAY_NAME": "sample string 3" }, { "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-11T13:01:43.3508303+03:00", "CREATE_USER": 1, "UPDATE_DATE": "2025-01-11T13:01:43.3508303+03:00", "UPDATE_USER": 1, "LOCATION_NAME": "sample string 2", "DAY_NAME": "sample string 3" } ] }
application/xml, text/xml
Sample:
<WorkingHoursMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.Resource"> <OFF_RD_ALLOW_ADD_OT>1</OFF_RD_ALLOW_ADD_OT> <OFF_RD_MIN_HE_PER_DAY>1</OFF_RD_MIN_HE_PER_DAY> <OFF_WD_ALLOW_ADD_OT>1</OFF_WD_ALLOW_ADD_OT> <OFF_WD_MIN_HE_PER_DAY>1</OFF_WD_MIN_HE_PER_DAY> <SITE_RD_ALLOW_ADD_OT>1</SITE_RD_ALLOW_ADD_OT> <SITE_RD_MIN_HE_PER_DAY>1</SITE_RD_MIN_HE_PER_DAY> <SITE_WD_ALLOW_ADD_OT>1</SITE_WD_ALLOW_ADD_OT> <SITE_WD_MIN_HE_PER_DAY>1</SITE_WD_MIN_HE_PER_DAY> <SL_ID>1</SL_ID> <objWorkHours> <WorkingHours> <ALLOW_ADD_OT>1</ALLOW_ADD_OT> <CREATE_DATE>2025-01-11T13:01:43.3508303+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-11T13:01:43.3508303+03:00</UPDATE_DATE> <UPDATE_USER>1</UPDATE_USER> <WH_DAY>true</WH_DAY> <WH_ID>1</WH_ID> </WorkingHours> <WorkingHours> <ALLOW_ADD_OT>1</ALLOW_ADD_OT> <CREATE_DATE>2025-01-11T13:01:43.3508303+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-11T13:01:43.3508303+03:00</UPDATE_DATE> <UPDATE_USER>1</UPDATE_USER> <WH_DAY>true</WH_DAY> <WH_ID>1</WH_ID> </WorkingHours> <WorkingHours> <ALLOW_ADD_OT>1</ALLOW_ADD_OT> <CREATE_DATE>2025-01-11T13:01:43.3508303+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-11T13:01:43.3508303+03:00</UPDATE_DATE> <UPDATE_USER>1</UPDATE_USER> <WH_DAY>true</WH_DAY> <WH_ID>1</WH_ID> </WorkingHours> </objWorkHours> </WorkingHoursMaster>
application/x-www-form-urlencoded
Sample: