POST - /join
General Information
Service | API | Method | Data Models | Workflow |
---|---|---|---|---|
urac | /join | POST | Users | N/A |
Description
This API allows guest to join (create an account).
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
Valid Response
Invalid Response
Code | Description |
---|---|
400 | Business logic required data are missing |
524 | Cannot join with a sub tenant key |
602 | Model error: + %model_error% |