POST | /login/next_step |
---|
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
PhoneNumber | body | string | Yes |
Name | Parameter | Data Type | Required | Description |
---|---|---|---|---|
NextStep | form | LoginNextStep | No | |
HasMobilePhone | form | bool | No | |
HasConfirmedMobilePhone | form | bool | No | |
HasVippsAccount | form | bool | No | |
HasPassword | form | bool | No | |
HasEmail | form | bool | No | |
HasConfirmedEmail | form | bool | No |
FixInvalidPhoneNumber | |
Signup | |
Login |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
POST /login/next_step HTTP/1.1
Host: consumer-api.brovs.com
Accept: application/json
Content-Type: application/json
Content-Length: length
{"phoneNumber":"String"}
HTTP/1.1 200 OK Content-Type: application/json Content-Length: length {"nextStep":"FixInvalidPhoneNumber","hasMobilePhone":false,"hasConfirmedMobilePhone":false,"hasVippsAccount":false,"hasPassword":false,"hasEmail":false,"hasConfirmedEmail":false}