General Information
...
Service | API | Method | Data Models | Workflow |
---|---|---|---|---|
urac | /join | POST | Users | N/A |
Description
...
Input
...
Type: application/json
Name | Source | Mandatory | Type | Special Format | Description |
---|---|---|---|---|---|
username | Body | YES | String |
| Username |
password | Body | YES | String | N/A | Password |
Body | YES | String | Email format | ||
firstName | Body | YES | String | N/A | First Name |
lastName | Body | YES | String | N/A | Last Name |
profile | Body | NO | Object | N/A | additional information |
membership | Body | No | String | from the membership object configuration (example: basic) | checkout point #2 @ 04 Configuration Steps and requirements |
ln | Body | No | String | language "en", "fr" | |
phone | Body | No | String | Phone number |
Output
...
Response
SOAJS has a unified response. Check out this link to understand more the schema of SOAJS response
...
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
result: true,
data:
{
id: '%new_user_ID%',
token: %token%,
link:
{ join:
'http://dashboard.soajs.org/#/join?token=%token%'
}
}
} |
Invalid Response
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "result":false, "errors":{ "codes":[602], "details":[ { "code":602, "message":"Model error: + %model_error%" } ] } } |
...