POST api/Settings/SetParam

Setting a parameter

Request Information

URI Parameters

None.

Body Parameters

Parameter

Parameter
NameDescriptionTypeAdditional information
Name

Parameter name

string

None.

Value

Parameter value

string

None.

Global

Global parameter

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "name": "sample string 1",
  "value": "sample string 2",
  "global": true
}

Response Information

Resource Description

Result containing the flag of successful operation

ObjResultOfBoolean
NameDescriptionTypeAdditional information
Data

boolean

None.

Error

Error description

string

None.

Success

Flag of successful operation

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

Parameter Information

parameter

Parameter

Property Description
Name (String)
Parameter name
Value (String)
Parameter value
Global (Boolean)
Global parameter