POST api/Settings/SaveSettings?Language={Language}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
Language

string

Required

Body Parameters

Setting
NameDescriptionTypeAdditional information
ID

integer

None.

SavaUsernameAndPassword

boolean

None.

Image

string

None.

ShowImage

boolean

None.

NotificationClassReminder

boolean

None.

NotificationClassStart

boolean

None.

NotificationAbsenceAlert

boolean

None.

Language

string

None.

UserID

integer

None.

MACAddress

string

None.

DeviceToken

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "SavaUsernameAndPassword": true,
  "Image": "sample string 2",
  "ShowImage": true,
  "NotificationClassReminder": true,
  "NotificationClassStart": true,
  "NotificationAbsenceAlert": true,
  "Language": "sample string 3",
  "UserID": 1,
  "MACAddress": "sample string 4",
  "DeviceToken": "sample string 5"
}

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

Response Information

Resource Description

Response
NameDescriptionTypeAdditional information
Status

integer

None.

Message

string

None.

Data

Object

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "Message": "sample string 2",
  "Data": {}
}