Request Token Auth
- Request Instruction
HTTPS Method POST URL http://subdomain.supersuite.my/api/token-auth/ Content Type application/json Response Type JSON Parameter Description public_key: string is required.
private_key: string is required.
Request Headers {
"Content-Type":"application/json"
}
Request Body {
"public_key" : "B7ABD5DEEC6588997DE41B0FE0665",
"private_key" : "317bae9de9416cff0eef92c82b942acbce427c3acf6"}
- Response JSON Format
Successful Example {
"status" : true,
"token" : "13d03d8c0edb14632d43316ffc8b0858f70049fc9c3d1084",
"start_time" : "2020-01-14 02:43:00",
"end_time" : "2020-01-14 03:13:00"
}
Fail Example {
"status" : false,
"error" : "Account Book does not existing."
}