Endpoint: /thlmobile
Used for fetching Member Records for THL Mobile.
getMember
Request: POST
POST https://api.formsimplicity.com/thlmobile/getMember
Request Body
{
  "userName": {userName},
  "email"   : {email}
}
                
Response: SUCCESS
Response Body
[
    {
      "clientId"    : "{clientId}",
      "firstName"   : "{firstName}",
      "lastName"    : "{lastName}",
      "userName"    : "{userName}",
      "email"       : "{email}",
      "phone"       : "{phone}",
      "locationId"  : "{locationId}",
      "locationName": "{locationName}",
      "thlHours"    : "{thlHours}"
    }
 ]
                
Response: ERROR
Error Code Error Type
401 Unauthorized Access Denied
400 Bad Request Missing Required Parameter
See Exception Documentation for more details
userRegistration
Request: POST
POST https://api.formsimplicity.com/thlmobile/userRegistration
Request Body
{
  "userName": {userName}, // Optional if "email" provided.
  "email": {email}, //optional if "userName" provided.
  "url": "{mobile_url}" ,
  "passcodeReturn" : "{true/false}" //Optional. Defaulted to false
}
                
Response: SUCCESS
Response Body

//If passcodeReturn = false
{
  "status": {status},
  "title": {title},
  "detail": {detail}
}

//If passcodeReturn = true
{
  "status": {status},
  "passcode": {passcode}
}
                
Response: ERROR
Error Code Error Type
401 Unauthorized Access Denied
400 Bad Request Missing Required Parameter | No records found | Multiple records found
See Exception Documentation for more detail
verifyToken
Request: POST
POST https://api.formsimplicity.com/thlmobile/verifyToken
Request Body
{
  "token": {token}
}
                
Response: SUCCESS
Response Body
{
  "status": {status},
  "member": {
    "stateId": {stateId},
    "userId": {userId},
    "firstName": {firstName},
    "lastName": {lastName},
    "userName": {userName},
    "email": {email},
    "phone": {phone},
    "locationId": {locationId},
    "locationName": {locationName},
    "thlHours": {thlHours},
    "holidays": {holidays}
  }
}
                
Response: ERROR
Error Code Error Type
401 Unauthorized Access Denied
400 Bad Request Missing Required Parameter | Unknown error happened
See Exception Documentation for more details
shareApp
Request: POST
POST https://api.formsimplicity.com/thlmobile/shareApp
Request Body
{
  "userName": {userName},
  "rName": {rName},
  "rEmail": {rEmail}
}
                
Response: SUCCESS
Response Body
{
  "status": {status},
  "title": {title},
  "detail": {detail}
}
                
Response: ERROR
Error Code Error Type
401 Unauthorized Access Denied
400 Bad Request Missing Required Parameter | Unknown error happened
See Exception Documentation for more details
createTicket
Request: POST
POST https://api.formsimplicity.com/thlmobile/createTicket
Request Body
{
  "userName": {userName},
  "title": {title},
  "description": {description},
}
                
Response: SUCCESS
Response Body
{
  "status": {status},
  "title": {title},
  "detail": {detail}
}
                
Response: ERROR
Error Code Error Type
401 Unauthorized Access Denied
400 Bad Request Missing Required Parameter | Case submission error! | Unknown error happened
See Exception Documentation for more details
registrationTicket
Request: POST
POST https://api.formsimplicity.com/thlmobile/registrationTicket
Request Body
{
  "userName": {userName},
  "name": {name},
  "email": {email},
  "phone": {phone},
  "description": {description}
}
                
Response: SUCCESS
Response Body
{
  "status": {status},
  "title": {title},
  "detail": {detail}
}
                
Response: ERROR
Error Code Error Type
401 Unauthorized Access Denied
400 Bad Request Missing Required Parameter | Case submission error!
See Exception Documentation for more details