BackofficeApi

<back to all web services

CheckAccountRequest

Backoffice
The following routes are available for this service:
GET/login/check_account
import datetime
import decimal
from marshmallow.fields import *
from servicestack import *
from typing import *
from dataclasses import dataclass, field
from dataclasses_json import dataclass_json, LetterCase, Undefined, config
from enum import Enum, IntEnum

# module BackofficeApi


class AccountStatus(str, Enum):
    MUS_T__C_O_N_F_I_R_M__E_M_A_I_L = 'MUST_CONFIRM_EMAIL'
    CA_N__L_O_G_I_N = 'CAN_LOGIN'
    CA_N__S_I_G_N_U_P = 'CAN_SIGNUP'


Python CheckAccountRequest DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other

HTTP + OTHER

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

GET /login/check_account HTTP/1.1 
Host: backoffice-api.brovs.com 
Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length

{"status":"MUST_CONFIRM_EMAIL"}