| POST | /Entity-Contacts/Login |
|---|
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
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class EntityContactsLogin:
pass
@dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE)
@dataclass
class EntityLoginViewModel:
entity_contact_id: Optional[int] = None
entity_contact_guid: Optional[str] = None
email_address: Optional[str] = None
token: Optional[str] = None
dark_mode: bool = False
success: bool = False
email_address_verified_error: bool = False
Python EntityContactsLogin DTOs
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 /Entity-Contacts/Login HTTP/1.1
Host: internal.thebunkerbridge.com
Accept: text/csv
Content-Type: text/csv
Content-Length: length
{}
HTTP/1.1 200 OK
Content-Type: text/csv
Content-Length: length
{"EntityContactId":0,"EntityContactGuid":"00000000000000000000000000000000","EmailAddress":"String","Token":"String","DarkMode":false,"Success":false,"EmailAddressVerifiedError":false}