| POST | /Entity-Contacts/Login |
|---|
export class EntityContactsLogin
{
public constructor(init?: Partial<EntityContactsLogin>) { (Object as any).assign(this, init); }
}
export class EntityLoginViewModel
{
public EntityContactId?: number;
public EntityContactGuid?: string;
public EmailAddress: string;
public Token: string;
public DarkMode: boolean;
public Success: boolean;
public EmailAddressVerifiedError: boolean;
public constructor(init?: Partial<EntityLoginViewModel>) { (Object as any).assign(this, init); }
}
TypeScript EntityContactsLogin DTOs
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 /Entity-Contacts/Login HTTP/1.1
Host: internal.thebunkerbridge.com
Accept: text/jsv
Content-Type: text/jsv
Content-Length: length
{
}
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
{
EntityContactId: 0,
EntityContactGuid: 00000000000000000000000000000000,
EmailAddress: String,
Token: String,
DarkMode: False,
Success: False,
EmailAddressVerifiedError: False
}