POST Settings/SetEventServices

Сохранить настройки видимости

Request Information

URI Parameters

None.

Body Parameters

SetEventServiceForm
NameDescriptionTypeAdditional information
settings

EventServiceSettingsBaseForm

None.

eventGeneratorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "settings": {
    "receiveEvents": 0,
    "shareEvents": 0,
    "shareEventDetails": 0,
    "shareServiceProperties": 0,
    "shareServiceDetails": 0
  },
  "eventGeneratorId": 1
}

Response Information

Resource Description

EventServiceSettingsBaseView
NameDescriptionTypeAdditional information
receiveEventsStr

string

None.

shareEventsStr

string

None.

shareEventDetailsStr

string

None.

shareServicePropertiesStr

string

None.

shareServiceDetailsStr

string

None.

isDefault

boolean

None.

receiveEvents

SettingsReceiveEvents

None.

shareEvents

SettingsShareEvents

None.

shareEventDetails

SettingsShareEventDetails

None.

shareServiceProperties

SettingsShareServiceProperties

None.

shareServiceDetails

SettingsShareServiceDetails

None.

Response Formats

application/json, text/json

Sample:
{
  "receiveEventsStr": "no",
  "shareEventsStr": "no",
  "shareEventDetailsStr": "no",
  "shareServicePropertiesStr": "no",
  "shareServiceDetailsStr": "no",
  "isDefault": true,
  "receiveEvents": 0,
  "shareEvents": 0,
  "shareEventDetails": 0,
  "shareServiceProperties": 0,
  "shareServiceDetails": 0
}