Validate User Data
POST/validateUserData
This API will validate the attribute values of an existing user.
The Authorization
must have Bearer
followed by Token
.
Mandatory params:
username
Optional params:
user properties like customproperty<1-50>
, hcp<1-5>
, ecp<1-5>
, firstname
, lastname
, statuskey
, manager
etc.
Request
- application/json
Body
ecp1 string
firstname string
hcp1 string
lastname string
username string
Responses
- 200
Validate User Data
Response Headers
Date
string
Server
string
Set-Cookie
string
X-Content-Type-Options
string
- application/json
- Schema
- Example (from schema)
- Validate User Data
Schema
errorCode string
msg string
validationResult
object
ecp1 string
firstname string
hcp1 string
lastname string
{
"errorCode": "0",
"msg": "Success",
"validationResult": {
"ecp1": "true",
"firstname": "true",
"hcp1": "true",
"lastname": "false"
}
}
{
"errorCode": "0",
"msg": "Success",
"validationResult": {
"ecp1": "true",
"firstname": "true",
"hcp1": "true",
"lastname": "false"
}
}
Loading...