POST Settings/SetDefault

Установить настройки по умолчанию для поставщика событий и/или для пользователя/списка пользователей

Request Information

URI Parameters

None.

Body Parameters

SettingPersonalityForm
NameDescriptionTypeAdditional information
entity

EventServicePersonalEntityForm

None.

eventGeneratorId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "entity": {
    "type": 0,
    "id": "sample string 1"
  },
  "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
}