Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

General Information


ServiceAPIMethod
urac/checkUsernameGET


Data Model: Users

Workflow: Check Username Flow

Input


NameSourceMandatoryTypeSpecial FormatDescription
usernameQueryYESStringN/A


Output


Valid Response

Valid Response Sample
{
	"result": true,
	"data": true //true or false
}


Invalid Response

Error Response Sample
{
    "result":false,
    "errors":{
        "codes":[600],
        "details":[
            {
                "code":600,
                "message":"Database connection error"
            }
        ]
    }
}



Error Codes


Code
Description
400

Database connection error


Example (CURL)


Request

Calling YOUR API
 > CURL -X GET http://127.0.0.1:4000/urac/checkUsername?username=john

Response

YOUR API response
{
	"result": true,
	"data" : true
}
  • No labels