POST api/facilityschedule

Request Information

URI Parameters

None.

Body Parameters

FacilitySchedule
NameDescriptionTypeAdditional information
FacilityScheduleRef

integer

None.

FacilityRef

integer

None.

DayOfWeek

integer

None.

StartTime

time interval

None.

EndTime

time interval

None.

Price

decimal number

None.

IsActive

boolean

None.

InputTime

date

None.

InputUN

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FacilityScheduleRef": 1,
  "FacilityRef": 2,
  "DayOfWeek": 3,
  "StartTime": "00:00:00.1234567",
  "EndTime": "00:00:00.1234567",
  "Price": 4.0,
  "IsActive": true,
  "InputTime": "2026-10-27T23:30:22.01345+07:00",
  "InputUN": "sample string 7"
}

application/xml, text/xml

Sample:
<FacilitySchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ERP360_BF_BACKEND.Models">
  <DayOfWeek>3</DayOfWeek>
  <EndTime>PT0.1234567S</EndTime>
  <FacilityRef>2</FacilityRef>
  <FacilityScheduleRef>1</FacilityScheduleRef>
  <InputTime>2026-10-27T23:30:22.01345+07:00</InputTime>
  <InputUN>sample string 7</InputUN>
  <IsActive>true</IsActive>
  <Price>4</Price>
  <StartTime>PT0.1234567S</StartTime>
</FacilitySchedule>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.