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