POST siteSchedule/saveBaseSiteSchedule

Request Information

URI Parameters

None.

Body Parameters

ScheduleResponse
NameDescriptionTypeAdditional information
CustId

integer

None.

HasOCSchedule

boolean

None.

AlarmOutOfScheduleOpening

integer

None.

AlarmInScheduleOpening

integer

None.

AlarmInScheduleFirstOpening

integer

None.

CheckForFC

boolean

None.

CheckForFO

boolean

None.

TOSource

string

None.

TenantId

integer

None.

WasSuccessful

boolean

None.

Message

string

None.

RefId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "CustId": 1,
  "HasOCSchedule": true,
  "AlarmOutOfScheduleOpening": 1,
  "AlarmInScheduleOpening": 1,
  "AlarmInScheduleFirstOpening": 1,
  "CheckForFC": true,
  "CheckForFO": true,
  "TOSource": "sample string 5",
  "TenantId": 6,
  "WasSuccessful": true,
  "Message": "sample string 8",
  "RefId": 9
}

text/html

Sample:
{"CustId":1,"HasOCSchedule":true,"AlarmOutOfScheduleOpening":1,"AlarmInScheduleOpening":1,"AlarmInScheduleFirstOpening":1,"CheckForFC":true,"CheckForFO":true,"TOSource":"sample string 5","TenantId":6,"WasSuccessful":true,"Message":"sample string 8","RefId":9}

application/xml, text/xml

Sample:
<ScheduleResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Clients">
  <Message xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">sample string 8</Message>
  <RefId xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">9</RefId>
  <WasSuccessful xmlns="http://schemas.datacontract.org/2004/07/ListenerOnline.BusinessEntities.Common">true</WasSuccessful>
  <AlarmInScheduleFirstOpening>1</AlarmInScheduleFirstOpening>
  <AlarmInScheduleOpening>1</AlarmInScheduleOpening>
  <AlarmOutOfScheduleOpening>1</AlarmOutOfScheduleOpening>
  <CheckForFC>true</CheckForFC>
  <CheckForFO>true</CheckForFO>
  <CustId>1</CustId>
  <HasOCSchedule>true</HasOCSchedule>
  <TOSource>sample string 5</TOSource>
  <TenantId>6</TenantId>
</ScheduleResponse>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.