Request Payload Structure
{
"endpoint":13,
"method":1,
"uuid":123,
"body":{
"category":"phoneLockStatus"
}
}
Response Payload Structure
{
"endpoint": 13,
"status": 204,
"uuid": 123
}
Parameters:
Response Payload Structure
{
"endpoint": 13,
"body": {
"reason": "2"
},
"status": 423,
"uuid": 123
}
Parameters:
enum class BlockReason
{
EulaNotAccepted = 2,
BatteryCriticalLevel
};
Access to all edpoints is blocked when:
Request Payload Structure
{
"endpoint":13,
"method":1,
"uuid":123,
"body":{
"category":"phoneLockTime"
}
}
Response Payload Structure
{
"endpoint":13,
"status":200,
"uuid":123,
"body":{
"phoneLockTime":1630919524,
"timeLeftToNextAttempt":120
}
}
Parameters:
Response Payload Structure when phone is not time locked
{
"endpoint":13,
"status":422,
"uuid":123
}
Parameters:
Request Payload Structure
{
"endpoint":13,
"method":3,
"uuid":123,
"body":{
"phoneLockCode":[1, 1, 1, 1]
}
}
Response Payload Structure
{
"endpoint":13,
"status":204,
"uuid":123
}
Parameters:
It is Mudita Center responsibility to check if phone was successfully unlocked by checking phone lock status.