Files
ArtPlayer/packages/artplayer-document/docs/en/Basic Services/1.User Registration.md
T
2021-11-24 16:08:08 +08:00

61 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
---
sidebar_position: 1
---
All other services can be used only after user
## Description
**Provider:** `Awda`
**Service url:** `/welab-sun/api/user/register`
**Dependency:** `NO`
**Request method** `POST`
## Request body
| Param | Type | Required | Description |
| ------- | ------ | -------- | ---------------------- |
| body | | Yes | |
| -mobile | String | Yes | Customer mobile number |
| -name | String | Yes | Customer name |
| -nik | String | Yes | Customer NIK |
| -email | String | Yes | Customer email |
Request Sample:
```json
{
"body":{
"email": "xxx",
"mobile": "xxx",
"name": "xxx",
"nik": "xxx"
},
"timestamp":"1488363493",
"signature":"B3C14758F4AF52AE8AA0D4CD1493B137",
"appId":"111",
"v":"1.0"
}
```
## Response (Json format)
| Param | Type | Required | Description |
| ------- | ------- | -------- | ------------ |
| code | Integer | Yes | Status code |
| message | String | Yes | Code message |
| result | Object | No | Return data |
Sample response for success request:
```json
{
"code":0,
"message":"Permintaan berhasil",
"result":null
}
```