POST api/PasswordPolicy/SavePolicy

Request Information

URI Parameters

None.

Body Parameters

PasswordPolicyConfig
NameDescriptionTypeAdditional information
Id

integer

None.

AppName

string

Required

String length: inclusive between 0 and 20

ExpiryDays

integer

None.

PasswordExpiryWarningDays

integer

None.

MinLength

integer

None.

MinUpper

integer

None.

MinLower

integer

None.

MinDigits

integer

None.

MinSpecial

integer

None.

HistoryEnabled

boolean

None.

HistoryCount

integer

None.

UpdatedBy

string

String length: inclusive between 0 and 100

UpdatedOn

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "appName": "sample string 2",
  "expiryDays": 3,
  "passwordExpiryWarningDays": 4,
  "minLength": 5,
  "minUpper": 6,
  "minLower": 7,
  "minDigits": 8,
  "minSpecial": 9,
  "historyEnabled": true,
  "historyCount": 11,
  "updatedBy": "sample string 12",
  "updatedOn": "2026-10-22T11:28:23.9061374+05:30"
}

multipart/form-data, application/octet-stream

Sample:
{"id":1,"appName":"sample string 2","expiryDays":3,"passwordExpiryWarningDays":4,"minLength":5,"minUpper":6,"minLower":7,"minDigits":8,"minSpecial":9,"historyEnabled":true,"historyCount":11,"updatedBy":"sample string 12","updatedOn":"2026-10-22T11:28:23.9061374+05:30"}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ReturnResult
NameDescriptionTypeAdditional information
Result

Object

None.

Msg

Object

None.

token

Object

None.

Data

Object

None.

PageNo

integer

None.

PageSize

integer

None.

TotalCount

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "result": {},
  "msg": {},
  "token": {},
  "data": {},
  "pageNo": 1,
  "pageSize": 1,
  "totalCount": 1
}

multipart/form-data, application/octet-stream

Sample:
{"result":{},"msg":{},"token":{},"data":{},"pageNo":1,"pageSize":1,"totalCount":1}