POST api/ServerConfig/SaveServerConfig

Request Information

URI Parameters

None.

Body Parameters

ServerConfig
NameDescriptionTypeAdditional information
RedisServerIP

string

None.

RedisServerPort

string

None.

RedisServerPassword

string

None.

MediaServerIP

string

None.

MediaServerPort

string

None.

MaxLengthOfUserID

byte

None.

SecurityLogEnabled

boolean

None.

PuserUser

string

None.

PuserPwd

string

None.

AuthorizedUser

string

None.

AuthorizedPassword

string

None.

PuserFrameRate

integer

None.

PuserMaxKeyInterval

integer

None.

PushAlert

boolean

None.

MaxCameraFrameRate

integer

None.

CameraEncodeQuality

integer

None.

MaxInterval4CameraKeyFrame

integer

None.

MaxDesktopFrameRate

integer

None.

DesktopEncodeQuality

integer

None.

DeskTopZoomRatio

integer

None.

MaxInterval4DesktopKeyFrame

integer

None.

CameraWidth

integer

None.

CameraHeight

integer

None.

WebHost

string

None.

APIHost

string

None.

Document

string

None.

Examination

string

None.

MyTest

string

None.

Wage_apply

string

None.

Wage_attornrecord

string

None.

Wage_sanction

string

None.

Attendance_wage

string

None.

Wage_apply_Add

string

None.

PuserUrlBase

string

None.

Request Formats

application/json, text/json

Sample:
{
  "RedisServerIP": "sample string 1",
  "RedisServerPort": "sample string 2",
  "RedisServerPassword": "sample string 3",
  "MediaServerIP": "sample string 4",
  "MediaServerPort": "sample string 5",
  "MaxLengthOfUserID": 64,
  "SecurityLogEnabled": true,
  "PuserUser": "sample string 8",
  "PuserPwd": "sample string 9",
  "AuthorizedUser": "sample string 10",
  "AuthorizedPassword": "sample string 11",
  "PuserFrameRate": 12,
  "PuserMaxKeyInterval": 13,
  "PushAlert": true,
  "MaxCameraFrameRate": 15,
  "CameraEncodeQuality": 16,
  "MaxInterval4CameraKeyFrame": 17,
  "MaxDesktopFrameRate": 18,
  "DesktopEncodeQuality": 19,
  "DeskTopZoomRatio": 20,
  "MaxInterval4DesktopKeyFrame": 21,
  "CameraWidth": 22,
  "CameraHeight": 23,
  "WebHost": "sample string 24",
  "APIHost": "sample string 25",
  "Document": "sample string 26",
  "Examination": "sample string 27",
  "MyTest": "sample string 28",
  "Wage_apply": "sample string 29",
  "Wage_attornrecord": "sample string 30",
  "Wage_sanction": "sample string 31",
  "Attendance_wage": "sample string 32",
  "Wage_apply_Add": "sample string 33",
  "PuserUrlBase": "sample string 34"
}

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

Response Information

Resource Description

ApiResultOfBoolean
NameDescriptionTypeAdditional information
Sucess

boolean

None.

Message

string

None.

Data

boolean

None.

DueTime

decimal number

None.

Response Formats

application/json, text/json

Sample:
{
  "Sucess": true,
  "Message": "sample string 2",
  "Data": true,
  "DueTime": 4.1
}