POST api/admin/facilityschedule/save

Request Information

URI Parameters

None.

Body Parameters

ScheduleSaveRequest
NameDescriptionTypeAdditional information
FacilityRef

integer

None.

InputUN

string

None.

Rows

Collection of FacilitySchedule

None.

Request Formats

application/json, text/json

Sample:
{
  "FacilityRef": 1,
  "InputUN": "sample string 2",
  "Rows": [
    {
      "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:27.4365165+07:00",
      "InputUN": "sample string 7"
    },
    {
      "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:27.4365165+07:00",
      "InputUN": "sample string 7"
    }
  ]
}

application/xml, text/xml

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

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.