POST api/Online/newRowHolidayHours

Request Information

URI Parameters

None.

Body Parameters

Online_HolidayOpeningHours
NameDescriptionTypeAdditional information
ID

integer

None.

MerchantId

integer

None.

HolidayName

string

None.

StartDate

date

None.

EndDate

date

None.

StartTime

string

None.

EndTime

string

None.

SourceType

integer

None.

Closed

integer

None.

Status

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "MerchantId": 1,
  "HolidayName": "sample string 2",
  "StartDate": "2024-11-21T06:29:08.31679+00:00",
  "EndDate": "2024-11-21T06:29:08.31679+00:00",
  "StartTime": "sample string 3",
  "EndTime": "sample string 4",
  "SourceType": 1,
  "Closed": 1,
  "Status": 1
}

application/xml, text/xml

Sample:
<Online_HolidayOpeningHours xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LP.WebAPI.Models">
  <Closed>1</Closed>
  <EndDate>2024-11-21T06:29:08.31679+00:00</EndDate>
  <EndTime>sample string 4</EndTime>
  <HolidayName>sample string 2</HolidayName>
  <ID>1</ID>
  <MerchantId>1</MerchantId>
  <SourceType>1</SourceType>
  <StartDate>2024-11-21T06:29:08.31679+00:00</StartDate>
  <StartTime>sample string 3</StartTime>
  <Status>1</Status>
</Online_HolidayOpeningHours>

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.