|
|
## signUp
|
|
|
|
|
|
#### Type
|
|
|
|
|
|
POST
|
|
|
|
|
|
#### Description
|
|
|
|
|
|
註冊 SSO
|
|
|
|
|
|
#### Parameter
|
|
|
|
|
|
| Parameter | Description | Example | Parameter Type | Data Type |
|
|
|
| ------------ |---------------| -------| ------| --- |
|
|
|
| userName | 使用者名稱,通常使用 email | yuying.lo@advantech.com.tw | formData | string |
|
|
|
| firstName | First Name | yuying | formData | string |
|
|
|
| lastName | Last Name | lo | formData | string |
|
|
|
| mobilePhone | 手機號碼,Need to follow E.164 Phone Number Formatting | 18066592437 | formData | string |
|
|
|
|
|
|
#### Response Body
|
|
|
|
|
|
##### Success response
|
|
|
```javascript
|
|
|
{
|
|
|
"username": "yuying.lo@advantech.com.tw",
|
|
|
"status": "processing_creating"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
##### Error response
|
|
|
```javascript
|
|
|
{
|
|
|
"message": "Telephone number do not conform to specifications"
|
|
|
}
|
|
|
|
|
|
```
|
|
|
|
|
|
|
|
|
##### Field
|
|
|
| Field | Description | Example | Data Type |
|
|
|
| ------------ |---------------| -------| --- |
|
|
|
| username | 使用者名稱 | yuying.lo@advantech.com.tw | string |
|
|
|
| status | 狀態 | processing_creating | string |
|
|
|
| message | 將訊息顯示於彈跳視窗 | Telephone number do not conform to specifications | string | |