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 .xml suffix or ?format=xml

HTTP + XML

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: application/xml
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<CheckAccountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BackofficeApi.Dto">
  <Status>MUST_CONFIRM_EMAIL</Status>
</CheckAccountResponse>