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 .csv suffix or ?format=csv
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: text/csv
Content-Type: text/csv
Content-Length: length
{"phoneNumber":"String"}
HTTP/1.1 200 OK Content-Type: text/csv Content-Length: length {"nextStep":"FixInvalidPhoneNumber","hasMobilePhone":false,"hasConfirmedMobilePhone":false,"hasVippsAccount":false,"hasPassword":false,"hasEmail":false,"hasConfirmedEmail":false}