...
...
General Information
...
Service | API | Method | Data Models | Workflow |
---|---|---|---|---|
urac | /checkUsername | GET | Users |
Description
This API checks if a username or email is available or taken (used).
Input
...
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
username | Query | YES | String | N/A | Username |
Output
...
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
Valid Response
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ result: true, data: true } |
Invalid Response
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "result":false, "errors":{ "codes":[602], "details":[ { "code":602, "message":"Model error: + %model_error%" } ] } } |
Code | Description |
---|---|
400 | Business logic required data are missing |
602 | Model error: + %model_error% |