POST radios/saveOpenClose

Request Information

URI Parameters

None.

Body Parameters

OpenClose
NameDescriptionTypeAdditional information
OpenCloseId

integer

None.

DayType

string

None.

OpenStart

string

None.

OpenEnd

string

None.

CloseStart

string

None.

CloseEnd

string

None.

DateStart

date

None.

DateEnd

date

None.

CustId

integer

None.

IsSubGroup

boolean

None.

SubGroupId

integer

None.

ParentOpenCloseId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "OpenCloseId": 1,
  "DayType": "sample string 2",
  "OpenStart": "sample string 3",
  "OpenEnd": "sample string 4",
  "CloseStart": "sample string 5",
  "CloseEnd": "sample string 6",
  "DateStart": "2026-04-17T11:34:58.3862803+00:00",
  "DateEnd": "2026-04-17T11:34:58.3862803+00:00",
  "CustId": 7,
  "IsSubGroup": true,
  "SubGroupId": 1,
  "ParentOpenCloseId": 1
}

text/html

Sample:
{"OpenCloseId":1,"DayType":"sample string 2","OpenStart":"sample string 3","OpenEnd":"sample string 4","CloseStart":"sample string 5","CloseEnd":"sample string 6","DateStart":"2026-04-17T11:34:58.3862803+00:00","DateEnd":"2026-04-17T11:34:58.3862803+00:00","CustId":7,"IsSubGroup":true,"SubGroupId":1,"ParentOpenCloseId":1}

application/xml, text/xml

Sample:
<OpenClose xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Radios">
  <CloseEnd>sample string 6</CloseEnd>
  <CloseStart>sample string 5</CloseStart>
  <CustId>7</CustId>
  <DateEnd>2026-04-17T11:34:58.3862803+00:00</DateEnd>
  <DateStart>2026-04-17T11:34:58.3862803+00:00</DateStart>
  <DayType>sample string 2</DayType>
  <IsSubGroup>true</IsSubGroup>
  <OpenCloseId>1</OpenCloseId>
  <OpenEnd>sample string 4</OpenEnd>
  <OpenStart>sample string 3</OpenStart>
  <ParentOpenCloseId>1</ParentOpenCloseId>
  <SubGroupId>1</SubGroupId>
</OpenClose>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.