Skip to main content

Random subtract requirement links

This Request will lower your requirement links randomly between [FROM] and [TO].

Request​

GET https://api.emlalock.com/subrequirementrandom?userid=[USERID]&apikey=[APIKEY]&from=[FROM]&to=[TO]

Request Parameter​

FieldTypeDescription
[USERID]StringYour UserID
[APIKEY]StringYour API-Key
[HOLDERAPIKEY]StringThe holder API-Key
[FROM]IntegerLink value
[TO]IntegerLink value

Response​

Success (Status: 200)​

Response​

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
{
"user": { ... },
"chastitysession": { ... }
}

Description​

FieldTypeDescription
userObjectThe user object
chastitysessionObjectThe session object

Error (Status: 4xx)​

Response​

HTTP/1.1 400 Bad Request
{
"error": "MissingRequiredData",
"values": [
"userid"
]
}

Description​

ErrorDescription
MissingRequiredDataRequired parameters are not set. See response for missing values.
UserNotFoundThe user was not found.
WrongAPIKeyThe apikey was not correct.
NoActiveSessionThe user has no active session.
SessionHasNoHolderThe session has no holder.
HolderNotFoundThe user data of the holder could not be found.
HolderNotFoundThe apikey of the holder was not correct.
InvalidTimeValueThe value of [FROM] or [TO] is invalid.