POST api/Settings/SetApiKey

Setting the API key

Request Information

URI Parameters

None.

Body Parameters

Parameter data

ParamValue
NameDescriptionTypeAdditional information
Param

Parameter name

string

None.

Value

Parameter value

string

None.

Request Formats

application/json, text/json

Sample:
{
  "param": "sample string 1",
  "value": "sample string 2"
}

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

data

Parameter

Property Description
Param (String)
Parameter name
Value (String)
Parameter value